Commit Graph

76 Commits

Author SHA1 Message Date
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 9a4af322ca
Avoid more allocations in fold 2022-08-20 22:33:48 +10:00
RunasSudo 8cc694e609
Cosmetic improvements
Hide transfers column in transposed report if no transfers
Report "Rollback complete" at end of stage when completed
2022-04-21 21:56:21 +10:00
RunasSudo f0e3b02051
Autodetect when to normalise ballots, remove explicit --normalise-ballots 2022-04-20 19:54:58 +10:00
RunasSudo 03af86733e
Initial implementation of --constraint-mode repeat_count 2022-04-20 19:42:20 +10:00
RunasSudo 26d45cac50
Implement --subtract-nontransferable for NSW Local Government rules 2022-03-25 02:46:30 +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 9fcb643fe5
Avoid wrapping candidate names/statuses in HTML report 2022-03-14 22:27:58 +11:00
RunasSudo 6304e1128a
Validate well-formedness of constraints, better constraint errors 2021-10-29 23:33:27 +11:00
RunasSudo 15614a4e8f
rust-clippy linting 2021-10-28 00:30:55 +11:00
RunasSudo 414a1482c3
Implement dynamic dispatch for different number types 2021-10-19 14:52:08 +11:00
RunasSudo 5a53574366
Allow opting out of building default wasm bindings 2021-10-18 18:06:42 +11: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
RunasSudo fbdc32ba30
Implement TransferTable for exclusions (WIP) 2021-09-11 01:19:38 +10:00
RunasSudo 99dbbcd5d5
Hide votes required for election in Meek STV 2021-09-10 02:41:40 +10:00
RunasSudo de19324d2c
Report vote required for election in relation to early bulk election 2021-09-10 01:32:31 +10:00
RunasSudo e4bfe45f49
Display up to 5 names only in web UI header, separate with line breaks 2021-09-06 02:43:33 +10:00
RunasSudo 0a7189e54f
Complete ccc3266 2021-09-05 00:13:29 +10:00
RunasSudo e3ca9fac47
Refactor stv::preprocess_election 2021-09-04 22:46:29 +10:00
RunasSudo ccc3266d2c
Add signs to Votes display, change default to Votes (transposed) 2021-09-04 22:28:02 +10:00
RunasSudo b0f869bf02
Initial framework for equal rankings 2021-09-04 01:56:04 +10:00
RunasSudo 59c1da794e
Implement transposed votes report 2021-08-22 17:53:55 +10:00
RunasSudo 88ab06d633
Add subcommand for BLT/CSP file conversion 2021-08-20 02:29:47 +10:00
RunasSudo 8a3361f20d
Implement papers+votes report 2021-08-17 01:14:05 +10:00
RunasSudo b58922c57b
WIP: no immediate election? 2021-08-07 22:34:55 +10:00
RunasSudo 429191dc81
With --sample-per-ballot, terminate immediately on electing the required number 2021-08-05 20:23:54 +10:00
RunasSudo 33594c110e
Implement stratified and by-order sampling 2021-08-05 18:41:39 +10:00
RunasSudo f3e4071886
Refactor tests specification using builder pattern 2021-08-05 01:13:54 +10:00
RunasSudo 0800701960
Implement configurable --sample-per-ballot 2021-08-04 13:46:32 +10:00
RunasSudo 0efc1e6eab
Complete implementation of Cambridge STV
Implement --min-threshold
Add test
2021-08-03 23:42:59 +10:00
RunasSudo 6da51837a5
Rename --round-tvs to --round-surplus-fractions and --round-weights to --round-values 2021-08-03 16:46:21 +10:00
RunasSudo 32e89312fa
Show stage progress during tie that occurs in the middle of a stage 2021-07-31 17:42:33 +10:00
RunasSudo 83d0a9bb80
Better error messages 2021-07-31 15:24:23 +10:00
RunasSudo 3801d30527
Switch to handwritten BLT parser 2021-07-29 03:24:51 +10:00
RunasSudo cca097f943
Use Pest-based parser for BLT files
Support comments, optional newlines, etc.
2021-07-23 16:45:54 +10:00
RunasSudo 65b1d8e42b
Fix "Ex" display in web UI 2021-07-23 00:10:53 +10:00
RunasSudo 85eda02d4d
Make stage number link to comment 2021-07-23 00:04:43 +10:00
RunasSudo 2ef7bf24f2
Correctly compute vote required for election when using different quotas/quota criteria 2021-07-21 13:43:16 +10:00
RunasSudo b5ee76f159
Further aggressive early bulk election 2021-07-21 10:59:06 +10:00
RunasSudo d144ab0cb4
Implement ERS76 rules 2021-07-18 21:14:37 +10:00
RunasSudo 0d9196a951
Refactoring 2021-06-29 16:48:02 +10:00
RunasSudo 34545ad179
Check for ties when electing candidates with surpluses
Refactor constraint-related code into constraints module
2021-06-28 00:56:28 +10:00
RunasSudo ba3db26263
Describe use of constraints in lead-in text 2021-06-27 22:24:25 +10:00
RunasSudo 1d4036c19e
Implement constraints in web UI 2021-06-27 22:09:34 +10:00
RunasSudo 38eef74e77
Implement constraints (guard-doom method) for CLI 2021-06-27 21:57:24 +10:00