diff options
author | Jed Barber <jjbarber@y7mail.com> | 2017-02-01 06:59:42 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2017-02-01 06:59:42 +1100 |
commit | a466147461556b68e702368caee96c785d39b9d4 (patch) | |
tree | ed4b05015736af4f19cc90ca16c2d43a0fbbd791 | |
parent | ca7337e57786a0db79865d63e797b574942795e0 (diff) |
Minor tweak of bulk exclusion logging
-rw-r--r-- | notes.txt | 3 | ||||
-rw-r--r-- | src/Election.hs | 3 |
2 files changed, 3 insertions, 3 deletions
@@ -20,9 +20,8 @@ group votes by uniqueness to reduce memory requirements, speed things up, and ac make the goddamn results correct are they correct now? it's a bit murky with how the AEC records transfers in DOP logs -does the AEC use floats or exact ratios for transfer values? +does the AEC use truncated values or exact ratios for transfer values? does the AEC check for candidates having quota when transfers are only partially done? -why do the paper amounts go negative in AEC counts sometimes? place candidate IDs and party designations into different fields in logfiles diff --git a/src/Election.hs b/src/Election.hs index 8a0e4d0..f3b504e 100644 --- a/src/Election.hs +++ b/src/Election.hs @@ -363,7 +363,8 @@ excludeCandidates e = do then if (n > 0) then do MIO.liftIO $ Con.when (n > 1) $ do - let logmsg = "Bulk exclusion at logfile #" ++ show (getNextLogNum e) + let logmsg = "Bulk exclusion of " ++ show n ++ + " candidates at logfile #" ++ show (getNextLogNum e) IO.appendFile (getMainLog e) (logmsg ++ "\n") Con.when (isVerbose e) (IO.hPutStrLn IO.stderr logmsg) ET.left e |