Commit Graph

17 Commits

Author SHA1 Message Date
RunasSudo ad7efe3133
Add tests for tie breakers 2021-01-12 23:54:56 +11:00
RunasSudo 5812b252d8
Correct some bugs and add additional test cases
Fix describing election with only --ties prompt
Return JS number from SHARandom
2021-01-12 03:51:57 +11:00
RunasSudo c3c2fed444
Correct bug/logic error in ERS97
Do not double-count surpluses of elected candidates towards total active vote
2021-01-09 04:55:27 +11:00
RunasSudo bd5910e7f6
Refactor Gregory method classes into pyRCV2.method.gregory package 2021-01-08 19:21:33 +11:00
RunasSudo a0709e4506
Add test case for ERS97 2021-01-04 20:46:38 +11:00
RunasSudo 6b5c188668
Adjust PRSA 1977 implementation
Count in votes to 3 decimal places
Round transfer values correctly
2021-01-04 18:10:07 +11:00
RunasSudo fb33a96d37
Implement ERS97 2021-01-04 17:26:11 +11:00
RunasSudo 61601f05cc
Make Wright method a variant of regular STV as an exclusion method 2021-01-03 19:04:14 +11:00
RunasSudo e219969711
Expose advanced rounding options in count software 2021-01-03 01:23:11 +11:00
RunasSudo a3d79e993a
Implement advanced rounding functionality in API 2021-01-03 00:29:41 +11:00
RunasSudo 1b74e41695
Add test cases for numbers 2021-01-02 23:35:21 +11:00
RunasSudo 15dd93cf24
Use pytest-steps to show progress in long tests 2020-12-31 17:00:23 +11:00
RunasSudo 73fec045d5
Add unit tests for various election methods and JS engine 2020-12-31 16:50:19 +11:00
RunasSudo 0b567e66e3
Rename parcels_by_value to by_value and update documentation 2020-12-31 16:50:19 +11:00
RunasSudo a40dea7a5e
Add test case based on Senate STV count 2020-12-31 01:52:04 +11:00
RunasSudo f0e8bac4b7
Add test case based on CSM15 ballot data 2020-12-29 22:55:21 +11:00
RunasSudo fb8d8981d7
Add test case based on PRSA ballot data 2020-12-29 22:19:15 +11:00