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

From mediawiki.org
Jump to navigation Jump to search

Comments[edit]

SecurePoll eliminates all candidates. I assume this is because all the candidates have equal votes. In this case, I think we plan to defer to the election admins how to proceed.

This is possibly the same/similar to 20_6_5100_319413701, 20_6_5000_2048397232 and 5_3_100.

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

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

Actual results archive[edit]

/archive

Expected[edit]

Output from OpenSTV:

Loading ballots from file 20_4_5000_1685033555.blt.
Ballot file contains 20 candidates and 5000 ballots.
No candidates have withdrawn.
Ballot file contains 5000 non-empty ballots.

Counting votes for ElectionTitle using Meek STV.
20 candidates running for 4 seats.

 R|1          |2          |3          |4          |5          |6          
  |-----------+-----------+-----------+-----------+-----------+-----------
  |7          |8          |9          |10         |11         |12         
  |-----------+-----------+-----------+-----------+-----------+-----------
  |13         |14         |15         |16         |17         |18         
  |-----------+-----------+-----------+-----------+-----------+-----------
  |19         |20         |Exhausted  |Surplus    |Threshold  
==========================================================================
 1|1000.000000|1000.000000|1000.000000|1000.000000|1000.000000|   0.000000
  |   0.000000|   0.000000|   0.000000|   0.000000|   0.000000|   0.000000
  |   0.000000|   0.000000|   0.000000|   0.000000|   0.000000|   0.000000
  |   0.000000|   0.000000|   0.000000|   0.000000|1000.000001
  |-----------------------------------------------------------------------
  | Count of first choices.
==========================================================================
 2|1000.000000|1000.000000|1000.000000|1000.000000|           |           
  |           |           |           |           |           |           
  |           |           |           |           |           |           
  |           |           |1000.000000| 799.999996| 800.000001
  |-----------------------------------------------------------------------
  | Count after eliminating 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
  | 18, 19, and 20 and transferring votes. All losing candidates are
  | eliminated. Candidates 1, 2, 3, 4, and 5 were tied when choosing
  | candidates to eliminate. Candidate 5 was chosen by breaking the tie
  | randomly. Candidates 1, 2, 3, and 4 have reached the threshold and are
  | elected.

Winners are 1, 2, 3, and 4.

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.