Anti-Harassment Tools/SecurePoll Improvements/Test Results/7 5 1000/archive

Actual tally: SP Patch 3.0.0 (58bf4c8)
Output from SecurePoll : actual

Output from SecurePoll : https://github.com/dominic998/SecurePoll-Test-Data/blob/main/test_data/7_5_1000.blt.php

Elected
Election for 5 seats with 7 candidates. Total 1,000 votes.


 * 1) "B"
 * 2) "A"
 * 3) "C"
 * 4) "G"
 * 5) This seat could not be filled because no candidates fulfill the criteria. The last eliminated candidates were: "D", "E", "F"

Eliminated/Not elected

 * "D"
 * "E"
 * "F"

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:39, 1 September 2021)

Patch 25
Output from SecurePoll : array(3) { ["elected"]=> array(4) { [0]=>   int(2) [1]=>   int(1) [2]=>   int(3) [3]=>   int(7) } ["eliminated"]=> array(3) { [0]=>   int(4) [1]=>   int(5) [2]=>   int(6) } ["rounds"]=> array(4) { [0]=>   array(8) { ["round"]=> int(1) ["surplus"]=> int(0) ["rankings"]=> array(7) { [1]=>       array(3) { ["votes"]=> int(0) ["earned"]=> int(166) ["total"]=> int(166) }       [2]=>        array(3) { ["votes"]=> int(0) ["earned"]=> int(168) ["total"]=> int(168) }       [3]=>        array(3) { ["votes"]=> int(0) ["earned"]=> int(133) ["total"]=> int(133) }       [4]=>        array(3) { ["votes"]=> int(0) ["earned"]=> int(133) ["total"]=> int(133) }       [5]=>        array(3) { ["votes"]=> int(0) ["earned"]=> int(133) ["total"]=> int(133) }       [6]=>        array(3) { ["votes"]=> int(0) ["earned"]=> int(133) ["total"]=> int(133) }       [7]=>        array(3) { ["votes"]=> int(0) ["earned"]=> int(134) ["total"]=> int(134) }     }      ["totalVotes"]=> int(1000) ["keepFactors"]=> array(7) { [1]=>       int(1) [2]=>       int(1) [3]=>       int(1) [4]=>       int(1) [5]=>       int(1) [6]=>       int(1) [7]=>       int(1) }     ["quota"]=> int(167) ["elected"]=> array(0) { }     ["eliminated"]=> array(0) { }   }    [1]=>    array(8) { ["round"]=> int(2) ["elected"]=> array(1) { [0]=>       int(2) }     ["eliminated"]=> array(0) { }     ["surplus"]=> int(1) ["keepFactors"]=> array(7) { [1]=>       int(1) [2]=>       int(1) [3]=>       int(1) [4]=>       int(1) [5]=>       int(1) [6]=>       int(1) [7]=>       int(1) }     ["quota"]=> int(167) ["rankings"]=> array(7) { [1]=>       array(3) { ["votes"]=> int(166) ["earned"]=> int(0) ["total"]=> int(166) }       [2]=>        array(3) { ["votes"]=> int(168) ["earned"]=> int(0) ["total"]=> int(168) }       [3]=>        array(3) { ["votes"]=> int(133) ["earned"]=> int(0) ["total"]=> int(133) }       [4]=>        array(3) { ["votes"]=> int(133) ["earned"]=> int(0) ["total"]=> int(133) }       [5]=>        array(3) { ["votes"]=> int(133) ["earned"]=> int(0) ["total"]=> int(133) }       [6]=>        array(3) { ["votes"]=> int(133) ["earned"]=> int(0) ["total"]=> int(133) }       [7]=>        array(3) { ["votes"]=> int(134) ["earned"]=> int(0) ["total"]=> int(134) }     }      ["totalVotes"]=> int(1000) }   [2]=>    array(8) { ["round"]=> int(3) ["elected"]=> array(0) { }     ["eliminated"]=> array(3) { [0]=>       int(4) [1]=>       int(5) [2]=>       int(6) }     ["surplus"]=> float(0) ["keepFactors"]=> array(7) { [1]=>       int(1) [2]=>       float(0.99404761904762) [3]=>       int(1) [4]=>       int(1) [5]=>       int(1) [6]=>       int(1) [7]=>       int(1) }     ["quota"]=> int(167) ["rankings"]=> array(7) { [1]=>       array(3) { ["votes"]=> int(166) ["earned"]=> float(0.5) ["total"]=> float(166.5) }       [2]=>        array(3) { ["votes"]=> int(168) ["earned"]=> float(-1) ["total"]=> float(167) }       [3]=>        array(3) { ["votes"]=> int(133) ["earned"]=> float(0.5) ["total"]=> float(133.5) }       [4]=>        array(3) { ["votes"]=> int(133) ["earned"]=> int(0) ["total"]=> int(133) }       [5]=>        array(3) { ["votes"]=> int(133) ["earned"]=> int(0) ["total"]=> int(133) }       [6]=>        array(3) { ["votes"]=> int(133) ["earned"]=> int(0) ["total"]=> int(133) }       [7]=>        array(3) { ["votes"]=> int(134) ["earned"]=> int(0) ["total"]=> int(134) }     }      ["totalVotes"]=> float(1000) }   [3]=>    array(8) { ["round"]=> int(4) ["elected"]=> array(3) { [0]=>       int(1) [2]=>       int(3) [3]=>       int(7) }     ["eliminated"]=> array(0) { }     ["surplus"]=> float(242) ["keepFactors"]=> array(7) { [1]=>       int(1) [2]=>       float(0.99404761904762) [3]=>       int(1) [4]=>       int(0) [5]=>       int(0) [6]=>       int(0) [7]=>       int(1) }     ["quota"]=> int(123) ["rankings"]=> array(7) { [1]=>       array(3) { ["votes"]=> float(166.5) ["earned"]=> float(-1.7763568394003E-15) ["total"]=> float(166.5) }       [2]=>        array(3) { ["votes"]=> float(167) ["earned"]=> float(0) ["total"]=> float(167) }       [3]=>        array(3) { ["votes"]=> float(133.5) ["earned"]=> float(0) ["total"]=> float(133.5) }       [4]=>        array(3) { ["votes"]=> int(133) ["earned"]=> int(-133) ["total"]=> int(0) }       [5]=>        array(3) { ["votes"]=> int(133) ["earned"]=> int(-133) ["total"]=> int(0) }       [6]=>        array(3) { ["votes"]=> int(133) ["earned"]=> int(-133) ["total"]=> int(0) }       [7]=>        array(3) { ["votes"]=> int(134) ["earned"]=> int(133) ["total"]=> int(267) }     }      ["totalVotes"]=> float(734) } } }

Elected

 * 1) "B"
 * 2) "A"
 * 3) "C"
 * 4) "G"
 * 5) This seat could not be filled because no candidates fulfill the criteria. The last eliminated candidates were: "D", "E", "F"

Eliminated

 * "D"
 * "E"
 * "F"

Rounds table
(Results from 01:16, 28 July 2021)