Anti-Harassment Tools/SecurePoll Improvements/Test Results/20 9 5000 439818328/archive

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/20_9_5000_439818328_f06e679.blt.php

Comments edit

There is a discrepancy between the candidates SecurePoll and OpenSTV elect, due to how we deal with ties.

SecurePoll elects candidates 1, 2, 3, 4, 5, 6, 7 and 8, leaving the last seat empty.

OpenSTV elects candidates 1, 2, 3, 4, 5, 6, 7, 8 and 18, candidate 18 being chosen randomly.

It should be noted that between rounds 3 and 13, candidate 9 does technically have votes transferred to them (when calculated with bc). However, the number of votes is so small (~4.80449350E-17) that SecurePoll treats it as 0.

This is further confused by the fact that in 20_9_5000_1730013084 numbers as small as 7.810096726086052E-21 are displayed (as "0") in the "Tally" column (see round 3, for example).

3.0.0 (543f6f0) 04:43, 12 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/20_9_5000_439818328_543f6f0.blt.php

Comments edit

There is a discrepancy between the candidates SecurePoll and OpenSTV elect, due to how we deal with ties.

SecurePoll elects candidates 1, 2, 3, 4, 5, 6, 7 and 8, leaving the last seat empty.

OpenSTV elects candidates 1, 2, 3, 4, 5, 6, 7, 8 and 18, candidate 18 being chosen randomly.

It should be noted that between rounds 3 and 13, candidate 9 does technically have votes transferred to them. However, the number of votes is so small (~4.80449350E-17) that SecurePoll treats it as 0. In the "Result" column SecurePoll claims to be "Transferring votes", but this is not reflected in the "Tally" column.

See also round 12, where candidates 10, 11 and 12 are eliminated because they have 82 votes. Candidate 9 is shown as having 82 votes as well, but is not eliminated.

This is further confused by the fact that in 20_9_5000_1730013084 numbers as small as 7.810096726086052E-21 are displayed (as "0") in the "Tally" column (see round 3, for example).

This election was created during the testing of precision.