Commit Graph

23 Commits

Author SHA1 Message Date
1e2f74e60b
Fix bug where withdrawn candidates would interfere with bulk exclusion, etc. logic 2021-01-15 16:00:22 +11:00
f534c983cd
Implement guarded fixed-point arithmetic 2021-01-14 22:31:24 +11:00
cad1e324d9
Add Meek STV test case 2021-01-14 00:47:44 +11:00
6612c35d4a
Fix bug/typo leading to incorrect --ties prompt behaviour in Python 2021-01-14 00:16:36 +11:00
5f9d18cb04
Add additional tests for other rounding types 2021-01-13 22:38:53 +11:00
db98a3c733
Also test ERS97 case in Javascript 2021-01-13 00:48:36 +11:00
ad7efe3133
Add tests for tie breakers 2021-01-12 23:54:56 +11:00
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
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
bd5910e7f6
Refactor Gregory method classes into pyRCV2.method.gregory package 2021-01-08 19:21:33 +11:00
a0709e4506
Add test case for ERS97 2021-01-04 20:46:38 +11:00
6b5c188668
Adjust PRSA 1977 implementation
Count in votes to 3 decimal places
Round transfer values correctly
2021-01-04 18:10:07 +11:00
fb33a96d37
Implement ERS97 2021-01-04 17:26:11 +11:00
61601f05cc
Make Wright method a variant of regular STV as an exclusion method 2021-01-03 19:04:14 +11:00
e219969711
Expose advanced rounding options in count software 2021-01-03 01:23:11 +11:00
a3d79e993a
Implement advanced rounding functionality in API 2021-01-03 00:29:41 +11:00
1b74e41695
Add test cases for numbers 2021-01-02 23:35:21 +11:00
15dd93cf24
Use pytest-steps to show progress in long tests 2020-12-31 17:00:23 +11:00
73fec045d5
Add unit tests for various election methods and JS engine 2020-12-31 16:50:19 +11:00
0b567e66e3
Rename parcels_by_value to by_value and update documentation 2020-12-31 16:50:19 +11:00
a40dea7a5e
Add test case based on Senate STV count 2020-12-31 01:52:04 +11:00
f0e8bac4b7
Add test case based on CSM15 ballot data 2020-12-29 22:55:21 +11:00
fb8d8981d7
Add test case based on PRSA ballot data 2020-12-29 22:19:15 +11:00