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

Comments
SecurePoll elects candidates 1 and 2.

OpenSTV elects 1, 2, 3, 4, 15 and 19 (the last two being random).

I think the difference is similar to 20_4_5120_824772467. SecurePoll eliminates several candidates at once if they are tied.

See also a slightly modified version of this election, 20_6_5001_1851698519, which does agree with OpenSTV (more-or-less).

Election setup

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

Actual
Output from SecurePoll : https://phabricator.wikimedia.org/P16847

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


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

Eliminated/Not elected

 * "10"
 * "9"
 * "12"
 * "13"
 * "8"
 * "7"
 * "6"
 * "5"
 * "11"
 * "19"
 * "18"
 * "17"
 * "16"
 * "15"
 * "14"
 * "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 21:27, 31 August 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 (or other): https://phabricator.wikimedia.org/P16848

Files
array ( 5 =>   array ( 'count' => 198, 'rank' => array (     1 => 5,    ), ), 15 =>   array ( 'count' => 199, 'rank' => array (     1 => 15,    ), ), 8 =>   array ( 'count' => 198, 'rank' => array (     1 => 8,    ), ), 9 =>   array ( 'count' => 198, 'rank' => array (     1 => 9,    ), ), 19 =>   array ( 'count' => 199, 'rank' => array (     1 => 19,    ), ), 1 =>   array ( 'count' => 714, 'rank' => array (     1 => 1,    ), ), 18 =>   array ( 'count' => 199, 'rank' => array (     1 => 18,    ), ), '2_4' =>   array ( 'count' => 200, 'rank' => array (     1 => 2,      2 => 4,    ), ), 11 =>   array ( 'count' => 198, 'rank' => array (     1 => 11,    ), ), 7 =>   array ( 'count' => 198, 'rank' => array (     1 => 7,    ), ), 4 =>   array ( 'count' => 198, 'rank' => array (     1 => 4,    ), ), 20 =>   array ( 'count' => 199, 'rank' => array (     1 => 20,    ), ), 3 =>   array ( 'count' => 198, 'rank' => array (     1 => 3,    ), ), 13 =>   array ( 'count' => 198, 'rank' => array (     1 => 13,    ), ), 14 =>   array ( 'count' => 199, 'rank' => array (     1 => 14,    ), ), 17 =>   array ( 'count' => 199, 'rank' => array (     1 => 17,    ), ), 10 =>   array ( 'count' => 198, 'rank' => array (     1 => 10,    ), ), 16 =>   array ( 'count' => 199, 'rank' => array (     1 => 16,    ), ), 6 =>   array ( 'count' => 198, 'rank' => array (     1 => 6,    ), ), 12 =>   array ( 'count' => 198, 'rank' => array (     1 => 12,    ), ), '2_1' =>   array ( 'count' => 286, 'rank' => array (     1 => 2,      2 => 1,    ), ), '2_3' =>   array ( 'count' => 229, 'rank' => array (     1 => 2,      2 => 3,    ), ), )
 * blt: https://github.com/dominic998/SecurePoll-Test-Data/blob/main/test_data/20_6_5000_1301235635.blt
 * php:

Environment

 * Where you tested: local docker using phpunit
 * Version of SecurePoll: commit 271145d5f3cae3b0a1b76d0f5dfeb609615d60b7 (patch 16 from https://gerrit.wikimedia.org/r/c/mediawiki/extensions/SecurePoll/+/704454/)