Jump to content

Anti-Harassment Tools/SecurePoll Improvements/Test Results/20 6 5100 319413701

From mediawiki.org

Comments

[edit]

SecurePoll eliminates all candidates. I assume this is because all the candidates have equal votes. In this case, I think we plan to defer to the election admins how to proceed.

This is possibly the same/similar to 20_6_5000_2048397232 and 5_3_100.

Election setup

[edit]
  • Candidates: 20
  • Seats: 6
  • Votes: 5100

Actual results latest

[edit]

Output from SecurePoll tally.php: /actual

Output from SecurePoll var_export( $this->tallier->resultsLog );: https://github.com/dominic998/SecurePoll-Test-Data/blob/main/test_data/20_6_5100_319413701.blt.php

SecurePoll tally page: https://vote.wikimedia.beta.wmflabs.org/wiki/Special:SecurePoll/tally/2210

Actual results archive

[edit]

/archive

Expected

[edit]

Output from OpenSTV:

Loading ballots from file 20_6_5100_319413701.blt.
Ballot file contains 20 candidates and 5100 ballots.
No candidates have withdrawn.
Ballot file contains 5100 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| 255.000000| 255.000000| 255.000000| 255.000000| 255.000000| 255.000000
  | 255.000000| 255.000000| 255.000000| 255.000000| 255.000000| 255.000000
  | 255.000000| 255.000000| 255.000000| 255.000000| 255.000000| 255.000000
  | 255.000000| 255.000000|   0.000000|   0.000000| 728.571429
  |-----------------------------------------------------------------------
  | Count of first choices.
==========================================================================
 2| 272.000000| 263.000000| 264.000000| 263.000000| 270.000000| 276.000000
  | 268.000000| 272.000000| 271.000000| 268.000000| 264.000000| 272.000000
  | 268.000000| 265.000000| 269.000000| 271.000000| 271.000000| 265.000000
  | 268.000000|           |   0.000000|   0.000000| 728.571429
  |-----------------------------------------------------------------------
  | Count after eliminating 20 and transferring votes. All losing
  | candidates are eliminated. Candidates 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
  | 11, 12, 13, 14, 15, 16, 17, 18, 19, and 20 were tied when choosing
  | candidates to eliminate. Candidate 20 was chosen by breaking the tie
  | randomly.
==========================================================================
 3| 286.000000|           | 276.000000| 278.000000| 287.000000| 297.000000
  | 285.000000| 282.000000| 279.000000| 282.000000| 284.000000| 288.000000
  | 279.000000| 277.000000| 280.000000| 282.000000| 289.000000| 289.000000
  | 280.000000|           |   0.000000|   0.000000| 728.571429
  |-----------------------------------------------------------------------
  | Count after eliminating 2 and transferring votes. All losing
  | candidates are eliminated. Candidates 2 and 4 were tied when choosing
  | candidates to eliminate. Candidate 2 was chosen by breaking the tie
  | randomly.
==========================================================================
 4| 304.000000|           |           | 295.000000| 303.000000| 311.000000
  | 308.000000| 303.000000| 293.000000| 302.000000| 297.000000| 310.000000
  | 291.000000| 290.000000| 291.000000| 297.000000| 301.000000| 309.000000
  | 295.000000|           |   0.000000|   0.000000| 728.571429
  |-----------------------------------------------------------------------
  | Count after eliminating 3 and transferring votes. All losing
  | candidates are eliminated.
==========================================================================
 5| 326.000000|           |           | 311.000000| 318.000000| 325.000000
  | 326.000000| 327.000000| 312.000000| 316.000000| 320.000000| 329.000000
  | 308.000000|           | 310.000000| 313.000000| 319.000000| 326.000000
  | 314.000000|           |   0.000000|   0.000000| 728.571429
  |-----------------------------------------------------------------------
  | Count after eliminating 14 and transferring votes. All losing
  | candidates are eliminated.
==========================================================================
 6| 347.000000|           |           | 335.000000| 339.000000| 352.000000
  | 353.000000| 347.000000| 330.000000| 327.000000| 340.000000| 352.000000
  |           |           | 333.000000| 335.000000| 335.000000| 341.000000
  | 334.000000|           |   0.000000|   0.000000| 728.571429
  |-----------------------------------------------------------------------
  | Count after eliminating 13 and transferring votes. All losing
  | candidates are eliminated.
==========================================================================
 7| 372.000000|           |           | 360.000000| 364.000000| 365.000000
  | 373.000000| 370.000000| 349.000000|           | 372.000000| 376.000000
  |           |           | 360.000000| 356.000000| 365.000000| 363.000000
  | 355.000000|           |   0.000000|   0.000000| 728.571429
  |-----------------------------------------------------------------------
  | Count after eliminating 10 and transferring votes. All losing
  | candidates are eliminated.
==========================================================================
 8| 401.000000|           |           | 383.000000| 390.000000| 390.000000
  | 403.000000| 397.000000|           |           | 402.000000| 406.000000
  |           |           | 387.000000| 381.000000| 382.000000| 386.000000
  | 392.000000|           |   0.000000|   0.000000| 728.571429
  |-----------------------------------------------------------------------
  | Count after eliminating 9 and transferring votes. All losing
  | candidates are eliminated.
