Commit Graph

28 Commits

Author SHA1 Message Date
RunasSudo 4cf9053681
Implement --surplus-assume-total
This replaces and extends the former --subtract-nontransferable option

#4
2023-06-11 21:47:55 +10:00
RunasSudo c140ef0a90
Fix rounding of subtransfers by parcel
Was erroneously segmenting transfers by outgoing parcel rather than incoming parcel
2023-06-11 21:01:29 +10:00
RunasSudo eaf864062d
Implement --exclusion first_prefs_then_by_value 2023-02-07 21:12:26 +11:00
RunasSudo cece60dd69
Reduce unnecessary verbosity when only 1 vacancy 2023-02-01 18:26:45 +11:00
RunasSudo 254c04b574
Update nomenclature for van der Craats (‘Wright’) STV 2022-08-23 18:37:42 +10:00
RunasSudo 395de771fa
Tidying up
Refactor STV options implementations into separate file
Fix/update documentation
2022-08-22 11:35:20 +10:00
RunasSudo 823f06a32b
Refactor calculation of totals, etc. 2022-08-21 07:20:21 +10:00
RunasSudo 876be9c55a
Write more efficient implementation for CandidateMap which does not rely on hashing 2022-08-21 05:24:54 +10:00
RunasSudo 4ad02c052c
Refactor HashMap for Candidates into dedicated struct (CandidateMap) 2022-08-21 03:57:37 +10:00
RunasSudo 422a198cf5
Use NoHashHasher for Candidate HashMaps to improve performance 2022-08-20 23:25:16 +10:00
RunasSudo 35104055d9
Avoid excess allocations during fold operations 2022-08-18 23:55:39 +10:00
RunasSudo c2621b2965
Improve messages for --constraint-mode repeat_count 2022-04-20 20:12:50 +10:00
RunasSudo 03af86733e
Initial implementation of --constraint-mode repeat_count 2022-04-20 19:42:20 +10:00
RunasSudo df9223ebe6
Implement --round-subtransfers by_parcel for NSW Local Government rules 2022-03-27 21:33:55 +11:00
RunasSudo 26d45cac50
Implement --subtract-nontransferable for NSW Local Government rules 2022-03-25 02:46:30 +11:00
RunasSudo 8af0fa1178
Complete implementation and tests for NSW Local Government STV 2022-03-23 01:55:02 +11:00
RunasSudo c5d6b8d460
Refactor implementation of --sum-surplus-transfers -> --round-subtransfers in preparation for NSW Local Gov't STV 2022-03-23 00:35:00 +11:00
RunasSudo d94549dc42
Initial implementation of NSW Local Government STV 2022-03-21 21:15:17 +11:00
RunasSudo 544d7fea5d
Update dates 2022-03-11 15:44:28 +11:00
RunasSudo 6968df5c9b
Fix incorrect crediting of votes when surplus votes transferred at values received
Many thanks to J Groves for pointing this out
2022-03-11 13:33:28 +11:00
RunasSudo ba82828046
Fix web UI crash when tie requires manual intervention in first stage 2021-10-29 20:28:50 +11:00
RunasSudo 15614a4e8f
rust-clippy linting 2021-10-28 00:30:55 +11:00
RunasSudo 93cb72c33a
Update terminology and remove "stratify (floor)" support
Cincinnati -> Inclusive Hare (previous usage was erroneous/nonstandard)
Every n-th ballot -> Cincinnati
Remove "stratify (floor)" as it is not in contemporary use
2021-09-27 19:02:30 +10:00
RunasSudo cf75943829
Fixes to edge cases in stratify (LR) sample method 2021-09-26 02:27:37 +10:00
RunasSudo a641b97d1f
More work on unit/integration tests 2021-09-14 02:27:35 +10:00
RunasSudo 59f79444e8
Show only continuing candidates in detailed transfers table 2021-09-12 00:24:48 +10:00
RunasSudo df1b2f7bdc
Implement detailed transfers in web UI 2021-09-11 21:08:36 +10:00
RunasSudo 9817d6c199
Implement --transfers-detail 2021-09-11 18:42:15 +10:00