Commit Graph

29 Commits

Author SHA1 Message Date
RunasSudo 1ad1684e67
Visual improvements to HTML/JS interface 2021-05-25 01:12:47 +10:00
RunasSudo 86695aa67e
Add documentation on constraints 2021-05-23 01:43:35 +10:00
RunasSudo 9f198c5e0f
Validate constraints 2021-05-23 01:43:35 +10:00
RunasSudo 66f0734354
Implement constrained guarding/dooming of candidates 2021-05-23 01:43:24 +10:00
RunasSudo 64f698e182
Basic Otten constraints table iteration 2021-05-17 01:31:22 +10:00
RunasSudo f6cc873d05
Add test case for ERS97 BLT with Meek STV 2021-01-16 02:59:16 +11:00
RunasSudo 1e2f74e60b
Fix bug where withdrawn candidates would interfere with bulk exclusion, etc. logic 2021-01-15 16:00:22 +11:00
RunasSudo f534c983cd
Implement guarded fixed-point arithmetic 2021-01-14 22:31:24 +11:00
RunasSudo cad1e324d9
Add Meek STV test case 2021-01-14 00:47:44 +11:00
RunasSudo 6612c35d4a
Fix bug/typo leading to incorrect --ties prompt behaviour in Python 2021-01-14 00:16:36 +11:00
RunasSudo 5f9d18cb04
Add additional tests for other rounding types 2021-01-13 22:38:53 +11:00
RunasSudo db98a3c733
Also test ERS97 case in Javascript 2021-01-13 00:48:36 +11:00
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