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

Comments
Case: All but two seats filled, rest of candidates hopeful. 2nd preferences transferred to candidate 17. 3rd preferences transferred to candidate 9.

SecurePoll and OpenSTV agree on winning candidates.

Election setup

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

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

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


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

Eliminated/Not elected

 * "10"
 * "5"
 * "12"
 * "13"
 * "14"
 * "15"
 * "16"
 * "18"
 * "19"
 * "20"
 * "1"
 * "11"
 * "3"
 * "7"

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 14:17, 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: https://phabricator.wikimedia.org/P16852

Files
array ( '15_17_9' =>   array ( 'count' => 66, 'rank' => array (     1 => 15,      2 => 17,      3 => 9,    ), ), '4_17_9' =>   array ( 'count' => 985, 'rank' => array (     1 => 4,      2 => 17,      3 => 9,    ), ), '8_17_9' =>   array ( 'count' => 985, 'rank' => array (     1 => 8,      2 => 17,      3 => 9,    ), ), 9 =>   array ( 'count' => 67, 'rank' => array (     1 => 9,    ), ), '2_17_9' =>   array ( 'count' => 984, 'rank' => array (     1 => 2,      2 => 17,      3 => 9,    ), ), 20 =>   array ( 'count' => 66, 'rank' => array (     1 => 20,    ), ), '12_17_9' =>   array ( 'count' => 66, 'rank' => array (     1 => 12,      2 => 17,      3 => 9,    ), ), 11 =>   array ( 'count' => 67, 'rank' => array (     1 => 11,    ), ), 18 =>   array ( 'count' => 66, 'rank' => array (     1 => 18,    ), ), '19_17_9' =>   array ( 'count' => 66, 'rank' => array (     1 => 19,      2 => 17,      3 => 9,    ), ), '5_17_9' =>   array ( 'count' => 66, 'rank' => array (     1 => 5,      2 => 17,      3 => 9,    ), ), 16 =>   array ( 'count' => 66, 'rank' => array (     1 => 16,    ), ), 13 =>   array ( 'count' => 66, 'rank' => array (     1 => 13,    ), ), '10_17_9' =>   array ( 'count' => 66, 'rank' => array (     1 => 10,      2 => 17,      3 => 9,    ), ), 17 =>   array ( 'count' => 66, 'rank' => array (     1 => 17,    ), ), 3 =>   array ( 'count' => 67, 'rank' => array (     1 => 3,    ), ), 7 =>   array ( 'count' => 67, 'rank' => array (     1 => 7,    ), ), '6_17_9' =>   array ( 'count' => 985, 'rank' => array (     1 => 6,      2 => 17,      3 => 9,    ), ), 1 =>   array ( 'count' => 67, 'rank' => array (     1 => 1,    ), ), 14 =>   array ( 'count' => 66, 'rank' => array (     1 => 14,    ), ), )
 * blt: https://github.com/dominic998/SecurePoll-Test-Data/blob/main/test_data/20_6_5000_2048723651.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/)