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

From mediawiki.org

Actual Tally: Secure Poll commit unknown[edit]

Elected[edit]

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

  1. This seat could not be filled because no candidates fulfill the criteria. The last eliminated candidates were: "1", "12", "19", "18", "17", "16", "15", "14", "13", "11", "2", "10", "9", "8", "7", "6", "5", "4", "3", "20"
  2. This seat could not be filled because no candidates fulfill the criteria. The last eliminated candidates were: "1", "12", "19", "18", "17", "16", "15", "14", "13", "11", "2", "10", "9", "8", "7", "6", "5", "4", "3", "20"
  3. This seat could not be filled because no candidates fulfill the criteria. The last eliminated candidates were: "1", "12", "19", "18", "17", "16", "15", "14", "13", "11", "2", "10", "9", "8", "7", "6", "5", "4", "3", "20"
  4. This seat could not be filled because no candidates fulfill the criteria. The last eliminated candidates were: "1", "12", "19", "18", "17", "16", "15", "14", "13", "11", "2", "10", "9", "8", "7", "6", "5", "4", "3", "20"
  5. This seat could not be filled because no candidates fulfill the criteria. The last eliminated candidates were: "1", "12", "19", "18", "17", "16", "15", "14", "13", "11", "2", "10", "9", "8", "7", "6", "5", "4", "3", "20"
  6. This seat could not be filled because no candidates fulfill the criteria. The last eliminated candidates were: "1", "12", "19", "18", "17", "16", "15", "14", "13", "11", "2", "10", "9", "8", "7", "6", "5", "4", "3", "20"

Eliminated/Not elected[edit]

  • "1"
  • "12"
  • "19"
  • "18"
  • "17"
  • "16"
  • "15"
  • "14"
  • "13"
  • "11"
  • "2"
  • "10"
  • "9"
  • "8"
  • "7"
  • "6"
  • "5"
  • "4"
  • "3"
  • "20"

Rounds table[edit]

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.

Round Number Tally Result
1
  1. "1": 250
  2. "12": 250
  3. "19": 250
  4. "18": 250
  5. "17": 250
  6. "16": 250
  7. "15": 250
  8. "14": 250
  9. "13": 250
  10. "11": 250
  11. "2": 250
  12. "10": 250
  13. "9": 250
  14. "8": 250
  15. "7": 250
  16. "6": 250
  17. "5": 250
  18. "4": 250
  19. "3": 250
  20. "20": 250
Quota: 714.285715
2
  1. "1": 250
  2. "12": 250
  3. "19": 250
  4. "18": 250
  5. "17": 250
  6. "16": 250
  7. "15": 250
  8. "14": 250
  9. "13": 250
  10. "11": 250
  11. "2": 250
  12. "10": 250
  13. "9": 250
  14. "8": 250
  15. "7": 250
  16. "6": 250
  17. "5": 250
  18. "4": 250
  19. "3": 250
  20. "20": 250
Quota: 714.285715

Eliminated: "1", "12", "19", "18", "17", "16", "15", "14", "13", "11", "2", "10", "9", "8", "7", "6", "5", "4", "3", "20"

(Results from 04:09, 1 September 2021)

Actual commit 7456aea7198d58e058d56ed4c1fd550354803cd5[edit]

Output of SecurePoll (var_export( $this->tallier->resultsLog );):

<?php return array (
  'elected' => 
  array (
  ),
  'eliminated' => 
  array (
    0 => 1,
    1 => 12,
    2 => 19,
    3 => 18,
    4 => 17,
    5 => 16,
    6 => 15,
    7 => 14,
    8 => 13,
    9 => 11,
    10 => 2,
    11 => 10,
    12 => 9,
    13 => 8,
    14 => 7,
    15 => 6,
    16 => 5,
    17 => 4,
    18 => 3,
    19 => 20,
  ),
  'rounds' => 
  array (
    0 => 
    array (
      'round' => 1,
      'surplus' => 0,
      'rankings' => 
      array (
        1 => 
        array (
          'votes' => 0,
          'earned' => 250,
          'total' => 250,
        ),
        2 => 
        array (
          'votes' => 0,
          'earned' => 250,
          'total' => 250,
        ),
        3 => 
        array (
          'votes' => 0,
          'earned' => 250,
          'total' => 250,
        ),
        4 => 
        array (
          'votes' => 0,
          'earned' => 250,
          'total' => 250,
        ),
        5 => 
        array (
          'votes' => 0,
          'earned' => 250,
          'total' => 250,
        ),
        6 => 
        array (
          'votes' => 0,
          'earned' => 250,
          'total' => 250,
        ),
        7 => 
        array (
          'votes' => 0,
          'earned' => 250,
          'total' => 250,
        ),
        8 => 
        array (
          'votes' => 0,
          'earned' => 250,
          'total' => 250,
        ),
        9 => 
        array (
          'votes' => 0,
          'earned' => 250,
          'total' => 250,
        ),
        10 => 
        array (
          'votes' => 0,
          'earned' => 250,
          'total' => 250,
        ),
        11 => 
        array (
          'votes' => 0,
          'earned' => 250,
          'total' => 250,
        ),
        12 => 
        array (
          'votes' => 0,
          'earned' => 250,
          'total' => 250,
        ),
        13 => 
        array (
          'votes' => 0,
          'earned' => 250,
          'total' => 250,
        ),
        14 => 
        array (
          'votes' => 0,
          'earned' => 250,
          'total' => 250,
        ),
        15 => 
        array (
          'votes' => 0,
          'earned' => 250,
          'total' => 250,
        ),
        16 => 
        array (
          'votes' => 0,
          'earned' => 250,
          'total' => 250,
        ),
        17 => 
        array (
          'votes' => 0,
          'earned' => 250,
          'total' => 250,
        ),
        18 => 
        array (
          'votes' => 0,
          'earned' => 250,
          'total' => 250,
        ),
        19 => 
        array (
          'votes' => 0,
          'earned' => 250,
          'total' => 250,
        ),
        20 => 
        array (
          'votes' => 0,
          'earned' => 250,
          'total' => 250,
        ),
      ),
      'totalVotes' => 5000,
      'keepFactors' => 
      array (
        1 => 1,
        2 => 1,
        3 => 1,
        4 => 1,
        5 => 1,
        6 => 1,
        7 => 1,
        8 => 1,
        9 => 1,
        10 => 1,
        11 => 1,
        12 => 1,
        13 => 1,
        14 => 1,
        15 => 1,
        16 => 1,
        17 => 1,
        18 => 1,
        19 => 1,
        20 => 1,
      ),
      'quota' => 714.28571528571433,
      'elected' => 
      array (
      ),
      'eliminated' => 
      array (
      ),
    ),
    1 => 
    array (
      'round' => 2,
      'elected' => 
      array (
      ),
      'eliminated' => 
      array (
        0 => 1,
        1 => 12,
        2 => 19,
        3 => 18,
        4 => 17,
        5 => 16,
        6 => 15,
        7 => 14,
        8 => 13,
        9 => 11,
        10 => 2,
        11 => 10,
        12 => 9,
        13 => 8,
        14 => 7,
        15 => 6,
        16 => 5,
        17 => 4,
        18 => 3,
        19 => 20,
      ),
      'surplus' => 0,
      'keepFactors' => 
      array (
        1 => 1,
        2 => 1,
        3 => 1,
        4 => 1,
        5 => 1,
        6 => 1,
        7 => 1,
        8 => 1,
        9 => 1,
        10 => 1,
        11 => 1,
        12 => 1,
        13 => 1,
        14 => 1,
        15 => 1,
        16 => 1,
        17 => 1,
        18 => 1,
        19 => 1,
        20 => 1,
      ),
      'quota' => 714.28571528571433,
      'rankings' => 
      array (
        1 => 
        array (
          'votes' => 250,
          'earned' => 0,
          'total' => 250,
        ),
        2 => 
        array (
          'votes' => 250,
          'earned' => 0,
          'total' => 250,
        ),
        3 => 
        array (
          'votes' => 250,
          'earned' => 0,
          'total' => 250,
        ),
        4 => 
        array (
          'votes' => 250,
          'earned' => 0,
          'total' => 250,
        ),
        5 => 
        array (
          'votes' => 250,
          'earned' => 0,
          'total' => 250,
        ),
        6 => 
        array (
          'votes' => 250,
          'earned' => 0,
          'total' => 250,
        ),
        7 => 
        array (
          'votes' => 250,
          'earned' => 0,
          'total' => 250,
        ),
        8 => 
        array (
          'votes' => 250,
          'earned' => 0,
          'total' => 250,
        ),
        9 => 
        array (
          'votes' => 250,
          'earned' => 0,
          'total' => 250,
        ),
        10 => 
        array (
          'votes' => 250,
          'earned' => 0,
          'total' => 250,
        ),
        11 => 
        array (
          'votes' => 250,
          'earned' => 0,
          'total' => 250,
        ),
        12 => 
        array (
          'votes' => 250,
          'earned' => 0,
          'total' => 250,
        ),
        13 => 
        array (
          'votes' => 250,
          'earned' => 0,
          'total' => 250,
        ),
        14 => 
        array (
          'votes' => 250,
          'earned' => 0,
          'total' => 250,
        ),
        15 => 
        array (
          'votes' => 250,
          'earned' => 0,
          'total' => 250,
        ),
        16 => 
        array (
          'votes' => 250,
          'earned' => 0,
          'total' => 250,
        ),
        17 => 
        array (
          'votes' => 250,
          'earned' => 0,
          'total' => 250,
        ),
        18 => 
        array (
          'votes' => 250,
          'earned' => 0,
          'total' => 250,
        ),
        19 => 
        array (
          'votes' => 250,
          'earned' => 0,
          'total' => 250,
        ),
        20 => 
        array (
          'votes' => 250,
          'earned' => 0,
          'total' => 250,
        ),
      ),
      'totalVotes' => 5000,
    ),
  ),
);