Anti-Harassment Tools/SecurePoll Improvements/Test Results/20 6 5000 2048397232

Comments
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_5100_319413701 and 5_3_100.

Election setup

 * Candidates: 20
 * Seats: 6
 * Votes: 5000

Actual
Output of SecurePoll :

= Actual Tally: Secure Poll =

Elected
Election for 6 seats with 20 candidates. Total 5,000 votes.


 * 1) This seat could not be filled because no candidates fulfill the criteria. The last eliminated candidates were: "1", "12", "19", "18", "17", "16", "15", "14", "13", "11", "2", "10", "9", "8", "7", "6", "5", "4", "3", "20"
 * 2) This seat could not be filled because no candidates fulfill the criteria. The last eliminated candidates were: "1", "12", "19", "18", "17", "16", "15", "14", "13", "11", "2", "10", "9", "8", "7", "6", "5", "4", "3", "20"
 * 3) This seat could not be filled because no candidates fulfill the criteria. The last eliminated candidates were: "1", "12", "19", "18", "17", "16", "15", "14", "13", "11", "2", "10", "9", "8", "7", "6", "5", "4", "3", "20"
 * 4) This seat could not be filled because no candidates fulfill the criteria. The last eliminated candidates were: "1", "12", "19", "18", "17", "16", "15", "14", "13", "11", "2", "10", "9", "8", "7", "6", "5", "4", "3", "20"
 * 5) This seat could not be filled because no candidates fulfill the criteria. The last eliminated candidates were: "1", "12", "19", "18", "17", "16", "15", "14", "13", "11", "2", "10", "9", "8", "7", "6", "5", "4", "3", "20"
 * 6) This seat could not be filled because no candidates fulfill the criteria. The last eliminated candidates were: "1", "12", "19", "18", "17", "16", "15", "14", "13", "11", "2", "10", "9", "8", "7", "6", "5", "4", "3", "20"

Eliminated/Not elected

 * "1"
 * "12"
 * "19"
 * "18"
 * "17"
 * "16"
 * "15"
 * "14"
 * "13"
 * "11"
 * "2"
 * "10"
 * "9"
 * "8"
 * "7"
 * "6"
 * "5"
 * "4"
 * "3"
 * "20"

Rounds table
The 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. (Results from 04:09, 1 September 2021)

Navigation menu

 * Admin
 * Talk
 * Preferences
 * Watchlist
 * Contributions
 * Log out


 * Special page


 * Main page
 * Recent changes
 * Random page
 * Help about MediaWiki

Tools

 * Special pages
 * Printable version

Expected
Output from OpenSTV: https://phabricator.wikimedia.org/P16903

