Jump to content

Anti-Harassment Tools/SecurePoll Improvements/Test Results/20 4 5120 1609394555

From mediawiki.org

Comments

[edit]

SecurePoll and OpenSTV both declare candidates 1, 2 and 20 winners.

OpenSTV declares another candidate (at random) as winner as well. SecurePoll leaves the fourth seat empty.

Election setup

[edit]
  • Candidates: 20
  • Seats: 4
  • Votes: 5120

Actual results latest

[edit]

Output from SecurePoll tally.php: /actual

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

Actual results archive

[edit]

Archive

Expected

[edit]

Output from OpenSTV: https://phabricator.wikimedia.org/P16846

Files

[edit]
array (
  '2_20' => 
  array (
    'count' => 2532,
    'rank' => 
    array (
      1 => 2,
      2 => 20,
    ),
  ),
  17 => 
  array (
    'count' => 2,
    'rank' => 
    array (
      1 => 17,
    ),
  ),
  6 => 
  array (
    'count' => 2,
    'rank' => 
    array (
      1 => 6,
    ),
  ),
  12 => 
  array (
    'count' => 2,
    'rank' => 
    array (
      1 => 12,
    ),
  ),
  19 => 
  array (
    'count' => 2,
    'rank' => 
    array (
      1 => 19,
    ),
  ),
  13 => 
  array (
    'count' => 2,
    'rank' => 
    array (
      1 => 13,
    ),
  ),
  14 => 
  array (
    'count' => 2,
    'rank' => 
    array (
      1 => 14,
    ),
  ),
  20 => 
  array (
    'count' => 1,
    'rank' => 
    array (
      1 => 20,
    ),
  ),
  7 => 
  array (
    'count' => 2,
    'rank' => 
    array (
      1 => 7,
    ),
  ),
  15 => 
  array (
    'count' => 2,
    'rank' => 
    array (
      1 => 15,
    ),
  ),
  18 => 
  array (
    'count' => 2,
    'rank' => 
    array (
      1 => 18,
    ),
  ),
  16 => 
  array (
    'count' => 2,
    'rank' => 
    array (
      1 => 16,
    ),
  ),
  8 => 
  array (
    'count' => 2,
    'rank' => 
    array (
      1 => 8,
    ),
  ),
  3 => 
  array (
    'count' => 2,
    'rank' => 
    array (
      1 => 3,
    ),
  ),
  4 => 
  array (
    'count' => 2,
    'rank' => 
    array (
      1 => 4,
    ),
  ),
  11 => 
  array (
    'count' => 2,
    'rank' => 
    array (
      1 => 11,
    ),
  ),
  5 => 
  array (
    'count' => 2,
    'rank' => 
    array (
      1 => 5,
    ),
  ),
  9 => 
  array (
    'count' => 2,
    'rank' => 
    array (
      1 => 9,
    ),
  ),
  10 => 
  array (
    'count' => 2,
    'rank' => 
    array (
      1 => 10,
    ),
  ),
  '1_20' => 
  array (
    'count' => 2533,
    'rank' => 
    array (
      1 => 1,
      2 => 20,
    ),
  ),
)

Environment

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