Anti-Harassment Tools/SecurePoll Improvements/Test Results/100 uniform elections

Comments
I used a script to generate 100 random elections. Voters were simulated casting votes for candidates based on the assumption that each candidate was equally popular.

Each election was run in SecurePoll and OpenSTV, and their respective elected candidates compared.

In 12 of 100 elections, the candidates SecurePoll elected differed from OpenSTV (here is an example of one of these). This is possibly for the same reason as 7_5_1000, but it is hard to tell for sure.

Election setup

 * Candidates: 20
 * Seats: 4
 * Votes: 5000

Comparisons
A script compared the candidates SecurePoll and OpenSTV elected. I list below only the test data files where SecurePoll and OpenSTV differed:
 * 20_4_5000_2155278963.blt
 * 20_4_5000_2449345045.blt
 * 20_4_5000_2639270897.blt
 * 20_4_5000_3311518991.blt
 * 20_4_5000_5413623462.blt
 * 20_4_5000_5572588763.blt
 * 20_4_5000_5594736126.blt
 * 20_4_5000_6163321089.blt
 * 20_4_5000_6258154944.blt
 * 20_4_5000_8477213657.blt
 * 20_4_5000_8689352809.blt
 * 20_4_5000_8910242957.blt

Files
All test data and output here: https://github.com/dominic998/SecurePoll-Test-Data/tree/main/test_data/100_uniform_elections
 * Test blt files: files ending in
 * SecurePoll results: files ending
 * OpenSTV results: files ending in

Environment

 * Where you tested: local docker using PHPUnit
 * Version of SecurePoll: commit 7456aea7198d58e058d56ed4c1fd550354803cd5 (patch 24 from https://gerrit.wikimedia.org/r/c/mediawiki/extensions/SecurePoll/+/704454/)