Anti-Harassment Tools/SecurePoll Improvements/Test Results/12 9 4928 1803187550/archive

From mediawiki.org
Jump to navigation Jump to search

3.0.0 (f06e679) 21:48, 24 August 2021[edit]

Output from SecurePoll tally.php: actual

Output from SecurePoll var_export( $this->tallier->resultsLog );: https://github.com/dominic998/SecurePoll-Test-Data/blob/main/test_data/12_9_4928_1803187550_f06e679.blt.php

Comments[edit]

SecurePoll and OpenSTV disagree on elected candidates. This is probably due to differences in dealing with ties.

SecurePoll elects candidates 1, 2, 3, 4, 5, 6, 7 and 8.

OpenSTV elects candidates 1, 2, 3, 4, 5, 6, 7, 8 and 9. Candidate 9 is partly due to random elimination. Notice in round 54 candidate 10 is eliminated at random. Then, in round 57 candidate 9 gets 0.000001 votes transferred to them, giving them the most votes of the remaining candidates.

SecurePoll in contrast eliminates candidates 9, 10, 11 and 12 simultaneously in round 3. This is because their total votes are indistinguishable in PHP. SecurePoll does report candidate 9's "earned" votes for that round as 5.1500161200811698E-15, but this is not reflected in the "total" votes because the calculation for "total" votes is slightly less precise than for "earned" votes.