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

Comments

edit

SecurePoll and OpenSTV disagree on elected candidates. This is 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 14, the last being chosen randomly.

This was designed to see how the tally page displays small numbers. In round 3, candidate 9 displays as having 0 votes, but actually has ~7.9E-9. This is less than 5E-7 so is rounded to 0.

Election setup

edit
  • Candidates: 20
  • Seats: 9
  • Votes: 5000

Actual results latest

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_1886935514.blt.php

SecurePoll tally page: https://vote.wikimedia.beta.wmflabs.org/wiki/Special:SecurePoll/tally/1842

Actual results archive

edit

Expected

edit

Output from OpenSTV: /expected

Files

edit

Environment

edit
  • Where you tested: local docker and beta
  • Latest version of SecurePoll tested: 3.0.0 (3007c40) 06:36, 26 August 2021