Anti-Harassment Tools/SecurePoll Improvements/Test Results/7 5 1000

From mediawiki.org
Jump to navigation Jump to search

Comments[edit]

I think this case has been discussed by the team.

SecurePoll elects candidates A, B, C and G.

OpenSTV elects candidates A, B, D, F and G.

SecurePoll differs from OpenSTV because of how we deal with eliminating tied voters.

Election setup[edit]

  • Candidates: 7
  • Seats: 5
  • Votes: 1000

Actual results latest[edit]

Output from SecurePoll tally.php: /actual

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

Actual results archive[edit]

Archive

Expected[edit]

Output from OpenSTV:

Loading ballots from file 7_5_1000.blt.
Ballot file contains 7 candidates and 1000 ballots.
No candidates have withdrawn.
Ballot file contains 1000 non-empty ballots.

Counting votes for Title using Meek STV.
7 candidates running for 5 seats.

 R|A             |B             |C             |D             |E             
  |--------------+--------------+--------------+--------------+--------------
  |F             |G             |Exhausted     |Surplus       |Threshold     
=============================================================================
 1|    166.000000|    168.000000|    133.000000|    133.000000|    133.000000
  |    133.000000|    134.000000|      0.000000|      1.333333|    166.666667
  |--------------------------------------------------------------------------
  | Count of first choices. Candidate B has reached the threshold and is
  | elected.
=============================================================================
 2|    166.666624|    166.666752|    133.666624|    133.000000|    133.000000
  |    133.000000|    134.000000|      0.000000|      0.000085|    166.666667
  |--------------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who
  | have exceeded the threshold: B, 0.992064.
=============================================================================
 3|    166.666624|    166.666752|    133.666624|    133.000000|    133.000000
  |    133.000000|    134.000000|      0.000000|      0.000085|    166.666667
  |--------------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who
  | have exceeded the threshold: B, 0.992064.
=============================================================================
 4|    166.666624|    166.666752|    133.666624|    133.000000|              
  |    266.000000|    134.000000|      0.000000|     99.333418|    166.666667
  |--------------------------------------------------------------------------
  | Count after eliminating E and transferring votes. Candidates tied within
  | precision of computations. Candidates D, E, and F were tied when choosing
  | candidates to eliminate. Candidate E was chosen by breaking the tie
  | randomly. Candidate F has reached the threshold and is elected.
=============================================================================
 5|    166.666624|    166.666752|    133.666624|    133.000000|              
  |    166.666822|    183.666589|     49.666589|     50.111179|    158.388902
  |--------------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who
  | have exceeded the threshold: B, 0.992064 and F, 0.626567. Candidates A
  | and G have reached the threshold and are elected.
=============================================================================
 6|    162.322247|    158.389056|    137.805472|    151.442152|              
  |    158.388902|    161.958246|     69.693925|     20.854399|    155.051013
  |--------------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who
  | have exceeded the threshold: A, 0.950334; B, 0.942792; F, 0.595447; and
  | G, 0.862372.
=============================================================================
 7|    156.566112|    155.051064|    139.474468|    156.370404|              
  |    155.051134|    156.428955|     81.057863|     13.682554|    153.157023
  |--------------------------------------------------------------------------
  | Count after transferring surplus votes. Keep factors of candidates who
  | have exceeded the threshold: A, 0.907764; B, 0.922923; F, 0.582899; and
  | G, 0.825594. Candidate D has reached the threshold and is elected.

Winners are A, B, D, F, and G.

Files[edit]

Environment[edit]

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