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

Comments
SecurePoll and OpenSTV agree on elected candidates.

SO lists two extra winners for that election, even though the .blt file only has 2 seats. I could not find any explanation of this.

I re-ran SecurePoll with 4 seats, and the elected candidates were the same as listed by stack overflow.

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

Election setup

 * Candidates: 8
 * Seats: 4
 * Votes: 363

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

Actual results archive
Archive

Expected
Output from OpenSTV: https://math.stackexchange.com/election/3 Loading ballots from file math-stackexchange-com-2012-election-results.blt. Ballot file contains 8 candidates and 363 ballots. No candidates have withdrawn. Ballot file contains 363 non-empty ballots.

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

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

=
============================================================= 1| 156.000000| 74.000000|   6.000000|  10.000000|  11.000000|  53.000000  |  52.000000|   1.000000|   0.000000|  84.799998|  72.600001  |---  | Count of first choices. Candidates Candidate 1 and Candidate 2 have | reached the threshold and are elected.

=
============================================================= 2| 72.758534| 109.315148|   7.098261|  13.370455|  14.447435|  69.735545  |  65.501089|   2.603845|   8.169688|  40.141556|  70.966063  |---  | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: Candidate 1, 0.465385 and Candidate 2, | 0.981082.

=
============================================================= 3| 73.778193|  71.477270|   7.653530|  16.412962|  18.898795|  82.924691  |  78.084352|   2.638240|  11.131967|  24.770078|  70.373607  |---  | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: Candidate 1, 0.453920 and Candidate 2, | 0.636907. Candidates Candidate 6 and Candidate 7 have reached the | threshold and are elected.

Winners are Candidate 1, Candidate 2, Candidate 6, and Candidate 7.

Files

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

Environment

 * Where you tested: local docker using phpunit
 * Latest version of SecurePoll tested: SecurePoll 3.0.0 (8023eb1) 06:13, 6 August 2021