Commit Graph

145 Commits

Author SHA1 Message Date
RunasSudo fb8d8981d7
Add test case based on PRSA ballot data 2020-12-29 22:19:15 +11:00
RunasSudo 509768c071
Separate out parcel handling logic 2020-12-29 02:43:37 +11:00
RunasSudo 044b9fb3d3
Update documentation 2020-12-28 01:20:14 +11:00
RunasSudo 467612541f
Show error message on error in JS 2020-12-28 01:14:43 +11:00
RunasSudo ec75a61406
Fix error/bug with Wright STV in Python CLI 2020-12-28 01:14:19 +11:00
RunasSudo c9ff0a16fb
Fix error/bug when excluding candidates in exclusive Gregory 2020-12-27 23:30:54 +11:00
RunasSudo 7ad142f19d
Implement prompting for ties 2020-12-27 23:28:16 +11:00
RunasSudo 4e06dfe068
Minor tweaks
Show progressive transfers during exclusive Gregory exclusion
Don't perform bulk election in the middle of an exclusion
Limit decimals displayed if using fixed numbers with < 2 dps
2020-12-27 21:50:30 +11:00
RunasSudo f6596bd8e8
Implement exclusive Gregory and PRSA 1977 rules 2020-12-27 21:25:40 +11:00
RunasSudo 8307ebf86c
Rename base WIG/UIG classes 2020-12-27 18:57:36 +11:00
RunasSudo 81dbadb8ae
Fix error/bug in unweighted inclusive Gregory implementation 2020-12-27 18:55:29 +11:00
RunasSudo d1528ee987
Implement option to disable bulk election 2020-12-27 18:28:35 +11:00
RunasSudo ae6bb3e09f
Update documentation 2020-12-24 21:33:09 +11:00
RunasSudo 100e4aef6f
Update documentation 2020-12-24 21:09:47 +11:00
RunasSudo cd3471f4c2
Files for deployment
Update documentation
Include own copy of BigRational, as including this from github.com seems to cause issues when hosted online
2020-12-24 20:23:55 +11:00
RunasSudo 43d8b7f69c
Add README.md and prepare for web release 2020-12-24 18:52:29 +11:00
RunasSudo 503fed26d1
Implement backwards tie breaking 2020-12-24 01:36:39 +11:00
RunasSudo 06ab133615
Implement random breaking of ties 2020-12-24 01:09:47 +11:00
RunasSudo e3edc80f2b
Begin implementation of tie handling 2020-12-23 22:37:48 +11:00
RunasSudo 8347a20675
Implement initial Python CLI version 2020-12-23 21:39:43 +11:00
RunasSudo 5f4d6aa7ca
Refactor/clean up (un)weighted inclusive Gregory handling 2020-12-23 20:03:15 +11:00
RunasSudo f73e2eaa53
Require Python 3.7.x for Transcrypt 3.7.16 2020-12-23 19:57:21 +11:00
RunasSudo 80e22aa63c
Formatting changes 2020-12-23 19:19:11 +11:00
RunasSudo fab58ab892
Fix rounding errors in unweighted inclusive Gregory mode 2020-10-19 01:40:27 +11:00
RunasSudo 356509a4fe
Reset candidate green background when reset in Wright STV 2020-10-19 01:39:53 +11:00
RunasSudo 77d773605a
Avoid excessive rounding for unweighted inclusive Gregory in non-integer modes 2020-10-19 00:58:06 +11:00
RunasSudo f8ee464421
Implement Wright STV 2020-10-18 21:47:59 +11:00
RunasSudo 631fa432c6
Code refactor 2020-10-18 21:24:12 +11:00
RunasSudo e0c56c5b1d
Implement un/weighted inclusive Gregory transfers 2020-10-18 20:41:48 +11:00
RunasSudo 643e23b6ec
Make proper HTML interface with presets 2020-10-18 18:58:24 +11:00
RunasSudo dcc3dcc5e7
Customisable options for STV count in backend 2020-10-18 17:54:50 +11:00
RunasSudo 4d9846d8b7
Hide loss to fraction row unless integer number mode 2020-10-18 16:50:21 +11:00
RunasSudo 2f50d1c22d
Use strict equality 2020-10-18 16:49:53 +11:00
RunasSudo 907c296337
Implement integer number method 2020-10-18 03:48:00 +11:00
RunasSudo 41251e11f6
Implement fixed-point arithmetic 2020-10-18 03:25:41 +11:00
RunasSudo 07afc233b4
Fix logic error resulting in numbers setting not being observed 2020-10-18 02:55:15 +11:00
RunasSudo 93f0100856
Show totals 2020-10-18 02:54:51 +11:00
RunasSudo e4bd80c26d
Fix logic errors - eek! 2020-10-18 00:38:07 +11:00
RunasSudo 24a0a140c7
Cosmetic improvements 2020-10-18 00:23:25 +11:00
RunasSudo 25d16eb8b8
Perform counting asynchronously in web worker 2020-10-17 23:38:42 +11:00
RunasSudo fa18641462
Cosmetic improvements 2020-10-17 23:09:29 +11:00
RunasSudo b3e03c2f7b
Add number class selection dropdown 2020-10-17 23:09:23 +11:00
RunasSudo 9092376998
Implement native numbers mode 2020-10-17 23:03:32 +11:00
RunasSudo 7d1635269a
Basic election counting logic 2020-10-17 23:03:12 +11:00
RunasSudo cca71614b1
Initial commit 2020-10-17 18:45:12 +11:00