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

Comments
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

 * Candidates: 7
 * Seats: 5
 * Votes: 1000

Actual results latest
Output from SecurePoll : /actual

Output from SecurePoll : https://github.com/dominic998/SecurePoll-Test-Data/blob/main/test_data/7_5_1000.blt.php

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

Elected
Election for 5 seats with 7 candidates. Total 1,000 votes.


 * 1) "B"
 * 2) "A"
 * 3) "C"
 * 4) "G"
 * 5) This seat could not be filled because no candidates fulfill the criteria. The last eliminated candidates were: "D", "E", "F"

Eliminated/Not elected

 * "D"
 * "E"
 * "F"

Rounds table
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. (Results from 03:39, 1 September 2021)

Navigation menu

 * Admin
 * Talk
 * Preferences
 * Watchlist
 * Contributions
 * Log out


 * Special page


 * Main page
 * Recent changes
 * Random page
 * Help about MediaWiki

Tools

 * Special pages
 * Printable version

Actual results archive
/archive

Expected
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

 * blt: https://github.com/dominic998/SecurePoll-Test-Data/blob/main/test_data/7_5_1000.blt

Environment

 * Where you tested: beta
 * Latest version of SecurePoll tested: 3.0.0 (58bf4c8) 11:07, 31 August 2021