Anti-Harassment Tools/SecurePoll Improvements/Test Results/stackoverflow-com-2012-election-results

Comments

edit

SecurePoll and OpenSTV agree on elected candidates.

Election setup

edit
  • Candidates: 10
  • Seats: 3
  • Votes: 4326

Actual results latest

edit

See: https://vote.wikimedia.beta.wmflabs.org/wiki/Special:SecurePoll/tally/1213

Actual results archive

edit

Archive

Expected

edit

Output from OpenSTV: https://stackoverflow.com/election/3

Loading ballots from file stackoverflow-com-2012-election-results.blt.
Ballot file contains 10 candidates and 4326 ballots.
No candidates have withdrawn.
Ballot file contains 4326 non-empty ballots.

Counting votes for Stack Overflow Moderator Election 2012 using Meek STV.
10 candidates running for 3 seats.

 R|Candidate 1   |Candidate 2   |Candidate 3   |Candidate 4   |Candidate 5   
  |--------------+--------------+--------------+--------------+--------------
  |Candidate 6   |Candidate 7   |Candidate 8   |Candidate 9   |Candidate 10  
  |--------------+--------------+--------------+--------------+--------------
  |Exhausted     |Surplus       |Threshold     
=============================================================================
 1|    184.000000|    223.000000|    568.000000|    265.000000|    161.000000
  |   1195.000000|    396.000000|    389.000000|     90.000000|    855.000000
  |      0.000000|    113.499999|   1081.500001
  |--------------------------------------------------------------------------
  | Count of first choices. Candidate Candidate 6 has reached the threshold
  | and is elected.
=============================================================================
 2|    191.028446|    226.799160|    590.510023|    270.983677|    166.128866
  |   1081.500095|    413.381157|    403.816724|     94.274055|    883.208763
  |      4.369034|      1.092353|   1080.407742
  |--------------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who
  | have exceeded the threshold: Candidate 6, 0.905021.
=============================================================================
 3|    196.598320|    234.369034|    601.269855|    279.648530|    175.223845
  |   1095.075410|    422.140989|    413.576556|              |    898.538469
  |      9.558992|     15.965157|   1079.110253
  |--------------------------------------------------------------------------
  | Count after eliminating Candidate 9 and transferring votes. All losing
  | candidates are eliminated.
=============================================================================
 4|    210.643089|    254.223845|    624.029687|    292.933467|              
  |   1113.175830|    439.090779|    451.621325|              |    924.868175
  |     15.413803|     35.529280|   1077.646550
  |--------------------------------------------------------------------------
  | Count after eliminating Candidate 5 and transferring votes. All losing
  | candidates are eliminated.
=============================================================================
 5|              |    272.983677|    656.454372|    305.883257|              
  |   1152.091733|    464.845170|    478.140989|              |    968.242650
  |     27.358152|     77.431270|   1074.660463
  |--------------------------------------------------------------------------
  | Count after eliminating Candidate 1 and transferring votes. All losing
  | candidates are eliminated.
=============================================================================
 6|              |    276.815652|    672.755472|    310.931732|              
  |   1074.661508|    478.834920|    489.758564|              |    989.531400
  |     32.710752|      1.339195|   1073.322313
  |--------------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who
  | have exceeded the threshold: Candidate 6, 0.844196.
=============================================================================
 7|              |              |    708.001904|    349.489772|              
  |   1108.429348|    503.146528|    533.628212|              |   1050.180068
  |     73.124168|     45.210389|   1063.218959
  |--------------------------------------------------------------------------
  | Count after eliminating Candidate 2 and transferring votes. All losing
  | candidates are eliminated.
=============================================================================
 8|              |              |    748.183160|              |              
  |   1163.302088|    532.106804|    592.900096|              |   1126.075168
  |    163.432684|    208.093596|   1040.641830
  |--------------------------------------------------------------------------
  | Count after eliminating Candidate 4 and transferring votes. All losing
  | candidates are eliminated. Candidate Candidate 10 has reached the
  | threshold and is elected.
=============================================================================
 9|              |              |    787.014367|              |              
  |   1060.924329|    565.207800|    633.608487|              |   1072.887923
  |    206.357094|     73.990798|   1029.910727
  |--------------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who
  | have exceeded the threshold: Candidate 6, 0.755183 and Candidate 10,
  | 0.924132.
=============================================================================
10|              |              |    800.089232|              |              
  |   1039.519024|    576.209978|    649.163378|              |   1037.587752
  |    223.430636|     25.822092|   1025.642342
  |--------------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who
  | have exceeded the threshold: Candidate 6, 0.733108 and Candidate 10,
  | 0.887114.
=============================================================================
11|              |              |    877.334024|              |              
  |   1188.540596|              |    730.299966|              |   1124.183272
  |    405.642142|    352.544938|    980.089465
  |--------------------------------------------------------------------------
  | Count after eliminating Candidate 7 and transferring votes. All losing
  | candidates are eliminated.
=============================================================================
12|              |              |    947.588433|              |              
  |   1006.417542|              |    809.199077|              |   1025.633496
  |    537.161452|    138.010557|    947.209638
  |--------------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who
  | have exceeded the threshold: Candidate 6, 0.604533 and Candidate 10,
  | 0.773407. Candidate Candidate 3 has reached the threshold and is elected.

Winners are Candidate 3, Candidate 6, and Candidate 10.

Files

edit

Environment

edit
  • Where you tested: local docker using phpunit
  • Latest version of SecurePoll tested: 3.0.0 (f06e679) 21:48, 24 August 2021