Martin Lackner
|
4d1133ffb4
|
github actions; black formatting
|
2022-02-16 17:10:21 +01:00 |
Martin Lackner
|
03673bf679
|
formatting, text
|
2022-02-16 15:01:59 +01:00 |
Martin Lackner
|
0a1a742b72
|
make fractions=False default
|
2022-02-16 14:57:44 +01:00 |
Martin Lackner
|
59559b40b8
|
require Python 3.7+
|
2022-02-16 14:55:47 +01:00 |
Martin Lackner
|
bf6f0805d7
|
add unittests (countries)
|
2022-02-16 14:54:11 +01:00 |
Martin Lackner
|
29e8b8081d
|
fix alldifferent example
|
2022-02-16 14:53:54 +01:00 |
Martin Lackner
|
6d21dd8470
|
use pytest, strengthen unittests
|
2022-02-16 14:39:23 +01:00 |
Martin Lackner
|
549a7f0667
|
fix largest_remainder with fractions=False
|
2022-02-16 14:38:22 +01:00 |
Martin Lackner
|
bacdfe0cfd
|
Merge pull request #7 from frigorific44/master
Speed Improvement by Using Numpy
|
2022-02-16 13:53:06 +01:00 |
Derek Enlow
|
5673cdccda
|
Fractions should now use native Python integers
|
2022-02-14 22:34:06 -07:00 |
Derek Enlow
|
c6f001447a
|
reintroduced fractions and added fractions flag
|
2022-02-10 18:01:02 -07:00 |
Derek Enlow
|
e22a99ae33
|
removed unused imports
|
2022-02-03 21:50:11 -07:00 |
Derek Enlow
|
36cd821f3b
|
fixed numpy improvements
|
2022-02-03 21:44:36 -07:00 |
Derek Enlow
|
7776f7738a
|
Switched much functionality to use numpy
|
2022-02-03 16:29:13 -07:00 |
Martin Lackner
|
0b5ea8669b
|
fixed handling of ties in quota method: ties are now reported whenever they occur.
It is currently not possible to find out whether there is more than one Quota apportionment
(also, ran black formatter)
|
2021-12-21 12:33:36 +01:00 |
Martin Lackner
|
f447b5c9db
|
add gitignore
|
2020-07-19 21:18:08 +02:00 |
Martin Lackner
|
e29a7e74b3
|
possible to raise exceptions when ties occur
|
2020-02-03 20:23:40 +01:00 |
Martin Lackner
|
f92f07b46a
|
find profiles that produce different outputs for different methods
|
2020-02-03 20:22:57 +01:00 |
Martin Lackner
|
92ac4244a6
|
new example, all methods different
|
2020-02-03 20:22:25 +01:00 |
Martin Lackner
|
7c182d6226
|
Merge branch 'master' of https://github.com/martinlackner/apportionment
|
2020-02-03 10:12:14 +01:00 |
Martin Lackner
|
e8902813d0
|
Update README.md
|
2020-02-03 10:01:30 +01:00 |
Martin Lackner
|
537673bc84
|
headers
|
2020-01-31 15:34:16 +01:00 |
Martin Lackner
|
fa4d2ccdf3
|
Update README.md
|
2020-01-31 15:32:49 +01:00 |
Martin Lackner
|
f76c1d9f9c
|
minor
|
2020-01-31 15:27:14 +01:00 |
Martin Lackner
|
338ece6db3
|
example files renamed
|
2020-01-31 15:26:33 +01:00 |
Martin Lackner
|
a1b506ca13
|
restructured
|
2020-01-31 15:16:58 +01:00 |
Martin Lackner
|
b2e2cae789
|
examples updated
|
2020-01-31 15:16:37 +01:00 |
Martin Lackner
|
8febb05ac9
|
new structure
|
2020-01-31 15:05:46 +01:00 |
Martin Lackner
|
2fec22e55c
|
update README.md
|
2020-01-14 17:12:18 +01:00 |
Martin Lackner
|
e83384f51a
|
israel examples updated with explanations
|
2020-01-14 17:04:27 +01:00 |
Martin Lackner
|
bc9b104e3a
|
unittest minor
|
2020-01-14 17:04:08 +01:00 |
Martin Lackner
|
4bdce9d824
|
Merge pull request #4 from benjaminkrenn/master
add modified saintelague, add israel example
|
2020-01-14 16:51:35 +01:00 |
benjaminkrenn
|
5d7ed08c36
|
add israel example (currently 4 elections, surplus agreements merged to one party)
|
2020-01-14 10:01:05 +01:00 |
benjaminkrenn
|
b52f8a19e6
|
add test for modified saintelague
|
2020-01-13 12:23:12 +01:00 |
benjaminkrenn
|
12085c14aa
|
implement modified saintelague
|
2020-01-13 10:08:39 +01:00 |
benjaminkrenn
|
03171a5495
|
add unittest for threshold
|
2020-01-13 09:50:38 +01:00 |
Martin Lackner
|
f043859f22
|
Merge pull request #3 from benjaminkrenn/master
python 3 compatibility, nr_wahlen.txt corrected
|
2020-01-09 12:46:04 +01:00 |
benjaminkrenn
|
b70224dc1d
|
merge
|
2020-01-09 12:38:02 +01:00 |
benjaminkrenn
|
a461253a78
|
now fully python 3 compatible.
|
2020-01-09 12:28:13 +01:00 |
Martin Lackner
|
a1951c863e
|
output formatting
|
2020-01-09 11:58:23 +01:00 |
Martin Lackner
|
63561beedd
|
Merge pull request #2 from benjaminkrenn/master
thresholds implemented. add austria example.
|
2020-01-09 11:49:13 +01:00 |
benjaminkrenn
|
6ae977ea22
|
implement threshold. add austria example.
|
2020-01-09 11:37:45 +01:00 |
Martin Lackner
|
33062b0848
|
verify within_quota, lower quota
|
2019-09-09 13:55:59 +02:00 |
Martin Lackner
|
6dcf323cb8
|
uses fractions instead of gmpy2
|
2019-09-09 13:54:40 +02:00 |
Martin Lackner
|
d1323884ed
|
within_quota improvements
|
2019-09-09 13:46:07 +02:00 |
Martin Lackner
|
421cba0aae
|
test within_quota
|
2019-09-09 13:45:53 +02:00 |
Martin Lackner
|
52794e0f68
|
check all methods implemented
|
2019-09-09 13:30:40 +02:00 |
Martin Lackner
|
3761d4c7c4
|
added non-standard names for apportionment methods
|
2019-09-09 13:29:42 +02:00 |
Martin Lackner
|
836027b0af
|
incl umlauts
|
2019-09-09 12:12:37 +02:00 |
Martin Lackner
|
dab16a0ad5
|
incl output
|
2019-09-09 12:12:05 +02:00 |