Anti-Harassment Tools/SecurePoll Improvements/Test Results/20 6 5001 819859726
Comments
editThis is a slight modification to 20_6_5000_536228607, which gives results which agree between SecurePoll and OpenSTV.
Election setup
edit- Candidates: 20
- Seats: 6
- Votes: 5001
Actual
editOutput from SecurePoll: https://phabricator.wikimedia.org/P16838
Actual tally: SP 3.0.0 (58bf4c8)
editElected
editElection for 6 seats with 20 candidates. Total 5,001 votes.
- "10"
- "19"
- "20"
- "18"
- "17"
- "16"
Eliminated/Not elected
edit- "1"
- "2"
- "3"
- "4"
- "5"
- "6"
- "7"
- "8"
- "9"
- "11"
- "12"
- "13"
- "14"
- "15"
Rounds table
editThe following table describes the calculations that happened in order to achieve the result above. In each round of calculation, the candidate(s) who achieved more votes than the quota are declared elected. Their surplus votes above the quota are redistributed to the remaining candidates. If nobody achieves the quota, the lowest ranking candidate is eliminated and their votes are redistributed to the remaining candidates. To understand this better, please refer to this link.
Round Number | Tally | Result |
---|---|---|
1 |
|
Quota: 714.428572 |
2 |
|
Quota: 714.428572
Elected: "10" |
3 |
|
Quota: 714.263654
Transferring votes |
4 |
|
Quota: 714.246346
Transferring votes |
5 |
|
Quota: 714.244530
Eliminated: "1" Transferring votes |
6 |
|
Quota: 682.101132
Transferring votes |
7 |
|
Quota: 678.721329
Transferring votes |
8 |
|
Quota: 678.365951
Transferring votes |
9 |
|
Quota: 678.328584
Eliminated: "2" Transferring votes |
10 |
|
Quota: 646.166765
Transferring votes |
11 |
|
Quota: 642.772191
Transferring votes |
12 |
|
Quota: 642.413905
Transferring votes |
13 |
|
Quota: 642.376090
Eliminated: "3" Transferring votes |
14 |
|
Quota: 610.185173
Transferring votes |
15 |
|
Quota: 606.768260
Transferring votes |
16 |
|
Quota: 606.405570
Transferring votes |
17 |
|
Quota: 606.367073
Eliminated: "4" Transferring votes |
18 |
|
Quota: 574.132633
Transferring votes |
19 |
|
Quota: 570.685374
Transferring votes |
20 |
|
Quota: 570.316713
Transferring votes |
21 |
|
Quota: 570.277287
Eliminated: "5" Transferring votes |
22 |
|
Quota: 537.984840
Transferring votes |
23 |
|
Quota: 534.499163
Transferring votes |
24 |
|
Quota: 534.122915
Transferring votes |
25 |
|
Quota: 534.082303
Eliminated: "6" Transferring votes |
26 |
|
Quota: 501.717283
Transferring votes |
27 |
|
Quota: 498.185028
Transferring votes |
28 |
|
Quota: 497.799524
Transferring votes |
29 |
|
Quota: 497.757451
Eliminated: "7" Transferring votes |
30 |
|
Quota: 465.305194
Transferring votes |
31 |
|
Quota: 461.718093
Transferring votes |
32 |
|
Quota: 461.321594
Transferring votes |
33 |
|
Quota: 461.277767
Eliminated: "8" Transferring votes |
34 |
|
Quota: 428.723486
Transferring votes |
35 |
|
Quota: 425.073145
Transferring votes |
36 |
|
Quota: 424.663829
Eliminated: "9" Transferring votes |
37 |
|
Quota: 391.951926
Transferring votes |
38 |
|
Quota: 388.225171
Transferring votes |
39 |
|
Quota: 387.800594
Eliminated: "11" Transferring votes |
40 |
|
Quota: 354.811682
Transferring votes |
41 |
|
Quota: 350.987548
Transferring votes |
42 |
|
Quota: 350.544248
Eliminated: "12" Transferring votes |
43 |
|
Quota: 317.405068
Transferring votes |
44 |
|
Quota: 313.490783
Transferring votes |
45 |
|
Quota: 313.028441
Eliminated: "13" Transferring votes |
46 |
|
Quota: 279.723301
Transferring votes |
47 |
|
Quota: 275.709673
Transferring votes |
48 |
|
Quota: 275.225987
Eliminated: "14" Transferring votes |
49 |
|
Quota: 241.738715
Transferring votes |
50 |
|
Quota: 237.616279
Elected: "19", "20" Transferring votes |
51 |
|
Quota: 236.926512
Elected: "18" Transferring votes |
52 |
|
Quota: 236.552457
Elected: "17" Transferring votes |
53 |
|
Quota: 236.316806
Transferring votes |
54 |
|
Quota: 236.147921
Transferring votes |
55 |
|
Quota: 236.027337
Elected: "16" Transferring votes |
(Results from 14:14, 31 August 2021)
Expected
editOutput from OpenSTV (or other):
Loading ballots from file 20_6_5001_819859726.blt. Ballot file contains 20 candidates and 5001 ballots. No candidates have withdrawn. Ballot file contains 5001 non-empty ballots. Counting votes for ElectionTitle using Meek STV. 20 candidates running for 6 seats. R|1 |2 |3 |4 |5 |6 |-----------+-----------+-----------+-----------+-----------+----------- |7 |8 |9 |10 |11 |12 |-----------+-----------+-----------+-----------+-----------+----------- |13 |14 |15 |16 |17 |18 |-----------+-----------+-----------+-----------+-----------+----------- |19 |20 |Exhausted |Surplus |Threshold ========================================================================== 1| 225.000000| 225.000000| 225.000000| 225.000000| 225.000000| 225.000000 | 225.000000| 225.000000| 225.000000| 716.000000| 226.000000| 226.000000 | 226.000000| 226.000000| 226.000000| 226.000000| 226.000000| 226.000000 | 226.000000| 226.000000| 0.000000| 1.571428| 714.428572 |----------------------------------------------------------------------- | Count of first choices. Candidate 10 has reached the threshold and is | elected. ========================================================================== 2| 225.002194| 225.004388| 225.006582| 225.008776| 225.010970| 225.013164 | 225.015358| 225.017552| 225.019746| 714.429096| 226.021940| 226.024134 | 226.026328| 226.028522| 226.030716| 226.032910| 226.035104| 226.037298 | 226.039492| 226.041686| 1.154044| 0.165387| 714.263709 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.997806. ========================================================================== 3| 225.002424| 225.004848| 225.007272| 225.009696| 225.012120| 225.014544 | 225.016968| 225.019392| 225.021816| 714.264416| 226.024240| 226.026664 | 226.029088| 226.031512| 226.033936| 226.036360| 226.038784| 226.041208 | 226.043632| 226.046056| 1.275024| 0.017990| 714.246426 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.997576. ========================================================================== 4| 225.002449| 225.004898| 225.007347| 225.009796| 225.012245| 225.014694 | 225.017143| 225.019592| 225.022041| 714.246516| 226.024490| 226.026939 | 226.029388| 226.031837| 226.034286| 226.036735| 226.039184| 226.041633 | 226.044082| 226.046531| 1.288174| 0.001969| 714.244547 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.997551. ========================================================================== 5| | 225.004898| 225.007347| 225.009796| 225.012245| 225.014694 | 225.017143| 225.019592| 225.022041| 714.246516| 226.024490| 226.026939 | 226.029388| 226.031837| 226.034286| 226.036735| 226.039184| 226.041633 | 226.044082| 226.046531| 226.290623| 32.145176| 682.101340 |----------------------------------------------------------------------- | Count after eliminating 1 and transferring votes. All losing | candidates are eliminated. ========================================================================== 6| | 225.094688| 225.142032| 225.189376| 225.236720| 225.284064 | 225.331408| 225.378752| 225.426096| 682.101696| 226.473440| 226.520784 | 226.568128| 226.615472| 226.662816| 226.710160| 226.757504| 226.804848 | 226.852192| 226.899536| 249.950288| 3.380308| 678.721388 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.952656. ========================================================================== 7| | 225.104130| 225.156195| 225.208260| 225.260325| 225.312390 | 225.364455| 225.416520| 225.468585| 678.721460| 226.520650| 226.572715 | 226.624780| 226.676845| 226.728910| 226.780975| 226.833040| 226.885105 | 226.937170| 226.989235| 252.438255| 0.355496| 678.365964 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.947935. ========================================================================== 8| | 225.105122| 225.157683| 225.210244| 225.262805| 225.315366 | 225.367927| 225.420488| 225.473049| 678.366324| 226.525610| 226.578171 | 226.630732| 226.683293| 226.735854| 226.788415| 226.840976| 226.893537 | 226.946098| 226.998659| 252.699647| 0.037702| 678.328622 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.947439. ========================================================================== 9| | | 225.157683| 225.210244| 225.262805| 225.315366 | 225.367927| 225.420488| 225.473049| 678.366324| 226.525610| 226.578171 | 226.630732| 226.683293| 226.735854| 226.788415| 226.840976| 226.893537 | 226.946098| 226.998659| 477.804769| 32.195576| 646.170748 |----------------------------------------------------------------------- | Count after eliminating 2 and transferring votes. All losing | candidates are eliminated. ========================================================================== 10| | | 225.292578| 225.390104| 225.487630| 225.585156 | 225.682682| 225.780208| 225.877734| 646.171384| 226.975260| 227.072786 | 227.170312| 227.267838| 227.365364| 227.462890| 227.560416| 227.657942 | 227.755468| 227.852994| 501.591254| 3.398705| 642.772679 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.902474. ========================================================================== 11| | | 225.306816| 225.409088| 225.511360| 225.613632 | 225.715904| 225.818176| 225.920448| 642.773248| 227.022720| 227.124992 | 227.227264| 227.329536| 227.431808| 227.534080| 227.636352| 227.738624 | 227.840896| 227.943168| 504.101888| 0.359231| 642.414017 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.897728. ========================================================================== 12| | | 225.308319| 225.411092| 225.513865| 225.616638 | 225.719411| 225.822184| 225.924957| 642.414532| 227.027730| 227.130503 | 227.233276| 227.336049| 227.438822| 227.541595| 227.644368| 227.747141 | 227.849914| 227.952687| 504.366917| 0.038377| 642.376155 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.897227. ========================================================================== 13| | | | 225.411092| 225.513865| 225.616638 | 225.719411| 225.822184| 225.924957| 642.414532| 227.027730| 227.130503 | 227.233276| 227.336049| 227.438822| 227.541595| 227.644368| 227.747141 | 227.849914| 227.952687| 729.675236| 32.225279| 610.189253 |----------------------------------------------------------------------- | Count after eliminating 3 and transferring votes. All losing | candidates are eliminated. ========================================================================== 14| | | | 225.591120| 225.738900| 225.886680 | 226.034460| 226.182240| 226.330020| 610.189520| 227.477800| 227.625580 | 227.773360| 227.921140| 228.068920| 228.216700| 228.364480| 228.512260 | 228.660040| 228.807820| 753.618960| 3.420799| 606.768721 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.852220. ========================================================================== 15| | | | 225.610228| 225.762785| 225.915342 | 226.067899| 226.220456| 226.373013| 606.769188| 227.525570| 227.678127 | 227.830684| 227.983241| 228.135798| 228.288355| 228.440912| 228.593469 | 228.746026| 228.898583| 756.160324| 0.363519| 606.405669 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.847443. ========================================================================== 16| | | | 225.612256| 225.765320| 225.918384 | 226.071448| 226.224512| 226.377576| 606.406176| 227.530640| 227.683704 | 227.836768| 227.989832| 228.142896| 228.295960| 228.449024| 228.602088 | 228.755152| 228.908216| 756.430048| 0.039039| 606.367137 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.846936. ========================================================================== 17| | | | | 225.765320| 225.918384 | 226.071448| 226.224512| 226.377576| 606.406176| 227.530640| 227.683704 | 227.836768| 227.989832| 228.142896| 228.295960| 228.449024| 228.602088 | 228.755152| 228.908216| 982.042304| 32.269362| 574.136814 |----------------------------------------------------------------------- | Count after eliminating 4 and transferring votes. All losing | candidates are eliminated. ========================================================================== 18| | | | | 225.990660| 226.188792 | 226.386924| 226.585056| 226.783188| 574.137488| 227.981320| 228.179452 | 228.377584| 228.575716| 228.773848| 228.971980| 229.170112| 229.368244 | 229.566376| 229.764508|1006.198752| 3.451595| 570.685893 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.801868. ========================================================================== 19| | | | | 226.014760| 226.217712 | 226.420664| 226.623616| 226.826568| 570.686368| 228.029520| 228.232472 | 228.435424| 228.638376| 228.841328| 229.044280| 229.247232| 229.450184 | 229.653136| 229.856088|1008.782272| 0.369549| 570.316819 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.797048. ========================================================================== 20| | | | | 226.017340| 226.220808 | 226.424276| 226.627744| 226.831212| 570.316912| 228.034680| 228.238148 | 228.441616| 228.645084| 228.848552| 229.052020| 229.255488| 229.458956 | 229.662424| 229.865892|1009.058848| 0.039604| 570.277308 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.796532. ========================================================================== 21| | | | | | 226.220808 | 226.424276| 226.627744| 226.831212| 570.316912| 228.034680| 228.238148 | 228.441616| 228.645084| 228.848552| 229.052020| 229.255488| 229.458956 | 229.662424| 229.865892|1235.076188| 32.327795| 537.989117 |----------------------------------------------------------------------- | Count after eliminating 5 and transferring votes. All losing | candidates are eliminated. ========================================================================== 22| | | | | | 226.491708 | 226.740326| 226.988944| 227.237562| 537.989512| 228.486180| 228.734798 | 228.983416| 229.232034| 229.480652| 229.729270| 229.977888| 230.226506 | 230.475124| 230.723742|1259.502338| 3.489845| 534.499667 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.751382. ========================================================================== 23| | | | | | 226.520952 | 226.774444| 227.027936| 227.281428| 534.499728| 228.534920| 228.788412 | 229.041904| 229.295396| 229.548888| 229.802380| 230.055872| 230.309364 | 230.562856| 230.816348|1262.139172| 0.376752| 534.122976 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.746508. ========================================================================== 24| | | | | | 226.524108 | 226.778126| 227.032144| 227.286162| 534.123112| 228.540180| 228.794198 | 229.048216| 229.302234| 229.556252| 229.810270| 230.064288| 230.318306 | 230.572324| 230.826342|1262.423738| 0.040788| 534.082324 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.745982. ========================================================================== 25| | | | | | | 226.778126| 227.032144| 227.286162| 534.123112| 228.540180| 228.794198 | 229.048216| 229.302234| 229.556252| 229.810270| 230.064288| 230.318306 | 230.572324| 230.826342|1488.947846| 32.401375| 501.721737 |----------------------------------------------------------------------- | Count after eliminating 6 and transferring votes. All losing | candidates are eliminated. ========================================================================== 26| | | | | | | 227.094897| 227.394168| 227.693439| 501.721964| 228.992710| 229.291981 | 229.591252| 229.890523| 230.189794| 230.489065| 230.788336| 231.087607 | 231.386878| 231.686149|1513.701237| 3.536426| 498.185538 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.700729. ========================================================================== 27| | | | | | | 227.129470| 227.433680| 227.737890| 498.185640| 229.042100| 229.346310 | 229.650520| 229.954730| 230.258940| 230.563150| 230.867360| 231.171570 | 231.475780| 231.779990|1516.402870| 0.386049| 497.799591 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.695790. ========================================================================== 28| | | | | | | 227.133243| 227.437992| 227.742741| 497.799716| 229.047490| 229.352239 | 229.656988| 229.961737| 230.266486| 230.571235| 230.875984| 231.180733 | 231.485482| 231.790231|1516.697703| 0.042244| 497.757472 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.695251. ========================================================================== 29| | | | | | | | 227.437992| 227.742741| 497.799716| 229.047490| 229.352239 | 229.656988| 229.961737| 230.266486| 230.571235| 230.875984| 231.180733 | 231.485482| 231.790231|1743.830946| 32.489851| 465.309865 |----------------------------------------------------------------------- | Count after eliminating 7 and transferring votes. All losing | candidates are eliminated. ========================================================================== 30| | | | | | | | 227.801000| 228.151125| 465.310500| 229.501250| 229.851375 | 230.201500| 230.551625| 230.901750| 231.251875| 231.602000| 231.952125 | 232.302250| 232.652375|1768.969250| 3.591821| 461.718679 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.649875. ========================================================================== 31| | | | | | | | 227.841128| 228.196269| 461.719044| 229.551410| 229.906551 | 230.261692| 230.616833| 230.971974| 231.327115| 231.682256| 232.037397 | 232.392538| 232.747679|1771.748114| 0.397345| 461.321699 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.644859. ========================================================================== 32| | | | | | | | 227.845560| 228.201255| 461.322380| 229.556950| 229.912645 | 230.268340| 230.624035| 230.979730| 231.335425| 231.691120| 232.046815 | 232.402510| 232.758205|1772.055030| 0.044527| 461.277853 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.644305. ========================================================================== 33| | | | | | | | | 228.201255| 461.322380| 229.556950| 229.912645 | 230.268340| 230.624035| 230.979730| 231.335425| 231.691120| 232.046815 | 232.402510| 232.758205|1999.900590| 32.593892| 428.728488 |----------------------------------------------------------------------- | Count after eliminating 8 and transferring votes. All losing | candidates are eliminated. ========================================================================== 34| | | | | | | | | 228.610953| 428.728628| 230.012170| 230.413387 | 230.814604| 231.215821| 231.617038| 232.018255| 232.419472| 232.820689 | 233.221906| 233.623123|2025.483954| 3.654907| 425.073721 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.598783. ========================================================================== 35| | | | | | | | | 228.656889| 425.074164| 230.063210| 230.469531 | 230.875852| 231.282173| 231.688494| 232.094815| 232.501136| 232.907457 | 233.313778| 233.720099|2028.352402| 0.410221| 424.663943 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.593679. ========================================================================== 36| | | | | | | | | | 425.074164| 230.063210| 230.469531 | 230.875852| 231.282173| 231.688494| 232.094815| 232.501136| 232.907457 | 233.313778| 233.720099|2257.009291| 33.075491| 391.998673 |----------------------------------------------------------------------- | Count after eliminating 9 and transferring votes. All losing | candidates are eliminated. ========================================================================== 37| | | | | | | | | | 391.999260| 230.525150| 230.977665 | 231.430180| 231.882695| 232.335210| 232.787725| 233.240240| 233.692755 | 234.145270| 234.597785|2283.386065| 3.768697| 388.230563 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.547485. ========================================================================== 38| | | | | | | | | | 388.230952| 230.577780| 231.035558 | 231.493336| 231.951114| 232.408892| 232.866670| 233.324448| 233.782226 | 234.240004| 234.697782|2286.391238| 0.429700| 387.801252 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.542222. ========================================================================== 39| | | | | | | | | | 388.230952| | 231.035558 | 231.493336| 231.951114| 232.408892| 232.866670| 233.324448| 233.782226 | 234.240004| 234.697782|2516.969018| 33.369383| 354.861569 |----------------------------------------------------------------------- | Count after eliminating 11 and transferring votes. All losing | candidates are eliminated. ========================================================================== 40| | | | | | | | | | 354.861772| | 231.548213 | 232.052596| 232.556979| 233.061362| 233.565745| 234.070128| 234.574511 | 235.078894| 235.583277|2544.046523| 3.868418| 350.993354 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.495617. ========================================================================== 41| | | | | | | | | | 350.993940| | 231.607635 | 232.117420| 232.627205| 233.136990| 233.646775| 234.156560| 234.666345 | 235.176130| 235.685915|2547.185085| 0.448952| 350.544988 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.490215. ========================================================================== 42| | | | | | | | | | 350.993940| | | 232.117420| 232.627205| 233.136990| 233.646775| 234.156560| 234.666345 | 235.176130| 235.685915|2778.792720| 33.535757| 317.458183 |----------------------------------------------------------------------- | Count after eliminating 12 and transferring votes. All losing | candidates are eliminated. ========================================================================== 43| | | | | | | | | | 317.458648| | | 232.679464| 233.236086| 233.792708| 234.349330| 234.905952| 235.462574 | 236.019196| 236.575818|2806.520224| 3.961537| 313.497111 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.443378. ========================================================================== 44| | | | | | | | | | 313.497736| | | 232.745848| 233.308002| 233.870156| 234.432310| 234.994464| 235.556618 | 236.118772| 236.680926|2809.795168| 0.468474| 313.029262 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.437846. ========================================================================== 45| | | | | | | | | | 313.497736| | | | 233.308002| 233.870156| 234.432310| 234.994464| 235.556618 | 236.118772| 236.680926|3042.541016| 33.717881| 279.779855 |----------------------------------------------------------------------- | Count after eliminating 13 and transferring votes. All losing | candidates are eliminated. ========================================================================== 46| | | | | | | | | | 279.779864| | | | 233.920198| 234.529444| 235.138690| 235.747936| 236.357182 | 236.966428| 237.575674|3070.984584| 4.063375| 275.716489 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.390754. ========================================================================== 47| | | | | | | | | | 275.716564| | | | 233.993973| 234.608894| 235.223815| 235.838736| 236.453657 | 237.068578| 237.683499|3074.412284| 0.489747| 275.226817 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.385079. ========================================================================== 48| | | | | | | | | | 275.716564| | | | | 234.608894| 235.223815| 235.838736| 236.453657 | 237.068578| 237.683499|3308.406257| 33.917457| 241.799107 |----------------------------------------------------------------------- | Count after eliminating 14 and transferring votes. All losing | candidates are eliminated. ========================================================================== 49| | | | | | | | | | 241.799644| | | | | 235.272074| 235.934365| 236.596656| 237.258947 | 237.921238| 238.583529|3337.633547| 5.433071| 237.623780 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.337709. Candidates 19 and 20 have | reached the threshold and are elected. ========================================================================== 50| | | | | | | | | | 237.623932| | | | | 235.353722| 236.021845| 236.689968| 237.358091 | 237.728681| 237.734308|3342.489453| 2.724696| 236.930079 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.331877; 19, 0.998750; and 20, | 0.995978. Candidate 18 has reached the threshold and is elected. ========================================================================== 51| | | | | | | | | | 236.930128| | | | | 235.367288| 236.036380| 236.705472| 236.946577 | 236.947464| 236.948422|3345.118269| 1.705393| 236.554534 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.330908; 18, 0.998197; 19, 0.995395; | and 20, 0.992609. Candidate 17 has reached the threshold and is | elected. ========================================================================== 52| | | | | | | | | | 236.554944| | | | | 235.374624| 236.044240| 236.563069| 236.563549 | 236.564065| 236.564412|3346.771097| 1.217964| 236.318415 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.330384; 17, 0.999363; 18, 0.996546; | 19, 0.993745; and 20, 0.990959. ========================================================================== 53| | | | | | | | | | 236.318664| | | | | 235.379244| 236.049190| 236.323815| 236.324154 | 236.324529| 236.324734|3347.955670| 0.869941| 236.149191 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.330054; 17, 0.998330; 18, 0.995514; | 19, 0.992714; and 20, 0.989929. ========================================================================== 54| | | | | | | | | | 236.149688| | | | | 235.382548| 236.052730| 236.153119| 236.153189 | 236.153532| 236.153704|3348.801490| 0.645808| 236.028359 |----------------------------------------------------------------------- | Count after transferring surplus votes. Keep factors of candidates who | have exceeded the threshold: 10, 0.329818; 17, 0.997593; 18, 0.994777; | 19, 0.991978; and 20, 0.989194. Candidate 16 has reached the threshold | and is elected. Winners are 10, 16, 17, 18, 19, and 20.
Files
edit- blt: https://github.com/dominic998/SecurePoll-Test-Data/blob/main/test_data/20_6_5001_819859726.blt
- php:
array ( 3 => array ( 'count' => 225, 'rank' => array ( 1 => 3, ), ), 20 => array ( 'count' => 226, 'rank' => array ( 1 => 20, ), ), 1 => array ( 'count' => 225, 'rank' => array ( 1 => 1, ), ), 18 => array ( 'count' => 226, 'rank' => array ( 1 => 18, ), ), 7 => array ( 'count' => 225, 'rank' => array ( 1 => 7, ), ), 16 => array ( 'count' => 226, 'rank' => array ( 1 => 16, ), ), 17 => array ( 'count' => 226, 'rank' => array ( 1 => 17, ), ), 2 => array ( 'count' => 225, 'rank' => array ( 1 => 2, ), ), 11 => array ( 'count' => 226, 'rank' => array ( 1 => 11, ), ), 5 => array ( 'count' => 225, 'rank' => array ( 1 => 5, ), ), 8 => array ( 'count' => 225, 'rank' => array ( 1 => 8, ), ), '10_11' => array ( 'count' => 10, 'rank' => array ( 1 => 10, 2 => 11, ), ), 13 => array ( 'count' => 226, 'rank' => array ( 1 => 13, ), ), 12 => array ( 'count' => 226, 'rank' => array ( 1 => 12, ), ), 6 => array ( 'count' => 225, 'rank' => array ( 1 => 6, ), ), '10_9' => array ( 'count' => 9, 'rank' => array ( 1 => 10, 2 => 9, ), ), '10_15' => array ( 'count' => 14, 'rank' => array ( 1 => 10, 2 => 15, ), ), 9 => array ( 'count' => 225, 'rank' => array ( 1 => 9, ), ), 4 => array ( 'count' => 225, 'rank' => array ( 1 => 4, ), ), 19 => array ( 'count' => 226, 'rank' => array ( 1 => 19, ), ), '10_20' => array ( 'count' => 19, 'rank' => array ( 1 => 10, 2 => 20, ), ), 14 => array ( 'count' => 226, 'rank' => array ( 1 => 14, ), ), 15 => array ( 'count' => 226, 'rank' => array ( 1 => 15, ), ), '10_5' => array ( 'count' => 5, 'rank' => array ( 1 => 10, 2 => 5, ), ), '10_18' => array ( 'count' => 17, 'rank' => array ( 1 => 10, 2 => 18, ), ), '10_16' => array ( 'count' => 15, 'rank' => array ( 1 => 10, 2 => 16, ), ), '10_17' => array ( 'count' => 16, 'rank' => array ( 1 => 10, 2 => 17, ), ), '10_19' => array ( 'count' => 18, 'rank' => array ( 1 => 10, 2 => 19, ), ), '10_2' => array ( 'count' => 2, 'rank' => array ( 1 => 10, 2 => 2, ), ), '10_8' => array ( 'count' => 8, 'rank' => array ( 1 => 10, 2 => 8, ), ), '10_7' => array ( 'count' => 7, 'rank' => array ( 1 => 10, 2 => 7, ), ), '10_3' => array ( 'count' => 3, 'rank' => array ( 1 => 10, 2 => 3, ), ), '10_1' => array ( 'count' => 1, 'rank' => array ( 1 => 10, 2 => 1, ), ), '10_6' => array ( 'count' => 6, 'rank' => array ( 1 => 10, 2 => 6, ), ), '10_4' => array ( 'count' => 4, 'rank' => array ( 1 => 10, 2 => 4, ), ), '10_14' => array ( 'count' => 13, 'rank' => array ( 1 => 10, 2 => 14, ), ), '10_13' => array ( 'count' => 12, 'rank' => array ( 1 => 10, 2 => 13, ), ), '10_12' => array ( 'count' => 11, 'rank' => array ( 1 => 10, 2 => 12, ), ), 10 => array ( 'count' => 526, 'rank' => array ( 1 => 10, ), ), )
Environment
edit- Where you tested: local docker using phpunit
- Version of SecurePoll: commit 2ec357fdb086cece986d60d1b34759968c075c65 (patchset 15 from https://gerrit.wikimedia.org/r/c/mediawiki/extensions/SecurePoll/+/704454)