Commit Graph

21 Commits

Author SHA1 Message Date
85b695c133
Improve performance of Scottish STV
Remove reliance on normalising ballot papers
2021-08-19 20:11:42 +10:00
b9e66fde73
Correct number of ballot papers reported to be transferred in exclusive Gregory method 2021-08-17 01:56:43 +10:00
8a3361f20d
Implement papers+votes report 2021-08-17 01:14:05 +10:00
94787e7677
Store vote values at the parcel level rather than the vote level
~50% increase in performance
2021-08-16 00:46:05 +10:00
ee1008b509
Prepare for dynamic quota: independent flag for completion of surplus transfers/exclusions 2021-08-08 21:35:03 +10:00
b58922c57b
WIP: no immediate election? 2021-08-07 22:34:55 +10:00
f706d7423b
Fix interaction between --exclusion parcels_by_order and --min-threshold when excluding candidates with 0 votes 2021-08-06 01:33:31 +10:00
429191dc81
With --sample-per-ballot, terminate immediately on electing the required number 2021-08-05 20:23:54 +10:00
33594c110e
Implement stratified and by-order sampling 2021-08-05 18:41:39 +10:00
0800701960
Implement configurable --sample-per-ballot 2021-08-04 13:46:32 +10:00
f182ca02bd
Implement Cambridge STV - Cincinnati/Hare methods of surpluses 2021-08-03 18:38:45 +10:00
6da51837a5
Rename --round-tvs to --round-surplus-fractions and --round-weights to --round-values 2021-08-03 16:46:21 +10:00
116ff39fa5
Change tiebreaking prompt according to nature of tie 2021-07-31 17:51:09 +10:00
f80875b583
Implement --exclusion by_source 2021-07-19 23:15:17 +10:00
7f16090395
Fix crash on attempting segmented exclusion of candidate with no votes 2021-07-19 18:35:23 +10:00
0d9196a951
Refactoring 2021-06-29 16:48:02 +10:00
34545ad179
Check for ties when electing candidates with surpluses
Refactor constraint-related code into constraints module
2021-06-28 00:56:28 +10:00
38eef74e77
Implement constraints (guard-doom method) for CLI 2021-06-27 21:57:24 +10:00
d46eb69f26
Implement Wright STV 2021-06-22 16:40:37 +10:00
4ebb6474fd
Implement Meek STV 2021-06-16 18:44:24 +10:00
3bbef933bb
Refactor and add documentation 2021-06-14 20:43:36 +10:00