Jump to content

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

From mediawiki.org

Comments

[edit]

SecurePoll elects candidates 1 and 2.

OpenSTV elects 1, 2, 3, 4, 15 and 19 (the last two being random).

I think the difference is similar to 20_4_5120_824772467. SecurePoll eliminates several candidates at once if they are tied.

See also a slightly modified version of this election, 20_6_5001_1851698519, which does agree with OpenSTV (more-or-less).

Election setup

[edit]
  • Candidates: 20
  • Seats: 6
  • Votes: 5000

Actual results latest

[edit]

Attempting to run this leads to an infinite recursion error. Probably due to https://phabricator.wikimedia.org/T291821.

SecurePoll tally page: https://vote.wikimedia.beta.wmflabs.org/wiki/Special:SecurePoll/tally/2126

Actual results archive

[edit]

Archive

Expected

[edit]

Output from OpenSTV (or other): https://phabricator.wikimedia.org/P16848

Files

[edit]
array (
  5 => 
  array (
    'count' => 198,
    'rank' => 
    array (
      1 => 5,
    ),
  ),
  15 => 
  array (
    'count' => 199,
    'rank' => 
    array (
      1 => 15,
    ),
  ),
  8 => 
  array (
    'count' => 198,
    'rank' => 
    array (
      1 => 8,
    ),
  ),
  9 => 
  array (
    'count' => 198,
    'rank' => 
    array (
      1 => 9,
    ),
  ),
  19 => 
  array (
    'count' => 199,
    'rank' => 
    array (
      1 => 19,
    ),
  ),
  1 => 
  array (
    'count' => 714,
    'rank' => 
    array (
      1 => 1,
    ),
  ),
  18 => 
  array (
    'count' => 199,
    'rank' => 
    array (
      1 => 18,
    ),
  ),
  '2_4' => 
  array (
    'count' => 200,
    'rank' => 
    array (
      1 => 2,
      2 => 4,
    ),
  ),
  11 => 
  array (
    'count' => 198,
    'rank' => 
    array (
      1 => 11,
    ),
  ),
  7 => 
  array (
    'count' => 198,
    'rank' => 
    array (
      1 => 7,
    ),
  ),
  4 => 
  array (
    'count' => 198,
    'rank' => 
    array (
      1 => 4,
    ),
  ),
  20 => 
  array (
    'count' => 199,
    'rank' => 
    array (
      1 => 20,
    ),
  ),
  3 => 
  array (
    'count' => 198,
    'rank' => 
    array (
      1 => 3,
    ),
  ),
  13 => 
  array (
    'count' => 198,
    'rank' => 
    array (
      1 => 13,
    ),
  ),
  14 => 
  array (
    'count' => 199,
    'rank' => 
    array (
      1 => 14,
    ),
  ),
  17 => 
  array (
    'count' => 199,
    'rank' => 
    array (
      1 => 17,
    ),
  ),
  10 => 
  array (
    'count' => 198,
    'rank' => 
    array (
      1 => 10,
    ),
  ),
  16 => 
  array (
    'count' => 199,
    'rank' => 
    array (
      1 => 16,
    ),
  ),
  6 => 
  array (
    'count' => 198,
    'rank' => 
    array (
      1 => 6,
    ),
  ),
  12 => 
  array (
    'count' => 198,
    'rank' => 
    array (
      1 => 12,
    ),
  ),
  '2_1' => 
  array (
    'count' => 286,
    'rank' => 
    array (
      1 => 2,
      2 => 1,
    ),
  ),
  '2_3' => 
  array (
    'count' => 229,
    'rank' => 
    array (
      1 => 2,
      2 => 3,
    ),
  ),
)

Environment

[edit]
  • Where you tested: beta
  • Latest version of SecurePoll tested: 3.0.0 (dcbad8c) 06:35, 27 September 2021.