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

Comments
SecurePoll and OpenSTV agree on elected candidates.

Election setup

 * Candidates: 10
 * Seats: 3
 * Votes: 21248

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

Actual results archive
Archive

Expected
Output from OpenSTV: https://stackoverflow.com/election/5 Loading ballots from file stackoverflow-com-2014-election-results.blt. Ballot file contains 10 candidates and 21248 ballots. No candidates have withdrawn. Ballot file contains 21248 non-empty ballots.

Counting votes for Stack Overflow Moderator Election 2014 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|  1903.000000|   1915.000000|   1367.000000|   5621.000000|   1718.000000  |   1348.000000|   1518.000000|   3326.000000|   1371.000000|   1161.000000  |      0.000000|    308.999999|   5312.000001  |--  | Count of first choices. Candidate Candidate 4 has reached the threshold | and is elected.

=
================================================================ 2|  1949.836144|   1947.488452|   1382.062328|   5312.002388|   1747.300076  |   1367.185228|   1541.198184|   3415.824248|   1393.703436|   1181.889360  |      9.510156|      2.379926|   5309.622462  |--  | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: Candidate 4, 0.945028.

=
================================================================ 3|  2077.398820|   2118.051128|   1502.140760|   5461.316812|   1856.048676  |   1460.043772|   1629.496504|   3554.331952|   1517.056728|                |     72.114848|    167.345523|   5293.971289  |--  | Count after eliminating Candidate 10 and transferring votes. All losing | candidates are eliminated.

=
================================================================ 4|  2104.473615|   2137.568146|   1511.696570|   5293.974309|   1872.930607  |   1471.655529|   1643.453778|   3604.022164|   1530.782346|                |     77.442936|      1.335042|   5292.639267  |--  | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: Candidate 4, 0.916071.

=
================================================================ 5|  2244.614728|   2300.953898|   1633.389446|   5526.656343|   2186.987791  |              |   1766.146654|   3785.743632|   1644.146654|                |    159.360854|    254.496556|   5272.159787  |--  | Count after eliminating Candidate 6 and transferring votes. All losing | candidates are eliminated.

=
================================================================ 6|  2288.148616|   2333.098106|   1649.166262|   5272.160271|   2215.630727  |              |   1788.335438|   3862.012304|   1666.335438|                |    173.112838|      3.438480|   5268.721791  |--  | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: Candidate 4, 0.873887.

=
================================================================ 7|  2467.850413|   2653.178242|              |   5507.235874|   2357.044682  |              |   1921.371054|   4111.488587|   1860.758297|                |    369.072851|    287.504086|   5219.731788  |--  | Count after eliminating Candidate 3 and transferring votes. All losing | candidates are eliminated.

=
================================================================ 8|  2518.079134|   2691.226156|              |   5219.732332|   2389.618076  |              |   1946.827572|   4198.122866|   1886.716646|                |    397.677218|      7.151636|   5212.580696  |--  | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: Candidate 4, 0.828266.

=
================================================================ 9|  2785.596002|   2983.197418|              |   5498.857974|   2592.922116  |              |   2129.131612|   4478.933084|              |                |    779.361794|    381.698422|   5117.159552  |--  | Count after eliminating Candidate 9 and transferring votes. All losing | candidates are eliminated.

=
================================================================ 10|  3113.749688|   3279.310010|              |   5837.618768|   2842.256560  |              |              |   4813.662780|              |                |   1361.402194|    865.969316|   4971.649452  |--  | Count after eliminating Candidate 7 and transferring votes. All losing | candidates are eliminated.

=
================================================================ 11|  3277.408532|   3404.020015|              |   4971.652152|   2945.464840  |              |              |   5080.284170|              |                |   1569.170291|    212.521466|   4919.707428  |--  | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: Candidate 4, 0.705399. Candidate Candidate 8 | has reached the threshold and is elected.

=
================================================================ 12|  3651.349854|   3855.791150|              |   5406.177936|                |              |              |   5482.831128|              |                |   2851.849932|   1690.934028|   4599.037518  |--  | Count after eliminating Candidate 5 and transferring votes. All losing | candidates are eliminated.

=
================================================================ 13|  3983.581677|   4084.802137|              |   4731.078506|                |              |              |   4804.695955|              |                |   3643.841725|    733.695323|   4401.039569  |--  | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: Candidate 4, 0.600084 and Candidate 8, | 0.838808.

=
================================================================ 14|  4131.698628|   4182.353526|              |   4454.741584|                |              |              |   4475.919869|              |                |   4003.286393|    308.304649|   4311.178402  |--  | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: Candidate 4, 0.558223 and Candidate 8, | 0.768338.

=
================================================================ 15|  4194.685562|   4223.324129|              |   4332.038914|                |              |              |   4342.174256|              |                |   4155.777139|    128.101738|   4273.055716  |--  | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: Candidate 4, 0.540234 and Candidate 8, | 0.740059.

=
================================================================ 16|  4220.963614|   4240.292073|              |   4281.629032|                |              |              |   4285.526960|              |                |   4219.588321|     52.950152|   4257.102920  |--  | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: Candidate 4, 0.532879 and Candidate 8, | 0.728279.

=
================================================================ 17|  4231.846382|   4247.304883|              |   4260.599642|                |              |              |   4262.245175|              |                |   4246.003918|     21.846775|   4250.499021  |--  | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: Candidate 4, 0.529827 and Candidate 8, | 0.723449.

=
================================================================ 18|  4236.339313|   4250.196541|              |   4251.937477|                |              |              |   4252.612805|              |                |   4256.913864|     11.432218|   4247.771535  |--  | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: Candidate 4, 0.528571 and Candidate 8, | 0.721456. Candidate Candidate 2 has reached the threshold and is elected.

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

Files

 * blt: https://stackoverflow.com/election/download-result/5
 * php:

Environment

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