Commit Graph

78 Commits

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

#4
2023-06-11 21:47:55 +10:00
815055d6e6
Initial implementation of HTML output on CLI 2022-08-26 02:27:25 +10:00
254c04b574
Update nomenclature for van der Craats (‘Wright’) STV 2022-08-23 18:37:42 +10:00
395de771fa
Tidying up
Refactor STV options implementations into separate file
Fix/update documentation
2022-08-22 11:35:20 +10:00
9a4af322ca
Avoid more allocations in fold 2022-08-20 22:33:48 +10:00
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
f0e3b02051
Autodetect when to normalise ballots, remove explicit --normalise-ballots 2022-04-20 19:54:58 +10:00
03af86733e
Initial implementation of --constraint-mode repeat_count 2022-04-20 19:42:20 +10:00
26d45cac50
Implement --subtract-nontransferable for NSW Local Government rules 2022-03-25 02:46:30 +11:00
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
9fcb643fe5
Avoid wrapping candidate names/statuses in HTML report 2022-03-14 22:27:58 +11:00
6304e1128a
Validate well-formedness of constraints, better constraint errors 2021-10-29 23:33:27 +11:00
15614a4e8f
rust-clippy linting 2021-10-28 00:30:55 +11:00
414a1482c3
Implement dynamic dispatch for different number types 2021-10-19 14:52:08 +11:00
5a53574366
Allow opting out of building default wasm bindings 2021-10-18 18:06:42 +11:00
cf75943829
Fixes to edge cases in stratify (LR) sample method 2021-09-26 02:27:37 +10:00
a641b97d1f
More work on unit/integration tests 2021-09-14 02:27:35 +10:00
59f79444e8
Show only continuing candidates in detailed transfers table 2021-09-12 00:24:48 +10:00
df1b2f7bdc
Implement detailed transfers in web UI 2021-09-11 21:08:36 +10:00
9817d6c199
Implement --transfers-detail 2021-09-11 18:42:15 +10:00
fbdc32ba30
Implement TransferTable for exclusions (WIP) 2021-09-11 01:19:38 +10:00
99dbbcd5d5
Hide votes required for election in Meek STV 2021-09-10 02:41:40 +10:00
de19324d2c
Report vote required for election in relation to early bulk election 2021-09-10 01:32:31 +10:00
e4bfe45f49
Display up to 5 names only in web UI header, separate with line breaks 2021-09-06 02:43:33 +10:00
0a7189e54f
Complete ccc3266 2021-09-05 00:13:29 +10:00
e3ca9fac47
Refactor stv::preprocess_election 2021-09-04 22:46:29 +10:00
ccc3266d2c
Add signs to Votes display, change default to Votes (transposed) 2021-09-04 22:28:02 +10:00
b0f869bf02
Initial framework for equal rankings 2021-09-04 01:56:04 +10:00
59c1da794e
Implement transposed votes report 2021-08-22 17:53:55 +10:00
88ab06d633
Add subcommand for BLT/CSP file conversion 2021-08-20 02:29:47 +10:00
8a3361f20d
Implement papers+votes report 2021-08-17 01:14:05 +10:00
b58922c57b
WIP: no immediate election? 2021-08-07 22:34:55 +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
f3e4071886
Refactor tests specification using builder pattern 2021-08-05 01:13:54 +10:00
0800701960
Implement configurable --sample-per-ballot 2021-08-04 13:46:32 +10:00
0efc1e6eab
Complete implementation of Cambridge STV
Implement --min-threshold
Add test
2021-08-03 23:42:59 +10:00
6da51837a5
Rename --round-tvs to --round-surplus-fractions and --round-weights to --round-values 2021-08-03 16:46:21 +10:00
32e89312fa
Show stage progress during tie that occurs in the middle of a stage 2021-07-31 17:42:33 +10:00
83d0a9bb80
Better error messages 2021-07-31 15:24:23 +10:00
3801d30527
Switch to handwritten BLT parser 2021-07-29 03:24:51 +10:00
cca097f943
Use Pest-based parser for BLT files
Support comments, optional newlines, etc.
2021-07-23 16:45:54 +10:00
65b1d8e42b
Fix "Ex" display in web UI 2021-07-23 00:10:53 +10:00
85eda02d4d
Make stage number link to comment 2021-07-23 00:04:43 +10:00
2ef7bf24f2
Correctly compute vote required for election when using different quotas/quota criteria 2021-07-21 13:43:16 +10:00
b5ee76f159
Further aggressive early bulk election 2021-07-21 10:59:06 +10:00
d144ab0cb4
Implement ERS76 rules 2021-07-18 21:14:37 +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
ba3db26263
Describe use of constraints in lead-in text 2021-06-27 22:24:25 +10:00