Anti-Harassment Tools/SecurePoll Improvements/Test Results/20 4 5000 8910242957

From mediawiki.org
Jump to navigation Jump to search

Comments[edit]

SecurePoll elects candidates 4, 6, 12 and 13.

OpenSTV elects candidates 1, 6, 13, and 18.

I don't yet understand what causes the discrepancy. I see that SecurePoll eliminates candidates 14 and 17 in round 4, while OpenSTV only eliminates candidate 17. But, in round 6 OpenSTV also eliminates candidate 14, so by round 7 we should be back to parity.

Election of candidate 12 might be explained by the simultaneous elimination of candidates 16 and 20 in round 12. Moreover, OpenSTV eliminates candidate 12, which gives a lot of votes to candidate 1.

I notice that, for example, in SecurePoll the most votes candidate 1 gets is ~871. In OpenSTV, the most votes candidate 1 gets is 882.

Note: This election was generated by this script, which simulates an election where voters are equally likely to vote for each candidate.

Election setup[edit]

  • Candidates: 20
  • Seats: 4
  • 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_4_5000_8910242957.blt.php

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

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 (dcbad8c) 06:35, 27 September 2021.