Anti-Harassment Tools/SecurePoll Improvements/Test Results/20 7 5000 292763510

From mediawiki.org
Jump to navigation Jump to search

Comments[edit]

SecurePoll and OpenSTV agree on elected candidates.

This is election was designed to test SecurePoll's precision. In round 36, candidates 7 and 8 are both eliminated, in spite of the fact that candidate 7 "earns" 3.2457436687349857E-16 votes that round. Candidate 7 is eliminated when perhaps they should remain hopeful. This is due to PHP's limited precision.

Election setup[edit]

  • Candidates: 20
  • Seats: 7
  • Votes: 5000

Actual results latest[edit]

Output from SecurePoll tally.php: /actual

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

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

Actual results archive[edit]

/archive

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 (624ef32) 00:10, 28 September 2021