Anti-Harassment Tools/SecurePoll Improvements/Test Results/5 3 2679/archive

Elected
Election for 3 seats with 5 candidates. Total 2,679 votes.


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

Eliminated/Not elected

 * "C"
 * "D"
 * "E"

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

Actual commit 271145d5f3cae3b0a1b76d0f5dfeb609615d60b7
Output from SecurePoll : array(3) { ["elected"]=> array(2) { [0]=>   int(2) [1]=>   int(1) } ["eliminated"]=> array(3) { [0]=>   int(3) [1]=>   int(4) [2]=>   int(5) } ["rounds"]=> array(4) { [0]=>   array(8) { ["round"]=> int(1) ["surplus"]=> int(0) ["rankings"]=> array(5) { [1]=>       array(3) { ["votes"]=> int(0) ["earned"]=> int(509) ["total"]=> int(509) }       [2]=>        array(3) { ["votes"]=> int(0) ["earned"]=> int(670) ["total"]=> int(670) }       [3]=>        array(3) { ["votes"]=> int(0) ["earned"]=> int(500) ["total"]=> int(500) }       [4]=>        array(3) { ["votes"]=> int(0) ["earned"]=> int(500) ["total"]=> int(500) }       [5]=>        array(3) { ["votes"]=> int(0) ["earned"]=> int(500) ["total"]=> int(500) }     }      ["totalVotes"]=> int(2679) ["keepFactors"]=> array(5) { [1]=>       int(1) [2]=>       int(1) [3]=>       int(1) [4]=>       int(1) [5]=>       int(1) }     ["quota"]=> int(670) ["elected"]=> array(0) { }     ["eliminated"]=> array(0) { }   }    [1]=>    array(8) { ["round"]=> int(2) ["elected"]=> array(1) { [0]=>       int(2) }     ["eliminated"]=> array(0) { }     ["surplus"]=> int(0) ["keepFactors"]=> array(5) { [1]=>       int(1) [2]=>       int(1) [3]=>       int(1) [4]=>       int(1) [5]=>       int(1) }     ["quota"]=> int(670) ["rankings"]=> array(5) { [1]=>       array(3) { ["votes"]=> int(509) ["earned"]=> int(0) ["total"]=> int(509) }       [2]=>        array(3) { ["votes"]=> int(670) ["earned"]=> int(0) ["total"]=> int(670) }       [3]=>        array(3) { ["votes"]=> int(500) ["earned"]=> int(0) ["total"]=> int(500) }       [4]=>        array(3) { ["votes"]=> int(500) ["earned"]=> int(0) ["total"]=> int(500) }       [5]=>        array(3) { ["votes"]=> int(500) ["earned"]=> int(0) ["total"]=> int(500) }     }      ["totalVotes"]=> int(2679) }   [2]=>    array(8) { ["round"]=> int(3) ["elected"]=> array(0) { }     ["eliminated"]=> array(3) { [0]=>       int(3) [1]=>       int(4) [2]=>       int(5) }     ["surplus"]=> int(0) ["keepFactors"]=> array(5) { [1]=>       int(1) [2]=>       int(1) [3]=>       int(1) [4]=>       int(1) [5]=>       int(1) }     ["quota"]=> int(670) ["rankings"]=> array(5) { [1]=>       array(3) { ["votes"]=> int(509) ["earned"]=> int(0) ["total"]=> int(509) }       [2]=>        array(3) { ["votes"]=> int(670) ["earned"]=> int(0) ["total"]=> int(670) }       [3]=>        array(3) { ["votes"]=> int(500) ["earned"]=> int(0) ["total"]=> int(500) }       [4]=>        array(3) { ["votes"]=> int(500) ["earned"]=> int(0) ["total"]=> int(500) }       [5]=>        array(3) { ["votes"]=> int(500) ["earned"]=> int(0) ["total"]=> int(500) }     }      ["totalVotes"]=> int(2679) }   [3]=>    array(8) { ["round"]=> int(4) ["elected"]=> array(1) { [0]=>       int(1) }     ["eliminated"]=> array(0) { }     ["surplus"]=> int(589) ["keepFactors"]=> array(5) { [1]=>       int(1) [2]=>       int(1) [3]=>       int(0) [4]=>       int(0) [5]=>       int(0) }     ["quota"]=> int(295) ["rankings"]=> array(5) { [1]=>       array(3) { ["votes"]=> int(509) ["earned"]=> int(0) ["total"]=> int(509) }       [2]=>        array(3) { ["votes"]=> int(670) ["earned"]=> int(0) ["total"]=> int(670) }       [3]=>        array(3) { ["votes"]=> int(500) ["earned"]=> int(-500) ["total"]=> int(0) }       [4]=>        array(3) { ["votes"]=> int(500) ["earned"]=> int(-500) ["total"]=> int(0) }       [5]=>        array(3) { ["votes"]=> int(500) ["earned"]=> int(-500) ["total"]=> int(0) }     }      ["totalVotes"]=> int(1179) } } }