Commit Graph

40 Commits

Author SHA1 Message Date
RunasSudo 395de771fa
Tidying up
Refactor STV options implementations into separate file
Fix/update documentation
2022-08-22 11:35:20 +10:00
RunasSudo 03af86733e
Initial implementation of --constraint-mode repeat_count 2022-04-20 19:42:20 +10:00
RunasSudo 15614a4e8f
rust-clippy linting 2021-10-28 00:30:55 +11:00
RunasSudo f120cf2eee
Make DynNum thread-safe 2021-10-19 15:31:22 +11:00
RunasSudo 75ec78b1a6
Add test cases for DynNum (single-threaded only) 2021-10-19 15:27:11 +11:00
RunasSudo 414a1482c3
Implement dynamic dispatch for different number types 2021-10-19 14:52:08 +11:00
RunasSudo 3a4e53e1f0
Implement Dáil Éireann STV 2021-09-14 23:13:45 +10:00
RunasSudo a641b97d1f
More work on unit/integration tests 2021-09-14 02:27:35 +10:00
RunasSudo f12db205b9
Make Fixed, GuardedFixed thread-safe 2021-09-13 04:33:36 +10:00
RunasSudo e1e347c255
More unit/integration tests 2021-09-13 03:43:17 +10:00
RunasSudo 056242514d
Implement TransferTable for surpluses (WIP) 2021-09-11 02:43:11 +10:00
RunasSudo 2475b42056
Calculate loss by fraction introduced by minivoters with equal rankings 2021-09-05 00:07:59 +10:00
RunasSudo f182ca02bd
Implement Cambridge STV - Cincinnati/Hare methods of surpluses 2021-08-03 18:38:45 +10:00
RunasSudo bea51611b0
Implement Australian Capital Territory STV 2021-07-22 20:31:06 +10:00
RunasSudo 0d9196a951
Refactoring 2021-06-29 16:48:02 +10:00
RunasSudo 13f1885eb5
Implement features required for 2006 Meek STV
viz. --round-{tvs,votes,weights}, --defer-surpluses, --meek-immediate-elect and --meek-surplus-tolerance
2021-06-19 02:05:27 +10:00
RunasSudo 2ea8b4b757
Add tests for Meek STV 2021-06-16 21:51:13 +10:00
RunasSudo d34057d03a
Round half away from zero when formatting Fixed/GuardedFixed 2021-06-16 21:51:12 +10:00
RunasSudo 8829fa5a7b
Update documentation 2021-06-16 21:51:12 +10:00
RunasSudo 4ebb6474fd
Implement Meek STV 2021-06-16 18:44:24 +10:00
RunasSudo f395e6f064
Implement guarded fixed-point arithmetic 2021-06-14 22:11:33 +10:00
RunasSudo 3bbef933bb
Refactor and add documentation 2021-06-14 20:43:36 +10:00
RunasSudo e059a6a3d9
Fixes to count description 2021-06-12 16:03:31 +10:00
RunasSudo 9d4cac2e89
Implement Scottish STV test case 2021-06-10 15:47:09 +10:00
RunasSudo 7ef5ae99b6
Add ERS97 test case 2021-06-09 20:09:20 +10:00
RunasSudo d50af1161e
Implement --quota-mode ers97 2021-06-07 20:52:18 +10:00
RunasSudo 30b68d4992
Fix ceil implementation in NativeFloat64 2021-06-07 20:39:49 +10:00
RunasSudo 62eac6d0a6
Always display ballot weights to at least 2 decimal places 2021-06-06 02:35:40 +10:00
RunasSudo 673149e184
Code clean up 2021-06-05 15:08:07 +10:00
RunasSudo ceba059c53
Implement --numbers fixed 2021-06-04 22:05:48 +10:00
RunasSudo 441e266b17
Implement --numbers in web client 2021-06-04 18:59:50 +10:00
RunasSudo ba8d9bf79c
Describe election count/options in web UI 2021-06-03 21:35:59 +10:00
RunasSudo 227c38a5fa
Initial quick port of HTML interface 2021-06-02 22:45:55 +10:00
RunasSudo e88d2674d6
Implement --quota, --quota-criterion 2021-06-02 18:07:05 +10:00
RunasSudo f6fba85049
Implement --round-{tvs,weights,quota}
Add test case for PRSA example election
2021-06-01 21:20:38 +10:00
RunasSudo 2428fcb4ed
Implement rational numbers in WebAssembly using num-bigint 2021-05-30 23:00:28 +10:00
RunasSudo 2793088e12
Initial WebAssembly implementation 2021-05-30 18:45:45 +10:00
RunasSudo 4f661722e4
Implement --exclusion by_value 2021-05-30 02:33:21 +10:00
RunasSudo 77cf60c21f
Allow configuring --round-votes
Fix bug with display of negative Rational's
2021-05-29 17:51:45 +10:00
RunasSudo 32234ad13b
Implement NativeFloat numbers 2021-05-29 03:01:07 +10:00