Anti-Harassment Tools/SecurePoll Improvements/Test Results/math-stackexchange-com-2014-election-results

From mediawiki.org
Jump to navigation Jump to search

Comments[edit]

SecurePoll and OpenSTV agree on elected candidates.

Election: https://math.stackexchange.com/election/5

Election setup[edit]

  • Candidates: 10
  • Seats: 3
  • Votes: 1364

Actual results latest[edit]

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

Actual results archive[edit]

Archive

Expected[edit]

Output from OpenSTV: https://math.stackexchange.com/election/5

Loading ballots from file math-stackexchange-com-2014-election-results.blt.
Ballot file contains 10 candidates and 1364 ballots.
No candidates have withdrawn.
Ballot file contains 1364 non-empty ballots.

Counting votes for Mathematics Stack Exchange Moderator Election 2014 using Meek STV.
10 candidates running for 3 seats.

 R|Candidate |Candidate |Candidate |Candidate |Candidate |Candidate |Candidate 
  |1         |2         |3         |4         |5         |6         |7         
  |----------+----------+----------+----------+----------+----------+----------
  |Candidate |Candidate |Candidate |Exhausted |Surplus   |Threshold 
  |8         |9         |10        |          |          |          
===============================================================================
 1|165.000000|529.000000|104.000000|249.000000| 55.000000|100.000000| 23.000000
  | 69.000000| 47.000000| 23.000000|  0.000000|187.999999|341.000001
  |----------------------------------------------------------------------------
  | Count of first choices. Candidate Candidate 2 has reached the threshold and
  | is elected.
===============================================================================
 2|225.060403|341.000277|124.257059|305.151146| 64.595449|114.570867| 24.421548
  | 76.107740| 55.529288| 24.776935|  8.529288|  2.132598|338.867679
  |----------------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who have
  | exceeded the threshold: Candidate 2, 0.644613.
===============================================================================
 3|232.481951|347.446407|127.323220|310.217307| 71.950836|121.281641|          
  | 77.818514| 63.240062|          | 12.240062|  9.506422|337.939985
  |----------------------------------------------------------------------------
  | Count after eliminating Candidate 7 and Candidate 10 and transferring
  | votes. All losing candidates are eliminated.
===============================================================================
 4|235.533152|337.940064|128.381440|313.056864| 72.444672|122.040032|          
  | 78.206528| 63.698624|          | 12.698624|  0.114719|337.825345
  |----------------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who have
  | exceeded the threshold: Candidate 2, 0.626976.
===============================================================================
 5|245.517344|346.090752|135.619584|321.175936| 76.817696|129.532128|          
  | 82.698624|          |          | 26.547936| 11.727735|334.363017
  |----------------------------------------------------------------------------
  | Count after eliminating Candidate 9 and transferring votes. All losing
  | candidates are eliminated.
===============================================================================
 6|249.362689|334.363512|137.021754|324.660116| 77.433801|130.530643|          
  | 83.250994|          |          | 27.376491|  0.207634|334.155878
  |----------------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who have
  | exceeded the threshold: Candidate 2, 0.605731.
===============================================================================
 7|260.728303|341.632284|146.781637|340.602806|          |146.896257|          
  | 90.828070|          |          | 36.530643| 18.500410|331.867340
  |----------------------------------------------------------------------------
  | Count after eliminating Candidate 5 and transferring votes. All losing
  | candidates are eliminated. Candidate Candidate 4 has reached the threshold
  | and is elected.
===============================================================================
 8|271.276724|357.381290|156.147251|358.545496|          |155.079064|          
  |          |          |          | 65.570175| 66.711872|324.607457
  |----------------------------------------------------------------------------
  | Count after eliminating Candidate 8 and transferring votes. All losing
  | candidates are eliminated.
===============================================================================
 9|292.427144|330.076057|166.521585|333.861119|          |162.959728|          
  |          |          |          | 78.154367| 21.014358|321.461409
  |----------------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who have
  | exceeded the threshold: Candidate 2, 0.550183 and Candidate 4, 0.905346.
===============================================================================
10|299.110211|323.353275|169.865293|323.764859|          |165.517240|          
  |          |          |          | 82.389122|  6.312694|320.402720
  |----------------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who have
  | exceeded the threshold: Candidate 2, 0.535824 and Candidate 4, 0.871722.
===============================================================================
11|301.146896|320.907546|170.860045|321.178907|          |166.272832|          
  |          |          |          | 83.633774|  1.903339|320.091557
  |----------------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who have
  | exceeded the threshold: Candidate 2, 0.530935 and Candidate 4, 0.862670.
===============================================================================
12|329.887906|342.853538|186.967480|354.747325|          |          |          
  |          |          |          |149.543751|116.646580|303.614063
  |----------------------------------------------------------------------------
  | Count after eliminating Candidate 6 and transferring votes. All losing
  | candidates are eliminated. Candidate Candidate 1 has reached the threshold
  | and is elected.

Winners are Candidate 1, Candidate 2, and Candidate 4.

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