Files
array ( '19_17_9_1_3_11_4_14_16_12_15_10_20_7_2_13_6_8_18_5' =>   array ( 'count' => 250, 'rank' => array (     1 => 19,      2 => 17,      3 => 9,      4 => 1,      5 => 3,      6 => 11,      7 => 4,      8 => 14,      9 => 16,      10 => 12,      11 => 15,      12 => 10,      13 => 20,      14 => 7,      15 => 2,      16 => 13,      17 => 6,      18 => 8,      19 => 18,      20 => 5,    ), ), '11_17_9_1_3_16_4_14_19_12_15_10_20_7_2_13_6_8_18_5' =>   array ( 'count' => 250, 'rank' => array (     1 => 11,      2 => 17,      3 => 9,      4 => 1,      5 => 3,      6 => 16,      7 => 4,      8 => 14,      9 => 19,      10 => 12,      11 => 15,      12 => 10,      13 => 20,      14 => 7,      15 => 2,      16 => 13,      17 => 6,      18 => 8,      19 => 18,      20 => 5,    ), ), '13_17_9_1_3_11_4_14_19_12_15_10_20_7_2_16_6_8_18_5' =>   array ( 'count' => 250, 'rank' => array (     1 => 13,      2 => 17,      3 => 9,      4 => 1,      5 => 3,      6 => 11,      7 => 4,      8 => 14,      9 => 19,      10 => 12,      11 => 15,      12 => 10,      13 => 20,      14 => 7,      15 => 2,      16 => 16,      17 => 6,      18 => 8,      19 => 18,      20 => 5,    ), ), '4_17_9_1_3_11_16_14_19_12_15_10_20_7_2_13_6_8_18_5' =>   array ( 'count' => 250, 'rank' => array (     1 => 4,      2 => 17,      3 => 9,      4 => 1,      5 => 3,      6 => 11,      7 => 16,      8 => 14,      9 => 19,      10 => 12,      11 => 15,      12 => 10,      13 => 20,      14 => 7,      15 => 2,      16 => 13,      17 => 6,      18 => 8,      19 => 18,      20 => 5,    ), ), '10_17_9_1_3_11_4_14_19_12_15_16_20_7_2_13_6_8_18_5' =>   array ( 'count' => 250, 'rank' => array (     1 => 10,      2 => 17,      3 => 9,      4 => 1,      5 => 3,      6 => 11,      7 => 4,      8 => 14,      9 => 19,      10 => 12,      11 => 15,      12 => 16,      13 => 20,      14 => 7,      15 => 2,      16 => 13,      17 => 6,      18 => 8,      19 => 18,      20 => 5,    ), ), '14_17_9_1_3_11_4_16_19_12_15_10_20_7_2_13_6_8_18_5' =>   array ( 'count' => 250, 'rank' => array (     1 => 14,      2 => 17,      3 => 9,      4 => 1,      5 => 3,      6 => 11,      7 => 4,      8 => 16,      9 => 19,      10 => 12,      11 => 15,      12 => 10,      13 => 20,      14 => 7,      15 => 2,      16 => 13,      17 => 6,      18 => 8,      19 => 18,      20 => 5,    ), ), '6_17_9_1_3_11_4_14_19_12_15_10_20_7_2_13_16_8_18_5' =>   array ( 'count' => 250, 'rank' => array (     1 => 6,      2 => 17,      3 => 9,      4 => 1,      5 => 3,      6 => 11,      7 => 4,      8 => 14,      9 => 19,      10 => 12,      11 => 15,      12 => 10,      13 => 20,      14 => 7,      15 => 2,      16 => 13,      17 => 16,      18 => 8,      19 => 18,      20 => 5,    ), ), '2_17_9_1_3_11_4_14_19_12_15_10_20_7_16_13_6_8_18_5' =>   array ( 'count' => 250, 'rank' => array (     1 => 2,      2 => 17,      3 => 9,      4 => 1,      5 => 3,      6 => 11,      7 => 4,      8 => 14,      9 => 19,      10 => 12,      11 => 15,      12 => 10,      13 => 20,      14 => 7,      15 => 16,      16 => 13,      17 => 6,      18 => 8,      19 => 18,      20 => 5,    ), ), '5_17_9_1_3_11_4_14_19_12_15_10_20_7_2_13_6_8_18_16' =>   array ( 'count' => 250, 'rank' => array (     1 => 5,      2 => 17,      3 => 9,      4 => 1,      5 => 3,      6 => 11,      7 => 4,      8 => 14,      9 => 19,      10 => 12,      11 => 15,      12 => 10,      13 => 20,      14 => 7,      15 => 2,      16 => 13,      17 => 6,      18 => 8,      19 => 18,      20 => 16,    ), ), '17_16_9_1_3_11_4_14_19_12_15_10_20_7_2_13_6_8_18_5' =>   array ( 'count' => 250, 'rank' => array (     1 => 17,      2 => 16,      3 => 9,      4 => 1,      5 => 3,      6 => 11,      7 => 4,      8 => 14,      9 => 19,      10 => 12,      11 => 15,      12 => 10,      13 => 20,      14 => 7,      15 => 2,      16 => 13,      17 => 6,      18 => 8,      19 => 18,      20 => 5,    ), ), '3_17_9_1_16_11_4_14_19_12_15_10_20_7_2_13_6_8_18_5' =>   array ( 'count' => 250, 'rank' => array (     1 => 3,      2 => 17,      3 => 9,      4 => 1,      5 => 16,      6 => 11,      7 => 4,      8 => 14,      9 => 19,      10 => 12,      11 => 15,      12 => 10,      13 => 20,      14 => 7,      15 => 2,      16 => 13,      17 => 6,      18 => 8,      19 => 18,      20 => 5,    ), ), '1_17_9_16_3_11_4_14_19_12_15_10_20_7_2_13_6_8_18_5' =>   array ( 'count' => 250, 'rank' => array (     1 => 1,      2 => 17,      3 => 9,      4 => 16,      5 => 3,      6 => 11,      7 => 4,      8 => 14,      9 => 19,      10 => 12,      11 => 15,      12 => 10,      13 => 20,      14 => 7,      15 => 2,      16 => 13,      17 => 6,      18 => 8,      19 => 18,      20 => 5,    ), ), '18_17_9_1_3_11_4_14_19_12_15_10_20_7_2_13_6_8_16_5' =>   array ( 'count' => 250, 'rank' => array (     1 => 18,      2 => 17,      3 => 9,      4 => 1,      5 => 3,      6 => 11,      7 => 4,      8 => 14,      9 => 19,      10 => 12,      11 => 15,      12 => 10,      13 => 20,      14 => 7,      15 => 2,      16 => 13,      17 => 6,      18 => 8,      19 => 16,      20 => 5,    ), ), '7_17_9_1_3_11_4_14_19_12_15_10_20_16_2_13_6_8_18_5' =>   array ( 'count' => 250, 'rank' => array (     1 => 7,      2 => 17,      3 => 9,      4 => 1,      5 => 3,      6 => 11,      7 => 4,      8 => 14,      9 => 19,      10 => 12,      11 => 15,      12 => 10,      13 => 20,      14 => 16,      15 => 2,      16 => 13,      17 => 6,      18 => 8,      19 => 18,      20 => 5,    ), ), '9_17_16_1_3_11_4_14_19_12_15_10_20_7_2_13_6_8_18_5' =>   array ( 'count' => 250, 'rank' => array (     1 => 9,      2 => 17,      3 => 16,      4 => 1,      5 => 3,      6 => 11,      7 => 4,      8 => 14,      9 => 19,      10 => 12,      11 => 15,      12 => 10,      13 => 20,      14 => 7,      15 => 2,      16 => 13,      17 => 6,      18 => 8,      19 => 18,      20 => 5,    ), ), '20_17_9_1_3_11_4_14_19_12_15_10_16_7_2_13_6_8_18_5' =>   array ( 'count' => 250, 'rank' => array (     1 => 20,      2 => 17,      3 => 9,      4 => 1,      5 => 3,      6 => 11,      7 => 4,      8 => 14,      9 => 19,      10 => 12,      11 => 15,      12 => 10,      13 => 16,      14 => 7,      15 => 2,      16 => 13,      17 => 6,      18 => 8,      19 => 18,      20 => 5,    ), ), '16_17_9_1_3_11_4_14_19_12_15_10_20_7_2_13_6_8_18_5' =>   array ( 'count' => 250, 'rank' => array (     1 => 16,      2 => 17,      3 => 9,      4 => 1,      5 => 3,      6 => 11,      7 => 4,      8 => 14,      9 => 19,      10 => 12,      11 => 15,      12 => 10,      13 => 20,      14 => 7,      15 => 2,      16 => 13,      17 => 6,      18 => 8,      19 => 18,      20 => 5,    ), ), '12_17_9_1_3_11_4_14_19_16_15_10_20_7_2_13_6_8_18_5' =>   array ( 'count' => 250, 'rank' => array (     1 => 12,      2 => 17,      3 => 9,      4 => 1,      5 => 3,      6 => 11,      7 => 4,      8 => 14,      9 => 19,      10 => 16,      11 => 15,      12 => 10,      13 => 20,      14 => 7,      15 => 2,      16 => 13,      17 => 6,      18 => 8,      19 => 18,      20 => 5,    ), ), '15_17_9_1_3_11_4_14_19_12_16_10_20_7_2_13_6_8_18_5' =>   array ( 'count' => 250, 'rank' => array (     1 => 15,      2 => 17,      3 => 9,      4 => 1,      5 => 3,      6 => 11,      7 => 4,      8 => 14,      9 => 19,      10 => 12,      11 => 16,      12 => 10,      13 => 20,      14 => 7,      15 => 2,      16 => 13,      17 => 6,      18 => 8,      19 => 18,      20 => 5,    ), ), '8_17_9_1_3_11_4_14_19_12_15_10_20_7_2_13_6_16_18_5' =>   array ( 'count' => 250, 'rank' => array (     1 => 8,      2 => 17,      3 => 9,      4 => 1,      5 => 3,      6 => 11,      7 => 4,      8 => 14,      9 => 19,      10 => 12,      11 => 15,      12 => 10,      13 => 20,      14 => 7,      15 => 2,      16 => 13,      17 => 6,      18 => 16,      19 => 18,      20 => 5,    ), ), )
 * blt: https://github.com/dominic998/SecurePoll-Test-Data/blob/main/test_data/20_6_5000_2048397232.blt
 * php:

Environment

 * Where you tested: local docker using PHPUnit
 * Version of SecurePoll: commit 7456aea7198d58e058d56ed4c1fd550354803cd5 (patch 24 from https://gerrit.wikimedia.org/r/c/mediawiki/extensions/SecurePoll/+/704454/)