1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
potential anomaly detected for
Honan, Pat, NT
AEC count 328
my count 327
Marshall, Tristan, NT
AEC count 161
my count 160
Gallagher, Katy, ACT
AEC count 95749
my count 95748
Seselja, Zed, ACT
AEC count 82932
my count 82931
it's probably a programming error on my part
future direction
----------------
better commented code, because I'm going to have to maintain this later
util to list paper ids that fit specific criteria to doublecheck potential errors
replace the use of floats for transfer values with rational fixed points for increased accuracy
add proper tiebreaker handling
more counters/parsers/options to handle state elections, general stv data
more detailed logging for preference distribution?
tracking of exhausted/fractional-loss ballots?
multithreaded operation to speed counting up, possibly using unsafePerformIO
factor TransferMap datatype out into its own module
bulk exclusions to hopefully increase speed a bit
combining preference criteria somehow to reduce necessary counts
(requires implementing rational fixed points for transfer values)
(the lack of this, transferring criteria separately, is likely a source of inaccuracy)
(possibly formulate criteria as [candidate #1, then any number of #x, #y, #z, then candidate #2, etc])
|