==========================================================================
 9| 422.000000|           |           | 424.000000| 420.000000| 429.000000
  | 443.000000| 433.000000|           |           | 428.000000| 432.000000
  |           |           | 418.000000|           | 417.000000| 409.000000
  | 425.000000|           |   0.000000|   0.000000| 728.571429
  |-----------------------------------------------------------------------
  | Count after eliminating 16 and transferring votes. All losing
  | candidates are eliminated.
==========================================================================
10| 463.000000|           |           | 466.000000| 458.000000| 462.000000
  | 472.000000| 490.000000|           |           | 459.000000| 461.000000
  |           |           | 459.000000|           | 452.000000|           
  | 458.000000|           |   0.000000|   0.000000| 728.571429
  |-----------------------------------------------------------------------
  | Count after eliminating 18 and transferring votes. All losing
  | candidates are eliminated.
==========================================================================
11| 496.000000|           |           | 511.000000| 497.000000| 508.000000
  | 520.000000| 534.000000|           |           | 510.000000| 508.000000
  |           |           | 500.000000|           |           |           
  | 516.000000|           |   0.000000|   0.000000| 728.571429
  |-----------------------------------------------------------------------
  | Count after eliminating 17 and transferring votes. All losing
  | candidates are eliminated.
==========================================================================
12|           |           |           | 565.000000| 553.000000| 561.000000
  | 567.000000| 574.000000|           |           | 567.000000| 563.000000
  |           |           | 562.000000|           |           |           
  | 588.000000|           |   0.000000|   0.000000| 728.571429
  |-----------------------------------------------------------------------
  | Count after eliminating 1 and transferring votes. All losing
  | candidates are eliminated.
==========================================================================
13|           |           |           | 638.000000|           | 630.000000
  | 647.000000| 637.000000|           |           | 645.000000| 622.000000
  |           |           | 621.000000|           |           |           
  | 660.000000|           |   0.000000|   0.000000| 728.571429
  |-----------------------------------------------------------------------
  | Count after eliminating 5 and transferring votes. All losing
  | candidates are eliminated.
==========================================================================
14|           |           |           | 716.000000|           | 713.000000
  | 739.000000| 723.000000|           |           | 739.000000| 711.000000
  |           |           |           |           |           |           
  | 759.000000|           |   0.000000|  51.285713| 728.571429
  |-----------------------------------------------------------------------
  | Count after eliminating 15 and transferring votes. All losing
  | candidates are eliminated. Candidates 7, 11, and 19 have reached the
  | threshold and are elected.
==========================================================================
15|           |           |           | 724.261850|           | 721.754948
  | 735.732460| 731.366316|           |           | 735.396763| 719.504266
  |           |           |           |           |           |           
  | 731.982825|           |   0.000572|  20.192976| 728.571347
  |-----------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who
  | have exceeded the threshold: 7, 0.985889; 11, 0.985889; and 19,
  | 0.959910. Candidate 8 has reached the threshold and is elected.
==========================================================================
16|           |           |           | 727.528530|           | 725.152931
  | 730.742798| 731.479279|           |           | 730.872305| 722.908009
  |           |           |           |           |           |           
  | 731.306914|           |   0.009234|  10.120856| 728.570110
  |-----------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who
  | have exceeded the threshold: 7, 0.976294; 8, 0.996179; 11, 0.976739;
  | and 19, 0.955437.
==========================================================================
17|           |           |           | 729.211299|           | 726.864236
  | 729.859048| 729.761527|           |           | 729.892130| 724.620745
  |           |           |           |           |           |           
  | 729.772779|           |   0.018236|   5.652663| 728.568824
  |-----------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who
  | have exceeded the threshold: 7, 0.973392; 8, 0.992218; 11, 0.973663;
  | and 19, 0.951862. Candidate 4 has reached the threshold and is
  | elected.
==========================================================================
18|           |           |           | 729.396097|           | 727.816449
  | 729.294557| 729.310683|           |           | 729.285580| 725.586839
  |           |           |           |           |           |           
  | 729.287744|           |   0.022051|   3.733266| 728.568279
  |-----------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who
  | have exceeded the threshold: 4, 0.999119; 7, 0.971672; 8, 0.990597;
  | 11, 0.971898; and 19, 0.950292.
==========================================================================
19|           |           |           | 729.049430|           | 728.443152
  | 729.075100| 729.066800|           |           | 729.057292| 726.230341
  |           |           |           |           |           |           
  | 729.053084|           |   0.024801|   2.462276| 728.567886
  |-----------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who
  | have exceeded the threshold: 4, 0.997986; 7, 0.970705; 8, 0.989589;
  | 11, 0.970943; and 19, 0.949355.
==========================================================================
20|           |           |           | 728.895260|           | 728.857356
  | 728.896135| 728.894746|           |           | 728.889648| 726.654228
  |           |           |           |           |           |           
  | 728.886808|           |   0.025819|   1.913507| 728.567741
  |-----------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who
  | have exceeded the threshold: 4, 0.997327; 7, 0.970030; 8, 0.988912;
  | 11, 0.970292; and 19, 0.948724. Candidate 6 has reached the threshold
  | and is elected.

Winners are 4, 6, 7, 8, 11, and 19.

Files

[edit]

Environment

[edit]
  • Where you tested: local docker and beta
  • Latest version of SecurePoll tested: 3.0.0 (624ef32) 00:10, 28 September 2021.