Commit Graph

145 Commits

Author SHA1 Message Date
RunasSudo 339e1496a7
Fix calculation of table widths for print view 2021-05-25 01:34:26 +10:00
RunasSudo 56e32d11b3
Don't show print dialog until styles loaded 2021-05-25 01:12:54 +10:00
RunasSudo 1ad1684e67
Visual improvements to HTML/JS interface 2021-05-25 01:12:47 +10:00
RunasSudo 5c185b386c
Adjust RNG algorithm 2021-05-23 01:44:03 +10:00
RunasSudo 86695aa67e
Add documentation on constraints 2021-05-23 01:43:35 +10:00
RunasSudo 9f198c5e0f
Validate constraints 2021-05-23 01:43:35 +10:00
RunasSudo 15c6f3debe
Add constraint support to JS client 2021-05-23 01:43:35 +10:00
RunasSudo 66f0734354
Implement constrained guarding/dooming of candidates 2021-05-23 01:43:24 +10:00
RunasSudo 64f698e182
Basic Otten constraints table iteration 2021-05-17 01:31:22 +10:00
RunasSudo 7e8af03933
Show help if specifying invalid CLI subcommand 2021-05-16 18:51:32 +10:00
RunasSudo eebfbc8c41
Add link to ballot file editor 2021-03-11 22:42:18 +11:00
RunasSudo ba2fece73e
BLT editor: Fix bug where name not saved 2021-03-11 22:39:30 +11:00
RunasSudo 71de14ecfc
Display --no-bulk-elect as one stage on web version 2021-02-28 23:16:55 +11:00
RunasSudo 68abe072d8
Fix print stylesheet
Add padding to table cells
Fix padding at top of first page
2021-02-28 22:08:02 +11:00
RunasSudo 89507fb916
BLT editor: Tweak workflow
Start on candidate entry screen
Go to candidate entry screen when loading file
2021-01-26 04:11:44 +11:00
RunasSudo f15e2bd89b
BLT editor: Minor changes
Restyle textarea
Show correct ballot when returning from candidate edit screen
2021-01-25 20:51:23 +11:00
RunasSudo a2ed2a7755
Reformat requirements.txt 2021-01-25 20:41:47 +11:00
RunasSudo b6327299a2
BLT editor: Implement BLT export 2021-01-25 20:41:13 +11:00
RunasSudo b109d99054
BLT editor: Basic BLT import functionality 2021-01-25 20:25:32 +11:00
RunasSudo b6f3f56280
Basic ballot input prototype 2021-01-25 20:00:04 +11:00
RunasSudo 4205d9b262
Minor optimisations 2021-01-19 02:36:36 +11:00
RunasSudo 6f5ed93657
Add __slots__ back to BaseNum subclasses
Slightly improves performance: Senate count from 8.22 to 7.63s
2021-01-19 02:22:39 +11:00
RunasSudo 53657677a3
Optimise next_preferences algorithm to avoid re-examining earlier preferences
Senate count from 9.02 to 8.22s
2021-01-19 02:14:59 +11:00
RunasSudo ad35b63d8f
Update CSS
Also hide advanced options pane when attempting to print from main page
2021-01-18 01:54:35 +11:00
RunasSudo f6cc873d05
Add test case for ERS97 BLT with Meek STV 2021-01-16 02:59:16 +11:00
RunasSudo 7807e36c8e
Update documentation 2021-01-16 02:28:53 +11:00
RunasSudo dbb80de0cb
Use tree-packed ballots for Meek STV
Runtime on Senate data:
1m54s not tree packed
13s tree packed (!!!!!)
2021-01-16 02:21:38 +11:00
RunasSudo 37895d03ca
Fix --hide-excluded on CLI 2021-01-15 18:24:06 +11:00
RunasSudo a97b832b14
Update CLI commentary to match JS client 2021-01-15 18:22:26 +11:00
RunasSudo 80f6555e53
Hide loss to fraction in JS report if all zero 2021-01-15 16:23:10 +11:00
RunasSudo d5db9b5df6
Report method of breaking ties 2021-01-15 16:06:27 +11:00
RunasSudo 1e2f74e60b
Fix bug where withdrawn candidates would interfere with bulk exclusion, etc. logic 2021-01-15 16:00:22 +11:00
RunasSudo 1369fb3cfc
Update documentation 2021-01-15 15:24:01 +11:00
RunasSudo 1bc0aaf03c
Report --numbers gfixed in describe_options 2021-01-15 15:23:55 +11:00
RunasSudo f534c983cd
Implement guarded fixed-point arithmetic 2021-01-14 22:31:24 +11:00
RunasSudo f724ae0b93
Fix bug in --numbers fixed in Python where results would not be rounded after division 2021-01-14 02:17:16 +11:00
RunasSudo cad1e324d9
Add Meek STV test case 2021-01-14 00:47:44 +11:00
RunasSudo 6612c35d4a
Fix bug/typo leading to incorrect --ties prompt behaviour in Python 2021-01-14 00:16:36 +11:00
RunasSudo 77c5cfca75
Fix bug/handling of withdrawn candidates in Meek STV 2021-01-13 22:40:59 +11:00
RunasSudo 5f9d18cb04
Add additional tests for other rounding types 2021-01-13 22:38:53 +11:00
RunasSudo db98a3c733
Also test ERS97 case in Javascript 2021-01-13 00:48:36 +11:00
RunasSudo d23eee79bb
Refactor/DRY Gregory method implementations 2021-01-13 00:25:51 +11:00
RunasSudo ad7efe3133
Add tests for tie breakers 2021-01-12 23:54:56 +11:00
RunasSudo 5812b252d8
Correct some bugs and add additional test cases
Fix describing election with only --ties prompt
Return JS number from SHARandom
2021-01-12 03:51:57 +11:00
RunasSudo fccb36ffbd
Add test coverage reporting 2021-01-12 03:15:58 +11:00
RunasSudo 7f30871296
Display number of candidates/seats in JS report. 2021-01-11 03:01:51 +11:00
RunasSudo b6c9eb73ad
Force printing of background colours in results table 2021-01-11 00:38:20 +11:00
RunasSudo 22ebecc86d
Hide print pane in interactive page print view 2021-01-10 23:39:51 +11:00
RunasSudo 165e98fb87
Add printable reports 2021-01-10 18:42:47 +11:00
RunasSudo c78a30d5b2
Report transfer values in detailed comments 2021-01-10 02:05:02 +11:00