Anti-Harassment Tools/SecurePoll Improvements/Test Results/20 9 5200 704404317

Comments
SecurePoll and OpenSTV agree on elected candidates.

Election setup

 * Candidates: 20
 * Seats: 9
 * Votes: 5200

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

Elected
Election for 9 seats with 20 candidates. Total 5,200 votes.


 * 1) "1"
 * 2) "2"
 * 3) "3"
 * 4) "4"
 * 5) "5"
 * 6) "6"
 * 7) "7"
 * 8) "8"
 * 9) "9"

Eliminated/Not elected

 * "15"
 * "16"
 * "17"
 * "18"
 * "19"
 * "20"
 * "12"
 * "14"
 * "11"
 * "10"
 * "13"

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 03:51, 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/P16887

Files
array ( '1_9' =>   array ( 'count' => 1, 'rank' => array (     1 => 1,      2 => 9,    ), ), 13 =>   array ( 'count' => 200, 'rank' => array (     1 => 13,    ), ), 10 =>   array ( 'count' => 200, 'rank' => array (     1 => 10,    ), ), '4_9' =>   array ( 'count' => 1, 'rank' => array (     1 => 4,      2 => 9,    ), ), '2_9' =>   array ( 'count' => 1, 'rank' => array (     1 => 2,      2 => 9,    ), ), 11 =>   array ( 'count' => 191, 'rank' => array (     1 => 11,    ), ), 1 =>   array ( 'count' => 520, 'rank' => array (     1 => 1,    ), ), '5_9' =>   array ( 'count' => 1, 'rank' => array (     1 => 5,      2 => 9,    ), ), '7_9' =>   array ( 'count' => 1, 'rank' => array (     1 => 7,      2 => 9,    ), ), 5 =>   array ( 'count' => 520, 'rank' => array (     1 => 5,    ), ), '3_9' =>   array ( 'count' => 1, 'rank' => array (     1 => 3,      2 => 9,    ), ), 9 =>   array ( 'count' => 200, 'rank' => array (     1 => 9,    ), ), '6_9' =>   array ( 'count' => 1, 'rank' => array (     1 => 6,      2 => 9,    ), ), 2 =>   array ( 'count' => 520, 'rank' => array (     1 => 2,    ), ), 14 =>   array ( 'count' => 121, 'rank' => array (     1 => 14,    ), ), 4 =>   array ( 'count' => 520, 'rank' => array (     1 => 4,    ), ), '8_9' =>   array ( 'count' => 1, 'rank' => array (     1 => 8,      2 => 9,    ), ), 7 =>   array ( 'count' => 520, 'rank' => array (     1 => 7,    ), ), 6 =>   array ( 'count' => 520, 'rank' => array (     1 => 6,    ), ), 12 =>   array ( 'count' => 120, 'rank' => array (     1 => 12,    ), ), 3 =>   array ( 'count' => 520, 'rank' => array (     1 => 3,    ), ), 8 =>   array ( 'count' => 520, 'rank' => array (     1 => 8,    ), ), )
 * blt: https://github.com/dominic998/SecurePoll-Test-Data/blob/main/test_data/20_9_5200_704404317.blt
 * php:

Environment

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