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

Comments
SecurePoll and OpenSTV agree on elected candidates.

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

Election setup

 * Candidates: 9
 * Seats: 4
 * Votes: 405

Actual results latest
See: https://vote.wikimedia.beta.wmflabs.org/wiki/Special:SecurePoll/tally/1360

Actual results archive
Archive

Expected
Output from OpenSTV: https://math.stackexchange.com/election/4 Loading ballots from file math-stackexchange-com-2013-election-results.blt. Ballot file contains 9 candidates and 405 ballots. No candidates have withdrawn. Ballot file contains 405 non-empty ballots.

Counting votes for Mathematics Stack Exchange Moderator Election 2013 using Meek STV. 9 candidates running for 4 seats.

R|Candidate 1|Candidate 2|Candidate 3|Candidate 4|Candidate 5|Candidate 6 |          |           |           |           |           |             |---+---+---+---+---+---  |Candidate 7|Candidate 8|Candidate 9|Exhausted  |Surplus    |Threshold |          |           |           |           |           |

=
============================================================= 1| 50.000000|  23.000000| 115.000000|  65.000000|   8.000000|  72.000000  |  63.000000|   4.000000|   5.000000|   0.000000|  33.999999|  81.000001  |---  | Count of first choices. Candidate Candidate 3 has reached the | threshold and is elected.

=
============================================================= 2| 55.321736|  27.139128|  81.000020|  71.208692|   8.591304|  79.686952  |  71.869560|   4.000000|   5.000000|   1.182608|   0.236541|  80.763479  |---  | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: Candidate 3, 0.704348.

=
============================================================= 3| 66.799996|           |  88.043500|  76.095648|           |  87.573908  |  81.234776|           |           |   5.252172|  17.003486|  79.949566  |---  | Count after eliminating Candidate 2, Candidate 5, Candidate 8, and | Candidate 9 and transferring votes. All losing candidates are | eliminated. Candidates Candidate 6 and Candidate 7 have reached the | threshold and are elected.

=
============================================================= 4| 69.284754|           |  81.217913|  80.141567|           |  81.948233  |  84.274120|           |           |   8.133413|  10.088561|  79.373318  |---  | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: Candidate 3, 0.639597; Candidate 6, | 0.912939; and Candidate 7, 0.984180. Candidate Candidate 4 has reached | the threshold and is elected.

Winners are Candidate 3, Candidate 4, Candidate 6, and Candidate 7.

Files

 * blt: https://math.stackexchange.com/election/download-result/4
 * php:

Environment

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