Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix voting re-flowing #14

Merged
merged 4 commits into from
Mar 12, 2024
Merged

Fix voting re-flowing #14

merged 4 commits into from
Mar 12, 2024

Conversation

the-Bruce
Copy link
Member

Adds tests more tests, adds correct reflowing logic, (changes from Fraction to float to support that), and hopefully adds CI that runs the tests?

Add tests election data from https://github.com/jklundell/droop, and reference answers.
Change stv calculator to use floats (as it gets far too slow on the test sets when using rational maths)
 Fix calculator logic when flowing results past elected candidates
@Mole1424 Mole1424 merged commit 1f4f209 into master Mar 12, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants