Anti-Harassment Tools/SecurePoll Improvements/Test Results/20 6 5001 1851698519/archive

From mediawiki.org

Actual Tally: SP 3.0.0 (58bf4c8)[edit]

Elected[edit]

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

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

Eliminated/Not elected[edit]

  • "10"
  • "9"
  • "12"
  • "13"
  • "8"
  • "7"
  • "6"
  • "5"
  • "11"
  • "19"
  • "18"
  • "17"
  • "16"
  • "15"
  • "14"
  • "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. "2": 716
  2. "1": 714
  3. "19": 199
  4. "18": 199
  5. "17": 199
  6. "16": 199
  7. "15": 199
  8. "14": 199
  9. "20": 199
  10. "10": 198
  11. "9": 198
  12. "12": 198
  13. "13": 198
  14. "8": 198
  15. "7": 198
  16. "6": 198
  17. "5": 198
  18. "4": 198
  19. "3": 198
  20. "11": 198
Quota: 714.428572
2
  1. "2": 716
  2. "1": 714
  3. "19": 199
  4. "18": 199
  5. "17": 199
  6. "16": 199
  7. "15": 199
  8. "14": 199
  9. "20": 199
  10. "10": 198
  11. "9": 198
  12. "12": 198
  13. "13": 198
  14. "8": 198
  15. "7": 198
  16. "6": 198
  17. "5": 198
  18. "4": 198
  19. "3": 198
  20. "11": 198
Quota: 714.428572

Elected: "2"

3
  1. "1": 714 + 0.627693 = 714.627693
  2. "2": 716 - 1.571428 = 714.428572 (keep factor: 0.997805)
  3. "19": 199
  4. "18": 199
  5. "17": 199
  6. "16": 199
  7. "15": 199
  8. "14": 199
  9. "20": 199
  10. "3": 198 + 0.502593 = 198.502593
  11. "4": 198 + 0.438946 = 198.438946
  12. "10": 198
  13. "9": 198
  14. "12": 198
  15. "13": 198
  16. "8": 198
  17. "7": 198
  18. "6": 198
  19. "5": 198
  20. "11": 198
Quota: 714.428259

Elected: "1" Transferring votes

4
  1. "1": 714.627693 - 0.199309 = 714.428384 (keep factor: 0.999721)
  2. "2": 714.428572 - 0.000313 = 714.428259 (keep factor: 0.997805)
  3. "19": 199
  4. "18": 199
  5. "17": 199
  6. "16": 199
  7. "15": 199
  8. "14": 199
  9. "20": 199
  10. "3": 198.502593 + 0.000101 = 198.502694
  11. "4": 198.438946 + 0.000088 = 198.439034
  12. "10": 198
  13. "9": 198
  14. "12": 198
  15. "13": 198
  16. "8": 198
  17. "7": 198
  18. "6": 198
  19. "5": 198
  20. "11": 198
Quota: 714.399768

Eliminated: "10", "9", "12", "13", "8", "7", "6", "5", "11" Transferring votes

5
  1. "1": 714.428384 - 0.017239 = 714.411145 (keep factor: 0.999681)
  2. "2": 714.428259 - 0.028491 = 714.399768 (keep factor: 0.997765)
  3. "19": 199
  4. "18": 199
  5. "17": 199
  6. "16": 199
  7. "15": 199
  8. "14": 199
  9. "20": 199
  10. "3": 198.502694 + 0.009112 = 198.511806
  11. "4": 198.439034 + 0.007958 = 198.446992
Quota: 459.824245

Transferring votes

6
  1. "1": 714.411145 - 189.157236 = 525.253909 (keep factor: 0.643436)
  2. "2": 714.399768 - 254.575523 = 459.824245 (keep factor: 0.642213)
  3. "3": 198.511806 + 81.421501 = 279.933307
  4. "4": 198.446992 + 71.110481 = 269.557473
  5. "19": 199
  6. "18": 199
  7. "17": 199
  8. "16": 199
  9. "15": 199
  10. "14": 199
  11. "20": 199
Quota: 418.224135

Transferring votes

7
  1. "1": 525.253909 - 98.516584 = 426.737325 (keep factor: 0.512324)
  2. "2": 459.824245 - 41.60011 = 418.224135 (keep factor: 0.584112)
  3. "3": 279.933307 + 13.305063 = 293.238370
  4. "4": 269.557473 + 11.620143 = 281.177616
  5. "19": 199
  6. "18": 199
  7. "17": 199
  8. "16": 199
  9. "15": 199
  10. "14": 199
  11. "20": 199
Quota: 401.768208

Eliminated: "19", "18", "17", "16", "15", "14", "20" Transferring votes

8
  1. "1": 426.737325 - 21.798564 = 404.938761 (keep factor: 0.482347)
  2. "2": 418.224135 - 16.455927 = 401.768208 (keep factor: 0.561129)
  3. "3": 293.238370 + 5.263139 = 298.501509
  4. "4": 281.177616 + 4.596628 = 285.774244
Quota: 198.711818

Elected: "3", "4" Transferring votes

(Results from 14:17, 31 August 2021)

Actual commit 271145d5f3cae3b0a1b76d0f5dfeb609615d60b7[edit]

Output from SecurePoll (var_dump( $this->tallier->resultsLog );): https://phabricator.wikimedia.org/P16849