From e3f4d06e2cb3f6d93e3acd047fbd4d8bf2b0b62b Mon Sep 17 00:00:00 2001 From: Armin Samii Date: Tue, 20 Jun 2023 11:39:34 -0400 Subject: [PATCH] test both CSV and JSON outputs in every test --- .../brightspots/rcv/TabulatorTests.java | 20 ++++---- ...013_minneapolis_mayor_expected_summary.csv | 47 +++++++++++++++++++ ...nneapolis_mayor_scale_expected_summary.csv | 47 +++++++++++++++++++ ...2013_minneapolis_park_expected_summary.csv | 23 +++++++++ ...polis_park_bottoms_up_expected_summary.csv | 22 +++++++++ ...minneapolis_park_hare_expected_summary.csv | 23 +++++++++ ...lis_park_sequential_1_expected_summary.csv | 22 +++++++++ ...lis_park_sequential_2_expected_summary.csv | 21 +++++++++ ...lis_park_sequential_3_expected_summary.csv | 20 ++++++++ .../2015_portland_mayor_expected_summary.csv | 27 +++++++++++ ..._portland_mayor_codes_expected_summary.csv | 27 +++++++++++ ...017_minneapolis_mayor_expected_summary.csv | 30 ++++++++++++ ...aine_governor_primary_expected_summary.csv | 19 ++++++++ .../aliases_cdf_json_expected_summary.csv | 15 ++++++ .../aliases_ess_xlsx_expected_summary.csv | 15 ++++++ ...ballot_kansas_primary_expected_summary.csv | 22 +++++++++ ...tinue_tabulation_test_expected_summary.csv | 14 ++++++ ...atch_elimination_test_expected_summary.csv | 18 +++++++ .../dominion_alaska_expected_summary.csv | 20 ++++++++ .../dominion_kansas_expected_summary.csv | 20 ++++++++ .../dominion_multi_file_expected_summary.csv | 16 +++++++ ...nion_no_precinct_data_expected_summary.csv | 20 ++++++++ .../dominion_wyoming_expected_summary.csv | 20 ++++++++ .../duplicate_test_expected_summary.csv | 14 ++++++ .../excluded_test_expected_summary.csv | 12 +++++ ...f_multiple_continuing_expected_summary.csv | 15 ++++++ ...rmines_threshold_test_expected_summary.csv | 14 ++++++ ...shold_tiebreaker_test_expected_summary.csv | 14 ++++++ .../generic_csv_test_expected_summary.csv | 16 +++++++ ...dar_park_school_board_expected_summary.csv | 19 ++++++++ ...ravis_county_officers_expected_summary.csv | 16 +++++++ ...inimum_threshold_test_expected_summary.csv | 16 +++++++ ..._multi_seat_threshold_expected_summary.csv | 17 +++++++ ...sing_precinct_example_expected_summary.csv | 30 ++++++++++++ ...oms_up_with_threshold_expected_summary.csv | 19 ++++++++ .../multi_seat_uwi_test_expected_summary.csv | 15 ++++++ .../nist_xml_cdf_2_expected_summary.csv | 14 ++++++ .../precinct_example_expected_summary.csv | 30 ++++++++++++ ...quential_with_batch_1_expected_summary.csv | 17 +++++++ ...quential_with_batch_2_expected_summary.csv | 16 +++++++ ...quential_with_batch_3_expected_summary.csv | 15 ++++++ ..._continue_until_two_1_expected_summary.csv | 17 +++++++ ..._continue_until_two_2_expected_summary.csv | 16 +++++++ ..._continue_until_two_3_expected_summary.csv | 15 ++++++ .../skip_to_next_test_expected_summary.csv | 15 ++++++ ...tabulation_early_test_expected_summary.csv | 14 ++++++ ..._skipped_first_choice_expected_summary.csv | 15 ++++++ ...1_exhaust_at_overvote_expected_summary.csv | 15 ++++++ ...overvote_skip_to_next_expected_summary.csv | 15 ++++++ ...kipped_choice_exhaust_expected_summary.csv | 15 ++++++ ...4_skipped_choice_next_expected_summary.csv | 15 ++++++ ...kipped_choice_exhaust_expected_summary.csv | 15 ++++++ ...t_6_duplicate_exhaust_expected_summary.csv | 15 ++++++ ...uplicate_skip_to_next_expected_summary.csv | 15 ++++++ .../test_set_8_multi_cdf_expected_summary.csv | 15 ++++++ ..._one_winner_per_round_expected_summary.csv | 16 +++++++ ..._fractional_threshold_expected_summary.csv | 18 +++++++ ...inner_whole_threshold_expected_summary.csv | 18 +++++++ ...et_overvote_delimiter_expected_summary.csv | 15 ++++++ ...s_undeclared_write_in_expected_summary.csv | 16 +++++++ ...rate_permutation_test_expected_summary.csv | 15 ++++++ ...unts_then_random_test_expected_summary.csv | 15 ++++++ .../tiebreak_seed_test_expected_summary.csv | 14 ++++++ ...tation_in_config_test_expected_summary.csv | 15 ++++++ ..._city_chief_of_police_expected_summary.csv | 19 ++++++++ ..._xml_cdf_city_coroner_expected_summary.csv | 18 +++++++ ...f_city_council_member_expected_summary.csv | 20 ++++++++ ...yn_xml_cdf_city_mayor_expected_summary.csv | 24 ++++++++++ ...df_city_tax_collector_expected_summary.csv | 20 ++++++++ ...ml_cdf_county_coroner_expected_summary.csv | 20 ++++++++ ...ml_cdf_county_sheriff_expected_summary.csv | 19 ++++++++ .../uwi_cannot_win_test_expected_summary.csv | 14 ++++++ 72 files changed, 1336 insertions(+), 9 deletions(-) create mode 100644 src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_mayor/2013_minneapolis_mayor_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_mayor_scale/2013_minneapolis_mayor_scale_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park/2013_minneapolis_park_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_bottoms_up/2013_minneapolis_park_bottoms_up_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_hare/2013_minneapolis_park_hare_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_sequential/2013_minneapolis_park_sequential_1_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_sequential/2013_minneapolis_park_sequential_2_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_sequential/2013_minneapolis_park_sequential_3_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/2015_portland_mayor/2015_portland_mayor_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/2015_portland_mayor_codes/2015_portland_mayor_codes_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/2017_minneapolis_mayor/2017_minneapolis_mayor_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/2018_maine_governor_primary/2018_maine_governor_primary_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/aliases_cdf_json/aliases_cdf_json_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/aliases_ess_xlsx/aliases_ess_xlsx_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/clear_ballot_kansas_primary/clear_ballot_kansas_primary_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/continue_tabulation_test/continue_tabulation_test_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/continue_until_two_with_batch_elimination_test/continue_until_two_with_batch_elimination_test_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/dominion_alaska/dominion_alaska_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/dominion_kansas/dominion_kansas_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/dominion_multi_file/dominion_multi_file_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/dominion_no_precinct_data/dominion_no_precinct_data_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/dominion_wyoming/dominion_wyoming_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/duplicate_test/duplicate_test_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/excluded_test/excluded_test_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/exhaust_if_multiple_continuing/exhaust_if_multiple_continuing_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/first_round_determines_threshold_test/first_round_determines_threshold_test_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/first_round_determines_threshold_tiebreaker_test/first_round_determines_threshold_tiebreaker_test_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/generic_csv_test/generic_csv_test_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/hart_cedar_park_school_board/hart_cedar_park_school_board_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/hart_travis_county_officers/hart_travis_county_officers_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/minimum_threshold_test/minimum_threshold_test_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/minneapolis_multi_seat_threshold/minneapolis_multi_seat_threshold_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/missing_precinct_example/missing_precinct_example_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/multi_seat_bottoms_up_with_threshold/multi_seat_bottoms_up_with_threshold_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/multi_seat_uwi_test/multi_seat_uwi_test_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/nist_xml_cdf_2/nist_xml_cdf_2_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/precinct_example/precinct_example_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/sequential_with_batch/sequential_with_batch_1_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/sequential_with_batch/sequential_with_batch_2_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/sequential_with_batch/sequential_with_batch_3_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/sequential_with_continue_until_two/sequential_with_continue_until_two_1_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/sequential_with_continue_until_two/sequential_with_continue_until_two_2_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/sequential_with_continue_until_two/sequential_with_continue_until_two_3_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/skip_to_next_test/skip_to_next_test_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/stop_tabulation_early_test/stop_tabulation_early_test_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/test_set_0_skipped_first_choice/test_set_0_skipped_first_choice_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/test_set_1_exhaust_at_overvote/test_set_1_exhaust_at_overvote_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/test_set_2_overvote_skip_to_next/test_set_2_overvote_skip_to_next_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/test_set_3_skipped_choice_exhaust/test_set_3_skipped_choice_exhaust_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/test_set_4_skipped_choice_next/test_set_4_skipped_choice_next_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/test_set_5_two_skipped_choice_exhaust/test_set_5_two_skipped_choice_exhaust_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/test_set_6_duplicate_exhaust/test_set_6_duplicate_exhaust_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/test_set_7_duplicate_skip_to_next/test_set_7_duplicate_skip_to_next_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/test_set_8_multi_cdf/test_set_8_multi_cdf_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/test_set_allow_only_one_winner_per_round/test_set_allow_only_one_winner_per_round_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/test_set_multi_winner_fractional_threshold/test_set_multi_winner_fractional_threshold_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/test_set_multi_winner_whole_threshold/test_set_multi_winner_whole_threshold_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/test_set_overvote_delimiter/test_set_overvote_delimiter_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/test_set_treat_blank_as_undeclared_write_in/test_set_treat_blank_as_undeclared_write_in_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/tiebreak_generate_permutation_test/tiebreak_generate_permutation_test_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/tiebreak_previous_round_counts_then_random_test/tiebreak_previous_round_counts_then_random_test_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/tiebreak_seed_test/tiebreak_seed_test_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/tiebreak_use_permutation_in_config_test/tiebreak_use_permutation_in_config_test_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_city_chief_of_police/unisyn_xml_cdf_city_chief_of_police_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_city_coroner/unisyn_xml_cdf_city_coroner_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_city_council_member/unisyn_xml_cdf_city_council_member_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_city_mayor/unisyn_xml_cdf_city_mayor_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_city_tax_collector/unisyn_xml_cdf_city_tax_collector_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_county_coroner/unisyn_xml_cdf_county_coroner_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_county_sheriff/unisyn_xml_cdf_county_sheriff_expected_summary.csv create mode 100644 src/test/resources/network/brightspots/rcv/test_data/uwi_cannot_win_test/uwi_cannot_win_test_expected_summary.csv diff --git a/src/test/java/network/brightspots/rcv/TabulatorTests.java b/src/test/java/network/brightspots/rcv/TabulatorTests.java index 2e96d26f0..069082447 100644 --- a/src/test/java/network/brightspots/rcv/TabulatorTests.java +++ b/src/test/java/network/brightspots/rcv/TabulatorTests.java @@ -152,7 +152,7 @@ private static void runConvertToCdfTest(String stem) { String timestampString = session.getTimestampString(); ContestConfig config = ContestConfig.loadContestConfig(configPath); - compareJson(config, stem, "cvr_cdf", timestampString, null); + compareFiles(config, stem, "cvr_cdf", ".json", timestampString, null); cleanOutputFolder(session); } @@ -186,29 +186,31 @@ private static void cleanOutputFolder(TabulatorSession session) { private static void compareJsons( ContestConfig config, String stem, String timestampString, String sequentialId) { - compareJson(config, stem, "summary", timestampString, sequentialId); + compareFiles(config, stem, "summary", ".json", timestampString, sequentialId); + compareFiles(config, stem, "summary", ".csv", timestampString, sequentialId); if (config.isGenerateCdfJsonEnabled()) { - compareJson(config, stem, "cvr_cdf", timestampString, sequentialId); + compareFiles(config, stem, "cvr_cdf", ".json", timestampString, sequentialId); } } - private static void compareJson( + private static void compareFiles( ContestConfig config, String stem, - String jsonType, + String outputType, + String extension, String timestampString, String sequentialId) { String actualOutputPath = ResultsWriter.getOutputFilePath( - config.getOutputDirectory(), jsonType, timestampString, sequentialId) - + ".json"; + config.getOutputDirectory(), outputType, timestampString, sequentialId) + + extension; String expectedPath = getTestFilePath( stem, ResultsWriter.sequentialSuffixForOutputPath(sequentialId) + "_expected_" - + jsonType - + ".json"); + + outputType + + extension); Logger.info("Comparing files:\nGenerated: %s\nReference: %s", actualOutputPath, expectedPath); if (fileCompare(expectedPath, actualOutputPath)) { Logger.info("Files are equal."); diff --git a/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_mayor/2013_minneapolis_mayor_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_mayor/2013_minneapolis_mayor_expected_summary.csv new file mode 100644 index 000000000..5da34c358 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_mayor/2013_minneapolis_mayor_expected_summary.csv @@ -0,0 +1,47 @@ +Contest,2013 Minneapolis Mayor +Jurisdiction,Minneapolis +Office,Mayor +Date, +Winner(s),BETSY HODGES +Threshold,31898 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6,Round 7,Round 8,Round 9,Round 10,Round 11,Round 12,Round 13,Round 14,Round 15,Round 16,Round 17,Round 18,Round 19,Round 20,Round 21,Round 22,Round 23,Round 24,Round 25,Round 26,Round 27,Round 28,Round 29,Round 30,Round 31,Round 32,Round 33 +Eliminated,Undeclared Write-ins,JOHN CHARLES WILSON,CYD GORMAN,BOB AGAIN CARNEY JR,RAHN V. WORKCUFF,"JAMES JIMMY L. STROUD, JR.",EDMUND BERNARD BRUYERE,JOHN LESLIE HARTWIG,BILL KAHN,JOSHUA REA,MERRILL ANDERSON,GREGG A. IVERSON,TROY BENJEGERDES,NEAL BAXTER,JEFFREY ALAN WAGNER,CHRISTOPHER ROBIN ZIMMERMAN,KURTIS W. HANNA,MIKE GOULD,JAYMIE KELLY,TONY LANE,CHRISTOPHER CLARK,CAPTAIN JACK SPARROW,ABDUL M RAHAMAN THE ROCK,ALICIA K. BENNETT,JAMES EVERETT,OLE SAVIOR,DOUG MANN,MARK V ANDERSON,STEPHANIE WOODRUFF,DAN COHEN,JACKIE CHERRYHOMES; BOB FINE,DON SAMUELS; CAM WINTON, +Elected,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,BETSY HODGES +BETSY HODGES,28951,28972,28973,28977,28983,28988,28992,29004,29012,29016,29020,29025,29032,29060,29092,29106,29112,29161,29174,29248,29305,29313,29371,29406,29479,29581,29595,30034,30278,30661,30952,32567,38852 +MARK ANDREW,19621,19637,19641,19642,19649,19650,19656,19661,19663,19666,19671,19681,19698,19711,19727,19769,19776,19786,19816,19824,19849,19857,19880,19915,19959,19994,20016,20123,20180,20307,20498,21802,24942 +DON SAMUELS,8344,8348,8349,8351,8359,8364,8367,8372,8375,8376,8379,8386,8391,8399,8408,8417,8422,8433,8449,8455,8472,8477,8488,8495,8523,8549,8572,8615,8691,8836,9089,10292,0 +CAM WINTON,7523,7530,7532,7534,7534,7537,7538,7546,7552,7554,7557,7560,7561,7566,7581,7583,7603,7624,7627,7632,7637,7694,7705,7708,7713,7720,7812,7830,7925,8019,8438,8958,0 +JACKIE CHERRYHOMES,3539,3542,3542,3542,3542,3547,3551,3557,3559,3562,3570,3576,3599,3603,3607,3618,3626,3628,3644,3652,3659,3661,3672,3680,3701,3731,3741,3759,3859,3951,4060,0,0 +BOB FINE,2095,2097,2099,2100,2102,2106,2109,2111,2112,2115,2116,2119,2129,2131,2135,2141,2141,2149,2162,2166,2170,2176,2192,2198,2217,2230,2249,2280,2337,2411,2553,0,0 +DAN COHEN,1804,1807,1809,1811,1811,1812,1815,1816,1822,1828,1833,1841,1848,1851,1855,1861,1866,1875,1883,1893,1896,1912,1935,1940,1950,1959,2012,2045,2098,2138,0,0,0 +STEPHANIE WOODRUFF,1012,1014,1015,1016,1017,1018,1018,1022,1023,1027,1027,1031,1037,1045,1052,1058,1058,1061,1076,1083,1087,1088,1096,1112,1182,1194,1198,1235,1255,0,0,0,0 +MARK V ANDERSON,982,983,984,987,988,993,994,995,1000,1005,1008,1016,1018,1023,1026,1027,1043,1047,1047,1051,1053,1071,1075,1083,1094,1103,1150,1160,0,0,0,0,0 +DOUG MANN,779,782,787,791,794,796,796,800,801,802,809,813,816,831,836,841,846,863,867,899,961,971,993,996,1002,1089,1106,0,0,0,0,0,0 +OLE SAVIOR,695,696,697,697,697,700,700,700,706,710,710,715,717,719,728,729,747,751,753,754,754,791,803,807,810,810,0,0,0,0,0,0,0 +ALICIA K. BENNETT,351,352,352,352,353,353,356,357,360,364,367,373,378,379,379,390,392,393,413,422,428,431,434,440,0,0,0,0,0,0,0,0,0 +ABDUL M RAHAMAN THE ROCK,350,351,351,351,352,353,355,355,355,360,364,367,372,377,377,381,383,386,391,393,393,394,410,0,0,0,0,0,0,0,0,0,0 +JAMES EVERETT,348,349,350,351,354,357,357,358,364,367,369,370,370,379,382,383,387,399,402,412,427,430,439,443,451,0,0,0,0,0,0,0,0 +CAPTAIN JACK SPARROW,265,269,270,270,276,277,278,278,279,283,287,292,294,298,303,306,308,324,328,332,340,351,0,0,0,0,0,0,0,0,0,0,0 +TONY LANE,219,220,223,223,223,224,225,226,227,229,230,235,237,243,245,249,250,255,262,275,0,0,0,0,0,0,0,0,0,0,0,0,0 +MIKE GOULD,204,207,207,207,207,207,209,210,210,214,217,218,220,221,227,235,236,238,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +KURTIS W. HANNA,200,200,200,201,202,202,202,202,204,204,206,207,207,214,214,215,221,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +JAYMIE KELLY,196,197,197,197,198,199,202,203,203,205,214,219,223,235,240,241,242,247,251,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +CHRISTOPHER CLARK,190,192,194,194,194,195,195,195,198,200,200,201,203,204,210,210,264,278,281,281,285,0,0,0,0,0,0,0,0,0,0,0,0 +CHRISTOPHER ROBIN ZIMMERMAN,170,170,170,171,171,175,176,177,180,183,184,186,188,190,192,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +JEFFREY ALAN WAGNER,165,165,165,165,165,166,169,169,170,172,174,177,184,186,187,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +TROY BENJEGERDES,149,149,150,150,150,150,152,156,157,158,158,164,167,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +GREGG A. IVERSON,146,146,147,149,149,149,149,149,152,153,155,156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +NEAL BAXTER,145,145,145,146,146,151,151,151,166,170,171,174,176,178,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +MERRILL ANDERSON,109,109,109,112,113,113,118,121,122,123,139,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +JOSHUA REA,109,109,109,112,112,113,114,114,115,118,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +BILL KAHN,102,103,104,105,106,106,108,108,110,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +JOHN LESLIE HARTWIG,97,97,99,99,100,101,101,101,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +EDMUND BERNARD BRUYERE,72,72,72,72,72,73,73,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +RAHN V. WORKCUFF,66,66,66,66,66,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +"JAMES JIMMY L. STROUD, JR.",65,66,66,66,68,68,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +BOB AGAIN CARNEY JR,56,56,56,57,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +CYD GORMAN,39,39,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +JOHN CHARLES WILSON,37,38,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +Undeclared Write-ins,117,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +Inactive ballots,789,826,832,837,848,858,875,887,904,937,966,999,1036,1058,1098,1149,1178,1203,1275,1329,1385,1484,1608,1878,2020,2141,2650,3020,3478,3778,4511,6482,16307 diff --git a/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_mayor_scale/2013_minneapolis_mayor_scale_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_mayor_scale/2013_minneapolis_mayor_scale_expected_summary.csv new file mode 100644 index 000000000..00ec88654 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_mayor_scale/2013_minneapolis_mayor_scale_expected_summary.csv @@ -0,0 +1,47 @@ +Contest,2013 Minneapolis Mayor +Jurisdiction, +Office, +Date, +Winner(s),BETSY HODGES +Threshold,414662 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6,Round 7,Round 8,Round 9,Round 10,Round 11,Round 12,Round 13,Round 14,Round 15,Round 16,Round 17,Round 18,Round 19,Round 20,Round 21,Round 22,Round 23,Round 24,Round 25,Round 26,Round 27,Round 28,Round 29,Round 30,Round 31,Round 32,Round 33 +Eliminated,Undeclared Write-ins,JOHN CHARLES WILSON,CYD GORMAN,BOB AGAIN CARNEY JR,RAHN V. WORKCUFF,"JAMES JIMMY L. STROUD, JR.",EDMUND BERNARD BRUYERE,JOHN LESLIE HARTWIG,BILL KAHN,JOSHUA REA,MERRILL ANDERSON,GREGG A. IVERSON,TROY BENJEGERDES,NEAL BAXTER,JEFFREY ALAN WAGNER,CHRISTOPHER ROBIN ZIMMERMAN,KURTIS W. HANNA,MIKE GOULD,JAYMIE KELLY,TONY LANE,CHRISTOPHER CLARK,CAPTAIN JACK SPARROW,ABDUL M RAHAMAN THE ROCK,ALICIA K. BENNETT,JAMES EVERETT,OLE SAVIOR,DOUG MANN,MARK V ANDERSON,STEPHANIE WOODRUFF,DAN COHEN,JACKIE CHERRYHOMES; BOB FINE,DON SAMUELS; CAM WINTON, +Elected,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,BETSY HODGES +BETSY HODGES,376363,376636,376649,376701,376779,376844,376896,377052,377156,377208,377260,377325,377416,377780,378196,378378,378456,379093,379262,380224,380965,381069,381823,382278,383227,384553,384735,390442,393614,398593,402376,423371,505076 +MARK ANDREW,255073,255281,255333,255346,255437,255450,255528,255593,255619,255658,255723,255853,256074,256243,256451,256997,257088,257218,257608,257712,258037,258141,258440,258895,259467,259922,260208,261599,262340,263991,266474,283426,324246 +DON SAMUELS,108472,108524,108537,108563,108667,108732,108771,108836,108875,108888,108927,109018,109083,109187,109304,109421,109486,109629,109837,109915,110136,110201,110344,110435,110799,111137,111436,111995,112983,114868,118157,133796,0 +CAM WINTON,97799,97890,97916,97942,97942,97981,97994,98098,98176,98202,98241,98280,98293,98358,98553,98579,98839,99112,99151,99216,99281,100022,100165,100204,100269,100360,101556,101790,103025,104247,109694,116454,0 +JACKIE CHERRYHOMES,46007,46046,46046,46046,46046,46111,46163,46241,46267,46306,46410,46488,46787,46839,46891,47034,47138,47164,47372,47476,47567,47593,47736,47840,48113,48503,48633,48867,50167,51363,52780,0,0 +BOB FINE,27235,27261,27287,27300,27326,27378,27417,27443,27456,27495,27508,27547,27677,27703,27755,27833,27833,27937,28106,28158,28210,28288,28496,28574,28821,28990,29237,29640,30381,31343,33189,0,0 +DAN COHEN,23452,23491,23517,23543,23543,23556,23595,23608,23686,23764,23829,23933,24024,24063,24115,24193,24258,24375,24479,24609,24648,24856,25155,25220,25350,25467,26156,26585,27274,27794,0,0,0 +STEPHANIE WOODRUFF,13156,13182,13195,13208,13221,13234,13234,13286,13299,13351,13351,13403,13481,13585,13676,13754,13754,13793,13988,14079,14131,14144,14248,14456,15366,15522,15574,16055,16315,0,0,0,0 +MARK V ANDERSON,12766,12779,12792,12831,12844,12909,12922,12935,13000,13065,13104,13208,13234,13299,13338,13351,13559,13611,13611,13663,13689,13923,13975,14079,14222,14339,14950,15080,0,0,0,0,0 +DOUG MANN,10127,10166,10231,10283,10322,10348,10348,10400,10413,10426,10517,10569,10608,10803,10868,10933,10998,11219,11271,11687,12493,12623,12909,12948,13026,14157,14378,0,0,0,0,0,0 +OLE SAVIOR,9035,9048,9061,9061,9061,9100,9100,9100,9178,9230,9230,9295,9321,9347,9464,9477,9711,9763,9789,9802,9802,10283,10439,10491,10530,10530,0,0,0,0,0,0,0 +ALICIA K. BENNETT,4563,4576,4576,4576,4589,4589,4628,4641,4680,4732,4771,4849,4914,4927,4927,5070,5096,5109,5369,5486,5564,5603,5642,5720,0,0,0,0,0,0,0,0,0 +ABDUL M RAHAMAN THE ROCK,4550,4563,4563,4563,4576,4589,4615,4615,4615,4680,4732,4771,4836,4901,4901,4953,4979,5018,5083,5109,5109,5122,5330,0,0,0,0,0,0,0,0,0,0 +JAMES EVERETT,4524,4537,4550,4563,4602,4641,4641,4654,4732,4771,4797,4810,4810,4927,4966,4979,5031,5187,5226,5356,5551,5590,5707,5759,5863,0,0,0,0,0,0,0,0 +CAPTAIN JACK SPARROW,3445,3497,3510,3510,3588,3601,3614,3614,3627,3679,3731,3796,3822,3874,3939,3978,4004,4212,4264,4316,4420,4563,0,0,0,0,0,0,0,0,0,0,0 +TONY LANE,2847,2860,2899,2899,2899,2912,2925,2938,2951,2977,2990,3055,3081,3159,3185,3237,3250,3315,3406,3575,0,0,0,0,0,0,0,0,0,0,0,0,0 +MIKE GOULD,2652,2691,2691,2691,2691,2691,2717,2730,2730,2782,2821,2834,2860,2873,2951,3055,3068,3094,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +KURTIS W. HANNA,2600,2600,2600,2613,2626,2626,2626,2626,2652,2652,2678,2691,2691,2782,2782,2795,2873,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +JAYMIE KELLY,2548,2561,2561,2561,2574,2587,2626,2639,2639,2665,2782,2847,2899,3055,3120,3133,3146,3211,3263,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +CHRISTOPHER CLARK,2470,2496,2522,2522,2522,2535,2535,2535,2574,2600,2600,2613,2639,2652,2730,2730,3432,3614,3653,3653,3705,0,0,0,0,0,0,0,0,0,0,0,0 +CHRISTOPHER ROBIN ZIMMERMAN,2210,2210,2210,2223,2223,2275,2288,2301,2340,2379,2392,2418,2444,2470,2496,2496,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +JEFFREY ALAN WAGNER,2145,2145,2145,2145,2145,2158,2197,2197,2210,2236,2262,2301,2392,2418,2431,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +TROY BENJEGERDES,1937,1937,1950,1950,1950,1950,1976,2028,2041,2054,2054,2132,2171,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +GREGG A. IVERSON,1898,1898,1911,1937,1937,1937,1937,1937,1976,1989,2015,2028,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +NEAL BAXTER,1885,1885,1885,1898,1898,1963,1963,1963,2158,2210,2223,2262,2288,2314,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +MERRILL ANDERSON,1417,1417,1417,1456,1469,1469,1534,1573,1586,1599,1807,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +JOSHUA REA,1417,1417,1417,1456,1456,1469,1482,1482,1495,1534,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +BILL KAHN,1326,1339,1352,1365,1378,1378,1404,1404,1430,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +JOHN LESLIE HARTWIG,1261,1261,1287,1287,1300,1313,1313,1313,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +EDMUND BERNARD BRUYERE,936,936,936,936,936,949,949,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +RAHN V. WORKCUFF,858,858,858,858,858,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +"JAMES JIMMY L. STROUD, JR.",845,858,858,858,884,884,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +BOB AGAIN CARNEY JR,728,728,728,741,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +CYD GORMAN,507,507,507,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +JOHN CHARLES WILSON,481,494,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +Undeclared Write-ins,1521,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +Inactive ballots,10257,10738,10816,10881,11024,11154,11375,11531,11752,12181,12558,12987,13468,13754,14274,14937,15314,15639,16575,17277,18005,19292,20904,24414,26260,27833,34450,39260,45214,49114,58643,84266,211991 diff --git a/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park/2013_minneapolis_park_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park/2013_minneapolis_park_expected_summary.csv new file mode 100644 index 000000000..19b74aabe --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park/2013_minneapolis_park_expected_summary.csv @@ -0,0 +1,23 @@ +Contest,2013 Minneapolis Park Board +Jurisdiction,Minneapolis +Office,Park and Recreation Commissioner +Date, +Winner(s),"JOHN ERWIN, ANNIE YOUNG, MEG FORNEY" +Threshold,14866 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6,Round 7,Round 8,Round 9,Round 10,Round 11 +Eliminated,Undeclared Write-ins,CASPER HILL,,ISHMAEL ISRAEL,MARY LYNN MCPHERSON,STEVE BARLAND,HASHIM YONIS,JASON STONE,TOM NORDYKE,, +Elected,,,JOHN ERWIN,,,,,,,ANNIE YOUNG; MEG FORNEY, +JOHN ERWIN,14678,14684,14866,14866.0000,14866.0000,14866.0000,14866.0000,14866.0000,14866.0000,14866.0000,14866.0000 +ANNIE YOUNG,9294,9302,9452,9452.0000,10055.0000,11054.0000,11525.0000,12027.0000,13886.0000,15044.0000,14866 +MEG FORNEY,7856,7864,8031,8031.0000,8421.0000,9159.0000,9829.0000,10156.0000,10965.0000,12245.0000,12245.0000 +TOM NORDYKE,6511,6514,6595,6595.0000,6759.0000,7001.0000,7535.0000,7688.0000,8701.0000,0,0 +JASON STONE,5357,5364,5477,5477.0000,5819.0000,6097.0000,6549.0000,6741.0000,0,0,0 +HASHIM YONIS,3762,3767,3799,3799.0000,4346.0000,4490.0000,4571.0000,0,0,0,0 +STEVE BARLAND,3705,3707,3803,3803.0000,3901.0000,4113.0000,0,0,0,0,0 +MARY LYNN MCPHERSON,3373,3378,3479,3479.0000,3694.0000,0,0,0,0,0,0 +ISHMAEL ISRAEL,3305,3310,3374,3374.0000,0,0,0,0,0,0,0 +CASPER HILL,1280,1284,0,0,0,0,0,0,0,0,0 +Undeclared Write-ins,342,0,0,0,0,0,0,0,0,0,0 +Inactive ballots,20638,20927,21225,21225.0000,22240.0000,23321.0000,25226.0000,28623.0000,31683.0000,37946.0000,38123.5192 +Residual surplus,0,0,0,0,0,0,0,0,0,0,0.4808 diff --git a/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_bottoms_up/2013_minneapolis_park_bottoms_up_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_bottoms_up/2013_minneapolis_park_bottoms_up_expected_summary.csv new file mode 100644 index 000000000..6fbfb4abb --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_bottoms_up/2013_minneapolis_park_bottoms_up_expected_summary.csv @@ -0,0 +1,22 @@ +Contest,2013 Minneapolis Park Board +Jurisdiction,Minneapolis +Office,Park and Recreation Commissioner +Date, +Winner(s),"ANNIE YOUNG, JOHN ERWIN, MEG FORNEY" +Threshold,14866 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6,Round 7,Round 8,Round 9 +Eliminated,Undeclared Write-ins,CASPER HILL,ISHMAEL ISRAEL,MARY LYNN MCPHERSON,STEVE BARLAND,HASHIM YONIS,JASON STONE,TOM NORDYKE, +Elected,,,,,,,,,ANNIE YOUNG; JOHN ERWIN; MEG FORNEY +JOHN ERWIN,14678,14684,14866,15148,15364,15894,16074,17831,21650 +ANNIE YOUNG,9294,9302,9452,9983,10942,11353,11839,13163,13914 +MEG FORNEY,7856,7864,8031,8403,9102,9709,10026,10728,11704 +TOM NORDYKE,6511,6514,6595,6723,6933,7369,7508,8246,0 +JASON STONE,5357,5364,5477,5766,6020,6406,6580,0,0 +HASHIM YONIS,3762,3767,3799,4329,4469,4543,0,0,0 +STEVE BARLAND,3705,3707,3803,3893,4094,0,0,0,0 +MARY LYNN MCPHERSON,3373,3378,3479,3681,0,0,0,0,0 +ISHMAEL ISRAEL,3305,3310,3374,0,0,0,0,0,0 +CASPER HILL,1280,1284,0,0,0,0,0,0,0 +Undeclared Write-ins,342,0,0,0,0,0,0,0,0 +Inactive ballots,20638,20927,21225,22175,23177,24827,28074,30133,32833 diff --git a/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_hare/2013_minneapolis_park_hare_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_hare/2013_minneapolis_park_hare_expected_summary.csv new file mode 100644 index 000000000..6dcfdea61 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_hare/2013_minneapolis_park_hare_expected_summary.csv @@ -0,0 +1,23 @@ +Contest,2013 Minneapolis Park Board +Jurisdiction,Minneapolis +Office,Park and Recreation Commissioner +Date, +Winner(s),"ANNIE YOUNG, JOHN ERWIN, MEG FORNEY" +Threshold,19821 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6,Round 7,Round 8,Round 9,Round 10 +Eliminated,Undeclared Write-ins,CASPER HILL,ISHMAEL ISRAEL,MARY LYNN MCPHERSON,STEVE BARLAND,HASHIM YONIS,JASON STONE,TOM NORDYKE,, +Elected,,,,,,,,,ANNIE YOUNG; JOHN ERWIN; MEG FORNEY, +JOHN ERWIN,14678,14684,14866,15148,15364,15894,16074,17831,21650,19821 +ANNIE YOUNG,9294,9302,9452,9983,10942,11353,11839,13163,13914,13914.0000 +MEG FORNEY,7856,7864,8031,8403,9102,9709,10026,10728,11704,11704.0000 +TOM NORDYKE,6511,6514,6595,6723,6933,7369,7508,8246,0,0 +JASON STONE,5357,5364,5477,5766,6020,6406,6580,0,0,0 +HASHIM YONIS,3762,3767,3799,4329,4469,4543,0,0,0,0 +STEVE BARLAND,3705,3707,3803,3893,4094,0,0,0,0,0 +MARY LYNN MCPHERSON,3373,3378,3479,3681,0,0,0,0,0,0 +ISHMAEL ISRAEL,3305,3310,3374,0,0,0,0,0,0,0 +CASPER HILL,1280,1284,0,0,0,0,0,0,0,0 +Undeclared Write-ins,342,0,0,0,0,0,0,0,0,0 +Inactive ballots,20638,20927,21225,22175,23177,24827,28074,30133,32833,34660.2600 +Residual surplus,0,0,0,0,0,0,0,0,0,1.7400 diff --git a/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_sequential/2013_minneapolis_park_sequential_1_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_sequential/2013_minneapolis_park_sequential_1_expected_summary.csv new file mode 100644 index 000000000..218d3e2c3 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_sequential/2013_minneapolis_park_sequential_1_expected_summary.csv @@ -0,0 +1,22 @@ +Contest,2013 Minneapolis Park Board +Jurisdiction,Minneapolis +Office,Park and Recreation Commissioner +Date, +Winner(s),JOHN ERWIN +Threshold,20163 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6,Round 7,Round 8,Round 9,Round 10 +Eliminated,Undeclared Write-ins,CASPER HILL,ISHMAEL ISRAEL,MARY LYNN MCPHERSON,STEVE BARLAND,HASHIM YONIS,JASON STONE,TOM NORDYKE,MEG FORNEY, +Elected,,,,,,,,,,JOHN ERWIN +JOHN ERWIN,14678,14684,14866,15148,15364,15894,16074,17831,21650,22990 +ANNIE YOUNG,9294,9302,9452,9983,10942,11353,11839,13163,13914,17334 +MEG FORNEY,7856,7864,8031,8403,9102,9709,10026,10728,11704,0 +TOM NORDYKE,6511,6514,6595,6723,6933,7369,7508,8246,0,0 +JASON STONE,5357,5364,5477,5766,6020,6406,6580,0,0,0 +HASHIM YONIS,3762,3767,3799,4329,4469,4543,0,0,0,0 +STEVE BARLAND,3705,3707,3803,3893,4094,0,0,0,0,0 +MARY LYNN MCPHERSON,3373,3378,3479,3681,0,0,0,0,0,0 +ISHMAEL ISRAEL,3305,3310,3374,0,0,0,0,0,0,0 +CASPER HILL,1280,1284,0,0,0,0,0,0,0,0 +Undeclared Write-ins,342,0,0,0,0,0,0,0,0,0 +Inactive ballots,20638,20927,21225,22175,23177,24827,28074,30133,32833,39777 diff --git a/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_sequential/2013_minneapolis_park_sequential_2_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_sequential/2013_minneapolis_park_sequential_2_expected_summary.csv new file mode 100644 index 000000000..38e02e262 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_sequential/2013_minneapolis_park_sequential_2_expected_summary.csv @@ -0,0 +1,21 @@ +Contest,2013 Minneapolis Park Board +Jurisdiction,Minneapolis +Office,Park and Recreation Commissioner +Date, +Winner(s),ANNIE YOUNG +Threshold,18458 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6,Round 7,Round 8,Round 9 +Eliminated,Undeclared Write-ins,CASPER HILL,MARY LYNN MCPHERSON,ISHMAEL ISRAEL,STEVE BARLAND,HASHIM YONIS,JASON STONE,MEG FORNEY, +Elected,,,,,,,,,ANNIE YOUNG +ANNIE YOUNG,12947,12956,13196,14168,14958,15489,16010,18744,22305 +TOM NORDYKE,10594,10601,10737,11004,11236,11855,12024,13371,14609 +MEG FORNEY,8827,8835,9051,9786,10301,11016,11353,12363,0 +JASON STONE,7528,7537,7751,8060,8558,9087,9302,0,0 +STEVE BARLAND,4104,4107,4240,4474,4599,0,0,0,0 +HASHIM YONIS,3946,3952,3998,4120,4740,4827,0,0,0 +ISHMAEL ISRAEL,3800,3805,3913,4076,0,0,0,0,0 +MARY LYNN MCPHERSON,3713,3718,3849,0,0,0,0,0,0 +CASPER HILL,1586,1590,0,0,0,0,0,0,0 +Undeclared Write-ins,356,0,0,0,0,0,0,0,0 +Inactive ballots,22700,23000,23366,24413,25709,27827,31412,35623,43187 diff --git a/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_sequential/2013_minneapolis_park_sequential_3_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_sequential/2013_minneapolis_park_sequential_3_expected_summary.csv new file mode 100644 index 000000000..35fc8e56f --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_sequential/2013_minneapolis_park_sequential_3_expected_summary.csv @@ -0,0 +1,20 @@ +Contest,2013 Minneapolis Park Board +Jurisdiction,Minneapolis +Office,Park and Recreation Commissioner +Date, +Winner(s),MEG FORNEY +Threshold,15675 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6,Round 7,Round 8 +Eliminated,Undeclared Write-ins,CASPER HILL,HASHIM YONIS,STEVE BARLAND,MARY LYNN MCPHERSON,ISHMAEL ISRAEL,JASON STONE, +Elected,,,,,,,,MEG FORNEY +TOM NORDYKE,11939,11946,12096,12220,12841,13238,13596,15136 +JASON STONE,11221,11230,11503,11682,12222,12725,13436,0 +MEG FORNEY,10994,11007,11290,11511,12275,14071,14954,16212 +ISHMAEL ISRAEL,4683,4688,4822,5461,5688,5979,0,0 +MARY LYNN MCPHERSON,4654,4660,4843,5023,5407,0,0,0 +STEVE BARLAND,4546,4549,4704,4782,0,0,0,0 +HASHIM YONIS,4277,4284,4341,0,0,0,0,0 +CASPER HILL,1903,1908,0,0,0,0,0,0 +Undeclared Write-ins,381,0,0,0,0,0,0,0 +Inactive ballots,25503,25829,26502,29422,31668,34088,38115,48753 diff --git a/src/test/resources/network/brightspots/rcv/test_data/2015_portland_mayor/2015_portland_mayor_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/2015_portland_mayor/2015_portland_mayor_expected_summary.csv new file mode 100644 index 000000000..3445b0c0f --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/2015_portland_mayor/2015_portland_mayor_expected_summary.csv @@ -0,0 +1,27 @@ +Contest,Portland 2015 Mayoral Race +Jurisdiction,"Portland, ME" +Office,Mayor +Date,2015-11-03 +Winner(s),"Mavodones, Nicholas M. Jr." +Threshold,48 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6,Round 7,Round 8,Round 9,Round 10,Round 11,Round 12,Round 13,Round 14 +Eliminated,"Undeclared Write-ins; Strimling, Ethan K.","Rathband, Jed","Marshall, David A.","Eder, John M.","Miller, Markos S.","Brennan, Michael F.","Vail, Christopher L.","Lapchick, Jodie L.","Duson, Jill C.","Haadoow, Hamza A.","Bryant, Peter G.","Dodge, Richard A.","Bragdon, Charles E.", +Elected,,,,,,,,,,,,,,"Mavodones, Nicholas M. Jr." +"Mavodones, Nicholas M. Jr.",13,13,15,15,15,20,20,26,32,34,41,42,45,54 +"Carmona, Ralph C.",12,12,12,12,12,12,13,13,13,13,15,17,28,40 +"Bragdon, Charles E.",11,11,11,11,11,11,14,14,14,14,14,23,24,0 +"Dodge, Richard A.",10,10,10,10,10,10,10,10,10,15,15,15,0,0 +"Bryant, Peter G.",9,9,9,9,9,9,11,11,11,12,12,0,0,0 +"Haadoow, Hamza A.",8,8,8,8,8,8,8,8,9,9,0,0,0,0 +"Lapchick, Jodie L.",7,7,7,7,7,7,7,7,0,0,0,0,0,0 +"Brennan, Michael F.",6,6,6,6,6,6,0,0,0,0,0,0,0,0 +"Vail, Christopher L.",6,7,7,7,7,7,7,0,0,0,0,0,0,0 +"Duson, Jill C.",5,5,5,5,8,8,8,8,8,0,0,0,0,0 +"Miller, Markos S.",3,3,3,5,5,0,0,0,0,0,0,0,0,0 +"Eder, John M.",3,3,3,3,0,0,0,0,0,0,0,0,0,0 +"Marshall, David A.",2,2,2,0,0,0,0,0,0,0,0,0,0,0 +"Rathband, Jed",2,2,0,0,0,0,0,0,0,0,0,0,0,0 +"Strimling, Ethan K.",1,0,0,0,0,0,0,0,0,0,0,0,0,0 +Undeclared Write-ins,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +Inactive ballots,1,1,1,1,1,1,1,2,2,2,2,2,2,5 diff --git a/src/test/resources/network/brightspots/rcv/test_data/2015_portland_mayor_codes/2015_portland_mayor_codes_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/2015_portland_mayor_codes/2015_portland_mayor_codes_expected_summary.csv new file mode 100644 index 000000000..3445b0c0f --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/2015_portland_mayor_codes/2015_portland_mayor_codes_expected_summary.csv @@ -0,0 +1,27 @@ +Contest,Portland 2015 Mayoral Race +Jurisdiction,"Portland, ME" +Office,Mayor +Date,2015-11-03 +Winner(s),"Mavodones, Nicholas M. Jr." +Threshold,48 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6,Round 7,Round 8,Round 9,Round 10,Round 11,Round 12,Round 13,Round 14 +Eliminated,"Undeclared Write-ins; Strimling, Ethan K.","Rathband, Jed","Marshall, David A.","Eder, John M.","Miller, Markos S.","Brennan, Michael F.","Vail, Christopher L.","Lapchick, Jodie L.","Duson, Jill C.","Haadoow, Hamza A.","Bryant, Peter G.","Dodge, Richard A.","Bragdon, Charles E.", +Elected,,,,,,,,,,,,,,"Mavodones, Nicholas M. Jr." +"Mavodones, Nicholas M. Jr.",13,13,15,15,15,20,20,26,32,34,41,42,45,54 +"Carmona, Ralph C.",12,12,12,12,12,12,13,13,13,13,15,17,28,40 +"Bragdon, Charles E.",11,11,11,11,11,11,14,14,14,14,14,23,24,0 +"Dodge, Richard A.",10,10,10,10,10,10,10,10,10,15,15,15,0,0 +"Bryant, Peter G.",9,9,9,9,9,9,11,11,11,12,12,0,0,0 +"Haadoow, Hamza A.",8,8,8,8,8,8,8,8,9,9,0,0,0,0 +"Lapchick, Jodie L.",7,7,7,7,7,7,7,7,0,0,0,0,0,0 +"Brennan, Michael F.",6,6,6,6,6,6,0,0,0,0,0,0,0,0 +"Vail, Christopher L.",6,7,7,7,7,7,7,0,0,0,0,0,0,0 +"Duson, Jill C.",5,5,5,5,8,8,8,8,8,0,0,0,0,0 +"Miller, Markos S.",3,3,3,5,5,0,0,0,0,0,0,0,0,0 +"Eder, John M.",3,3,3,3,0,0,0,0,0,0,0,0,0,0 +"Marshall, David A.",2,2,2,0,0,0,0,0,0,0,0,0,0,0 +"Rathband, Jed",2,2,0,0,0,0,0,0,0,0,0,0,0,0 +"Strimling, Ethan K.",1,0,0,0,0,0,0,0,0,0,0,0,0,0 +Undeclared Write-ins,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +Inactive ballots,1,1,1,1,1,1,1,2,2,2,2,2,2,5 diff --git a/src/test/resources/network/brightspots/rcv/test_data/2017_minneapolis_mayor/2017_minneapolis_mayor_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/2017_minneapolis_mayor/2017_minneapolis_mayor_expected_summary.csv new file mode 100644 index 000000000..7119cb36b --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/2017_minneapolis_mayor/2017_minneapolis_mayor_expected_summary.csv @@ -0,0 +1,30 @@ +Contest,2017 Minneapolis mayoral race +Jurisdiction,"Minneapolis, MN" +Office,Mayor +Date,2017-11-07 +Winner(s),Jacob Frey +Threshold,40838 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6 +Eliminated,Undeclared Write-ins,Aswar Rahman; David Rosenfeld; L.A. Nik; Christopher Zimmerman; Ronald Lischeid; Ian Simpson; Charlie Gers; Captain Jack Sparrow; Theron Preston Washington; David John Wilson; Gregg A. Iverson; Troy Benjegerdes; Al Flowers,Nekima Levy-Pounds,Tom Hoch,Betsy Hodges, +Elected,,,,,,Jacob Frey +Jacob Frey,26104,26112,26738,29468,39356,46704 +Tom Hoch,20122,20128,20909,22751,0,0 +Betsy Hodges,18905,18911,19457,23501,26865,0 +Raymond Dehn,18100,18103,18573,24027,27357,34970 +Nekima Levy-Pounds,15715,15717,16188,0,0,0 +Charlie Gers,1233,1238,0,0,0,0 +Aswar Rahman,751,751,0,0,0,0 +Al Flowers,711,713,0,0,0,0 +L.A. Nik,612,616,0,0,0,0 +David Rosenfeld,476,479,0,0,0,0 +Captain Jack Sparrow,438,443,0,0,0,0 +Gregg A. Iverson,335,337,0,0,0,0 +Ronald Lischeid,321,321,0,0,0,0 +David John Wilson,220,224,0,0,0,0 +Troy Benjegerdes,184,185,0,0,0,0 +Ian Simpson,119,119,0,0,0,0 +Christopher Zimmerman,1,1,0,0,0,0 +Theron Preston Washington,0,0,0,0,0,0 +Undeclared Write-ins,137,0,0,0,0,0 +Inactive ballots,1444,1530,4063,6181,12350,24254 diff --git a/src/test/resources/network/brightspots/rcv/test_data/2018_maine_governor_primary/2018_maine_governor_primary_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/2018_maine_governor_primary/2018_maine_governor_primary_expected_summary.csv new file mode 100644 index 000000000..8a71c7f66 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/2018_maine_governor_primary/2018_maine_governor_primary_expected_summary.csv @@ -0,0 +1,19 @@ +Contest,Maine 2018 Democratic Governor Primary race +Jurisdiction,Maine +Office,Governor +Date,2018-06-12 +Winner(s),"Mills, Janet T." +Threshold,58627 + +Rounds,Round 1,Round 2,Round 3,Round 4 +Eliminated,"Dion, Mark N.; Dion, Donna J.; Write-in; Russell, Diane Marie","Eves, Mark W.","Sweet, Elizabeth A.", +Elected,,,,"Mills, Janet T." +"Mills, Janet T.",41735,44042,49945,63387 +"Cote, Adam Roland",35478,37543,42623,53866 +"Sweet, Elizabeth A.",20767,22987,29944,0 +"Eves, Mark W.",17887,19521,0,0 +"Dion, Mark N.",5200,0,0,0 +"Russell, Diane Marie",2728,0,0,0 +"Dion, Donna J.",1596,0,0,0 +Write-in,748,0,0,0 +Inactive ballots,6111,8157,9738,14997 diff --git a/src/test/resources/network/brightspots/rcv/test_data/aliases_cdf_json/aliases_cdf_json_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/aliases_cdf_json/aliases_cdf_json_expected_summary.csv new file mode 100644 index 000000000..8da4facb0 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/aliases_cdf_json/aliases_cdf_json_expected_summary.csv @@ -0,0 +1,15 @@ +Contest,Aliases test (JSON CDF Format) +Jurisdiction,TestSets_Single_winner +Office,Aliases test +Date,2023-03-23 +Winner(s),Unused Display Name Candidate A +Threshold,16 + +Rounds,Round 1,Round 2,Round 3 +Eliminated,Candidate D Name File 1,Candidate C Name File 1, +Elected,,,Unused Display Name Candidate A +Candidate B Name File 1,10,10,14 +Unused Display Name Candidate A,10,12,16 +Candidate C Name File 1,6,8,0 +Candidate D Name File 1,4,0,0 +Inactive ballots,0,0,0 diff --git a/src/test/resources/network/brightspots/rcv/test_data/aliases_ess_xlsx/aliases_ess_xlsx_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/aliases_ess_xlsx/aliases_ess_xlsx_expected_summary.csv new file mode 100644 index 000000000..24074033d --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/aliases_ess_xlsx/aliases_ess_xlsx_expected_summary.csv @@ -0,0 +1,15 @@ +Contest,Aliases test (ES&S XLSX Format) +Jurisdiction, +Office, +Date,2023-04-28 +Winner(s),A +Threshold,5 + +Rounds,Round 1,Round 2,Round 3 +Eliminated,D,C, +Elected,,,A +A,3,3,5 +B-2,3,3,3 +C,2,2,0 +D,1,0,0 +Inactive ballots,0,1,1 diff --git a/src/test/resources/network/brightspots/rcv/test_data/clear_ballot_kansas_primary/clear_ballot_kansas_primary_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/clear_ballot_kansas_primary/clear_ballot_kansas_primary_expected_summary.csv new file mode 100644 index 000000000..861f6e9e8 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/clear_ballot_kansas_primary/clear_ballot_kansas_primary_expected_summary.csv @@ -0,0 +1,22 @@ +Contest,Democratic Primary +Jurisdiction,Kansas +Office,Democratic Presidential Primary +Date, +Winner(s),Amy Klobuchar +Threshold,26 + +Rounds,Round 1,Round 2,Round 3,Round 4 +Eliminated,Cory Booker; Undeclared Write-ins; Steven Bullock,Pete Buttigieg,Joe Biden, +Elected,,,,Amy Klobuchar +Amy Klobuchar,20,21,23,26 +Michael Bennet,5,5,5,5 +John Delaney,5,5,5,5 +Tulsi Gabbard,5,5,5,5 +Kamala Harris,5,5,5,5 +Julian Castro,4,4,4,4 +Joe Biden,3,3,3,0 +Pete Buttigieg,2,2,0,0 +Cory Booker,1,0,0,0 +Steven Bullock,0,0,0,0 +Undeclared Write-ins,0,0,0,0 +Inactive ballots,0,0,0,0 diff --git a/src/test/resources/network/brightspots/rcv/test_data/continue_tabulation_test/continue_tabulation_test_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/continue_tabulation_test/continue_tabulation_test_expected_summary.csv new file mode 100644 index 000000000..ef73e7cae --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/continue_tabulation_test/continue_tabulation_test_expected_summary.csv @@ -0,0 +1,14 @@ +Contest,Portland 2015 Mayoral Race +Jurisdiction,"Portland, ME" +Office,Mayor +Date,2015-11-03 +Winner(s),"Vail, Christopher L." +Threshold,10 + +Rounds,Round 1,Round 2,Round 3 +Eliminated,,"Haadoow, Hamza A.", +Elected,"Vail, Christopher L.",, +"Vail, Christopher L.",10,10,13 +"Carmona, Ralph C.",5,5,5 +"Haadoow, Hamza A.",3,3,0 +Inactive ballots,0,0,0 diff --git a/src/test/resources/network/brightspots/rcv/test_data/continue_until_two_with_batch_elimination_test/continue_until_two_with_batch_elimination_test_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/continue_until_two_with_batch_elimination_test/continue_until_two_with_batch_elimination_test_expected_summary.csv new file mode 100644 index 000000000..d28695947 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/continue_until_two_with_batch_elimination_test/continue_until_two_with_batch_elimination_test_expected_summary.csv @@ -0,0 +1,18 @@ +Contest,Continue Until Two + Batch Elimination Test +Jurisdiction, +Office, +Date, +Winner(s),A +Threshold,39 + +Rounds,Round 1,Round 2,Round 3,Round 4 +Eliminated,,D; E; F; G,B, +Elected,A,,, +A,60,60,60,60 +B,15,15,15,0 +C,14,14,16,16 +D,5,5,0,0 +E,4,4,0,0 +F,1,1,0,0 +G,1,1,0,0 +Inactive ballots,0,0,9,24 diff --git a/src/test/resources/network/brightspots/rcv/test_data/dominion_alaska/dominion_alaska_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/dominion_alaska/dominion_alaska_expected_summary.csv new file mode 100644 index 000000000..75de4c237 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/dominion_alaska/dominion_alaska_expected_summary.csv @@ -0,0 +1,20 @@ +Contest,Alaska Dominion test +Jurisdiction,Alaska +Office,Democratic Primary +Date,2020-07-19 +Winner(s),Tom Steyer +Threshold,397 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6,Round 7,Round 8 +Eliminated,Undeclared Write-ins,Amy Klobuchar,Elizabeth Warren,Pete Buttigieg,Bernie Sanders,Michael R. Bloomberg,Joseph R. Biden, +Elected,,,,,,,,Tom Steyer +Tulsi Gabbard,116,132,148,164,186,238,301,393 +Bernie Sanders,111,129,150,159,182,0,0,0 +Pete Buttigieg,106,113,126,148,0,0,0,0 +Joseph R. Biden,106,120,138,156,190,228,282,0 +Michael R. Bloomberg,102,116,128,152,187,227,0,0 +Tom Steyer,101,112,134,164,197,245,311,400 +Amy Klobuchar,101,110,0,0,0,0,0,0 +Elizabeth Warren,96,111,119,0,0,0,0,0 +Undeclared Write-ins,104,0,0,0,0,0,0,0 +Inactive ballots,57,57,57,57,58,62,106,207 diff --git a/src/test/resources/network/brightspots/rcv/test_data/dominion_kansas/dominion_kansas_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/dominion_kansas/dominion_kansas_expected_summary.csv new file mode 100644 index 000000000..b889764ad --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/dominion_kansas/dominion_kansas_expected_summary.csv @@ -0,0 +1,20 @@ +Contest,Kansas Dominion test +Jurisdiction,Kansas +Office,Democratic Primary +Date,2020-07-19 +Winner(s),Tom Steyer +Threshold,1962 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6,Round 7,Round 8 +Eliminated,Undeclared Write-ins,Joseph R. Biden,Michael R. Bloomberg,Pete Buttigieg,Elizabeth Warren,Bernie Sanders,Amy Klobuchar, +Elected,,,,,,,,Tom Steyer +Elizabeth Warren,558,622,694,789,920,0,0,0 +Tulsi Gabbard,530,593,677,788,949,1175,1513,1954 +Amy Klobuchar,527,602,675,793,943,1161,1463,0 +Bernie Sanders,523,579,665,774,933,1153,0,0 +Michael R. Bloomberg,523,575,645,0,0,0,0,0 +Pete Buttigieg,517,576,661,761,0,0,0,0 +Tom Steyer,510,590,678,789,943,1159,1470,1969 +Joseph R. Biden,496,559,0,0,0,0,0,0 +Undeclared Write-ins,513,0,0,0,0,0,0,0 +Inactive ballots,303,304,305,306,312,352,554,1077 diff --git a/src/test/resources/network/brightspots/rcv/test_data/dominion_multi_file/dominion_multi_file_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/dominion_multi_file/dominion_multi_file_expected_summary.csv new file mode 100644 index 000000000..90f8a9bb4 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/dominion_multi_file/dominion_multi_file_expected_summary.csv @@ -0,0 +1,16 @@ +Contest,Multi-file Dominion test +Jurisdiction,San Francisco +Office,Board of Supervisors District 3 +Date,2020-11-03 +Winner(s),Aaron Peskin +Threshold,9 + +Rounds,Round 1 +Eliminated, +Elected,Aaron Peskin +Aaron Peskin,9 +Danny Sauter,4 +Stephen (Lulu) Schwartz,3 +Spencer Simonson,1 +Undeclared Write-ins,0 +Inactive ballots,8 diff --git a/src/test/resources/network/brightspots/rcv/test_data/dominion_no_precinct_data/dominion_no_precinct_data_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/dominion_no_precinct_data/dominion_no_precinct_data_expected_summary.csv new file mode 100644 index 000000000..d9d68b493 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/dominion_no_precinct_data/dominion_no_precinct_data_expected_summary.csv @@ -0,0 +1,20 @@ +Contest,Wyoming Dominion test +Jurisdiction,Wyoming +Office,Democratic Primary +Date,2020-07-19 +Winner(s),Bernie Sanders +Threshold,398 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6,Round 7,Round 8 +Eliminated,Undeclared Write-ins,Tom Steyer,Joseph R. Biden,Elizabeth Warren,Tulsi Gabbard,Amy Klobuchar,Pete Buttigieg, +Elected,,,,,,,,Bernie Sanders +Bernie Sanders,117,131,148,169,199,248,311,404 +Amy Klobuchar,114,128,145,165,193,227,0,0 +Michael R. Bloomberg,109,124,136,154,182,232,304,391 +Pete Buttigieg,106,126,137,160,190,228,288,0 +Elizabeth Warren,98,110,123,142,0,0,0,0 +Tom Steyer,95,104,0,0,0,0,0,0 +Joseph R. Biden,94,108,120,0,0,0,0,0 +Tulsi Gabbard,89,108,130,149,175,0,0,0 +Undeclared Write-ins,117,0,0,0,0,0,0,0 +Inactive ballots,61,61,61,61,61,65,97,205 diff --git a/src/test/resources/network/brightspots/rcv/test_data/dominion_wyoming/dominion_wyoming_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/dominion_wyoming/dominion_wyoming_expected_summary.csv new file mode 100644 index 000000000..d9d68b493 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/dominion_wyoming/dominion_wyoming_expected_summary.csv @@ -0,0 +1,20 @@ +Contest,Wyoming Dominion test +Jurisdiction,Wyoming +Office,Democratic Primary +Date,2020-07-19 +Winner(s),Bernie Sanders +Threshold,398 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6,Round 7,Round 8 +Eliminated,Undeclared Write-ins,Tom Steyer,Joseph R. Biden,Elizabeth Warren,Tulsi Gabbard,Amy Klobuchar,Pete Buttigieg, +Elected,,,,,,,,Bernie Sanders +Bernie Sanders,117,131,148,169,199,248,311,404 +Amy Klobuchar,114,128,145,165,193,227,0,0 +Michael R. Bloomberg,109,124,136,154,182,232,304,391 +Pete Buttigieg,106,126,137,160,190,228,288,0 +Elizabeth Warren,98,110,123,142,0,0,0,0 +Tom Steyer,95,104,0,0,0,0,0,0 +Joseph R. Biden,94,108,120,0,0,0,0,0 +Tulsi Gabbard,89,108,130,149,175,0,0,0 +Undeclared Write-ins,117,0,0,0,0,0,0,0 +Inactive ballots,61,61,61,61,61,65,97,205 diff --git a/src/test/resources/network/brightspots/rcv/test_data/duplicate_test/duplicate_test_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/duplicate_test/duplicate_test_expected_summary.csv new file mode 100644 index 000000000..ab23718db --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/duplicate_test/duplicate_test_expected_summary.csv @@ -0,0 +1,14 @@ +Contest,Duplicate test +Jurisdiction,"Funkytown, USA" +Office,Director of Produce +Date,2018-05-21 +Winner(s),Kumquat +Threshold,5 + +Rounds,Round 1,Round 2 +Eliminated,Durian, +Elected,,Kumquat +Kumquat,4,5 +Banana,4,4 +Durian,3,0 +Inactive ballots,0,2 diff --git a/src/test/resources/network/brightspots/rcv/test_data/excluded_test/excluded_test_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/excluded_test/excluded_test_expected_summary.csv new file mode 100644 index 000000000..ad43ac3b3 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/excluded_test/excluded_test_expected_summary.csv @@ -0,0 +1,12 @@ +Contest,Tiebreak test +Jurisdiction,"Funkytown, USA" +Office,Sergeant-at-Arms +Date,2017-12-03 +Winner(s),George Gervin +Threshold,2 + +Rounds,Round 1 +Eliminated, +Elected,George Gervin +George Gervin,3 +Inactive ballots,7 diff --git a/src/test/resources/network/brightspots/rcv/test_data/exhaust_if_multiple_continuing/exhaust_if_multiple_continuing_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/exhaust_if_multiple_continuing/exhaust_if_multiple_continuing_expected_summary.csv new file mode 100644 index 000000000..49b8fc910 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/exhaust_if_multiple_continuing/exhaust_if_multiple_continuing_expected_summary.csv @@ -0,0 +1,15 @@ +Contest,Overvote Exhaust If Multiple Continuing Test +Jurisdiction, +Office, +Date,2022-08-15 +Winner(s),B +Threshold,3 + +Rounds,Round 1,Round 2,Round 3 +Eliminated,A,D, +Elected,,,B +B,3,3,3 +C,2,2,2 +D,1,1,0 +A,0,0,0 +Inactive ballots,3,3,4 diff --git a/src/test/resources/network/brightspots/rcv/test_data/first_round_determines_threshold_test/first_round_determines_threshold_test_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/first_round_determines_threshold_test/first_round_determines_threshold_test_expected_summary.csv new file mode 100644 index 000000000..076f88191 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/first_round_determines_threshold_test/first_round_determines_threshold_test_expected_summary.csv @@ -0,0 +1,14 @@ +Contest,Portland 2015 Mayoral Race +Jurisdiction,"Portland, ME" +Office,Mayor +Date,2015-11-03 +Winner(s),"Vail, Christopher L." +Threshold,9 + +Rounds,Round 1,Round 2 +Eliminated,"Haadoow, Hamza A.", +Elected,,"Vail, Christopher L." +"Vail, Christopher L.",6,6 +"Haadoow, Hamza A.",5,0 +"Carmona, Ralph C.",5,5 +Inactive ballots,3,8 diff --git a/src/test/resources/network/brightspots/rcv/test_data/first_round_determines_threshold_tiebreaker_test/first_round_determines_threshold_tiebreaker_test_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/first_round_determines_threshold_tiebreaker_test/first_round_determines_threshold_tiebreaker_test_expected_summary.csv new file mode 100644 index 000000000..ea9045534 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/first_round_determines_threshold_tiebreaker_test/first_round_determines_threshold_tiebreaker_test_expected_summary.csv @@ -0,0 +1,14 @@ +Contest,Portland 2015 Mayoral Race +Jurisdiction,"Portland, ME" +Office,Mayor +Date,2015-11-03 +Winner(s),"Vail, Christopher L." +Threshold,9 + +Rounds,Round 1,Round 2 +Eliminated,"Haadoow, Hamza A.", +Elected,,"Vail, Christopher L." +"Carmona, Ralph C.",6,6 +"Vail, Christopher L.",6,6 +"Haadoow, Hamza A.",5,0 +Inactive ballots,2,7 diff --git a/src/test/resources/network/brightspots/rcv/test_data/generic_csv_test/generic_csv_test_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/generic_csv_test/generic_csv_test_expected_summary.csv new file mode 100644 index 000000000..f57d312a4 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/generic_csv_test/generic_csv_test_expected_summary.csv @@ -0,0 +1,16 @@ +Contest,Generic CSV Test +Jurisdiction,"Portland, ME" +Office,Mayor +Date,2023-04-03 +Winner(s),Cucumber +Threshold,14 + +Rounds,Round 1,Round 2,Round 3,Round 4 +Eliminated,Undeclared Write-ins,Broccoli,Cauliflower, +Elected,,,,Cucumber +Cucumber,8,10,10,14 +Lettuce,5,7,10,12 +Cauliflower,4,5,6,0 +Broccoli,3,4,0,0 +Undeclared Write-ins,6,0,0,0 +Inactive ballots,0,0,0,0 diff --git a/src/test/resources/network/brightspots/rcv/test_data/hart_cedar_park_school_board/hart_cedar_park_school_board_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/hart_cedar_park_school_board/hart_cedar_park_school_board_expected_summary.csv new file mode 100644 index 000000000..efad90598 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/hart_cedar_park_school_board/hart_cedar_park_school_board_expected_summary.csv @@ -0,0 +1,19 @@ +Contest,CEDAR PARK SCHOOL BOARD +Jurisdiction, +Office, +Date, +Winner(s),Steve Carlson +Threshold,4 + +Rounds,Round 1 +Eliminated, +Elected,Steve Carlson +Steve Carlson,5 +Bev Scalze,1 +Barb Yarusso,1 +Tony Hernandez,0 +Russ Bertsch,0 +April King,0 +Betty McCollum,0 +Undeclared Write-ins,0 +Inactive ballots,2 diff --git a/src/test/resources/network/brightspots/rcv/test_data/hart_travis_county_officers/hart_travis_county_officers_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/hart_travis_county_officers/hart_travis_county_officers_expected_summary.csv new file mode 100644 index 000000000..1119681cb --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/hart_travis_county_officers/hart_travis_county_officers_expected_summary.csv @@ -0,0 +1,16 @@ +Contest,TRAVIS COUNTY OFFICERS +Jurisdiction, +Office, +Date, +Winner(s),Michael Gottner +Threshold,1 + +Rounds,Round 1 +Eliminated, +Elected,Michael Gottner +Michael Gottner,1 +William Poole,0 +Sheriff Hamilton,0 +Jim Sylvester,0 +Bruce Elfant,0 +Inactive ballots,8 diff --git a/src/test/resources/network/brightspots/rcv/test_data/minimum_threshold_test/minimum_threshold_test_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/minimum_threshold_test/minimum_threshold_test_expected_summary.csv new file mode 100644 index 000000000..e6c9677c0 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/minimum_threshold_test/minimum_threshold_test_expected_summary.csv @@ -0,0 +1,16 @@ +Contest,Minimum threshold test +Jurisdiction,"Funkytown, USA" +Office,Sergeant-at-Arms +Date,2018-01-07 +Winner(s),Gargamel +Threshold,6 + +Rounds,Round 1,Round 2 +Eliminated,Odie; Garfield; Skeletor, +Elected,,Gargamel +Gargamel,4,6 +Megatron,3,4 +Skeletor,2,0 +Garfield,1,0 +Odie,0,0 +Inactive ballots,0,0 diff --git a/src/test/resources/network/brightspots/rcv/test_data/minneapolis_multi_seat_threshold/minneapolis_multi_seat_threshold_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/minneapolis_multi_seat_threshold/minneapolis_multi_seat_threshold_expected_summary.csv new file mode 100644 index 000000000..a055c1470 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/minneapolis_multi_seat_threshold/minneapolis_multi_seat_threshold_expected_summary.csv @@ -0,0 +1,17 @@ +Contest,Multi_winner2 +Jurisdiction,Multi-winner +Office,Multi_winner2 +Date,2018-09-30 +Winner(s),"C, A, B" +Threshold,8 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6 +Eliminated,D,,F,E,, +Elected,,C,,,A; B, +C,7,8,8.0000,8.0000,8.0000,8.0000 +A,6,6,6,7,10.0000,8.0000 +E,6,6,6.0000,6.0000,0,0 +B,5,5,5,7.0000,10.0000,8.0000 +F,3,3,3.0000,0,0,0 +D,2,0,0,0,0,0 +Inactive ballots,1,2,2.0000,2.0000,2.0000,6.0000 diff --git a/src/test/resources/network/brightspots/rcv/test_data/missing_precinct_example/missing_precinct_example_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/missing_precinct_example/missing_precinct_example_expected_summary.csv new file mode 100644 index 000000000..958101b36 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/missing_precinct_example/missing_precinct_example_expected_summary.csv @@ -0,0 +1,30 @@ +Contest,Missing Precinct example +Jurisdiction,"Minneapolis, MN" +Office,Mayor +Date,2017-11-07 +Winner(s),Jacob Frey +Threshold,2 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5 +Eliminated,Aswar Rahman; David Rosenfeld; Raymond Dehn; L.A. Nik; Undeclared Write-ins; Christopher Zimmerman; Ronald Lischeid; Ian Simpson; Charlie Gers; Captain Jack Sparrow; Theron Preston Washington; David John Wilson; Gregg A. Iverson; Troy Benjegerdes; Al Flowers,Nekima Levy-Pounds,Tom Hoch,Betsy Hodges, +Elected,,,,,Jacob Frey +Tom Hoch,1,1,1,0,0 +Betsy Hodges,1,1,2,2,0 +Jacob Frey,1,1,1,2,2 +Nekima Levy-Pounds,1,1,0,0,0 +Aswar Rahman,0,0,0,0,0 +David Rosenfeld,0,0,0,0,0 +Raymond Dehn,0,0,0,0,0 +L.A. Nik,0,0,0,0,0 +Christopher Zimmerman,0,0,0,0,0 +Ronald Lischeid,0,0,0,0,0 +Ian Simpson,0,0,0,0,0 +Charlie Gers,0,0,0,0,0 +Captain Jack Sparrow,0,0,0,0,0 +Theron Preston Washington,0,0,0,0,0 +David John Wilson,0,0,0,0,0 +Gregg A. Iverson,0,0,0,0,0 +Troy Benjegerdes,0,0,0,0,0 +Al Flowers,0,0,0,0,0 +Undeclared Write-ins,0,0,0,0,0 +Inactive ballots,0,0,0,0,2 diff --git a/src/test/resources/network/brightspots/rcv/test_data/multi_seat_bottoms_up_with_threshold/multi_seat_bottoms_up_with_threshold_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/multi_seat_bottoms_up_with_threshold/multi_seat_bottoms_up_with_threshold_expected_summary.csv new file mode 100644 index 000000000..7ff0df88b --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/multi_seat_bottoms_up_with_threshold/multi_seat_bottoms_up_with_threshold_expected_summary.csv @@ -0,0 +1,19 @@ +Contest,Multi-Seat Bottoms-up With Threshold +Jurisdiction, +Office, +Date, +Winner(s),"A, B, C, G" +Threshold,3.1500 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5 +Eliminated,F,E,H,D, +Elected,,,,,A; B; C; G +A,5,5,5,5,5 +B,5,5,5,5,5 +C,4,4,4,4,4 +D,3,3,3,3,0 +G,3,3,3,4,7 +H,1,1,1,0,0 +E,0,0,0,0,0 +F,0,0,0,0,0 +Inactive ballots,0,0,0,0,0 diff --git a/src/test/resources/network/brightspots/rcv/test_data/multi_seat_uwi_test/multi_seat_uwi_test_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/multi_seat_uwi_test/multi_seat_uwi_test_expected_summary.csv new file mode 100644 index 000000000..53f6b644c --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/multi_seat_uwi_test/multi_seat_uwi_test_expected_summary.csv @@ -0,0 +1,15 @@ +Contest,Multi-Seat UWI Test +Jurisdiction, +Office, +Date, +Winner(s),"A, B" +Threshold,6 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5 +Eliminated,,Undeclared Write-ins,C,, +Elected,A,,,B, +A,6,6.0000,6.0000,6.0000,6.0000 +B,3,3,3,3,3.0000 +C,2,2,2,0,0 +Undeclared Write-ins,4,4,0,0,0 +Inactive ballots,0,0.0000,4.0000,6.0000,6.0000 diff --git a/src/test/resources/network/brightspots/rcv/test_data/nist_xml_cdf_2/nist_xml_cdf_2_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/nist_xml_cdf_2/nist_xml_cdf_2_expected_summary.csv new file mode 100644 index 000000000..045e24145 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/nist_xml_cdf_2/nist_xml_cdf_2_expected_summary.csv @@ -0,0 +1,14 @@ +Contest,For Governor and Lieutenant Governor +Jurisdiction, +Office, +Date,2019-03-06 +Winner(s),Edward FitzGerald and Sharen Swartz Neuhardt +Threshold,1 + +Rounds,Round 1,Round 2,Round 3 +Eliminated,John Kasich and Mary Taylor,Anita Rios and Bob Fitrakis, +Elected,,,Edward FitzGerald and Sharen Swartz Neuhardt +Edward FitzGerald and Sharen Swartz Neuhardt,0,0,0 +John Kasich and Mary Taylor,0,0,0 +Anita Rios and Bob Fitrakis,0,0,0 +Inactive ballots,1,1,1 diff --git a/src/test/resources/network/brightspots/rcv/test_data/precinct_example/precinct_example_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/precinct_example/precinct_example_expected_summary.csv new file mode 100644 index 000000000..838bf7925 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/precinct_example/precinct_example_expected_summary.csv @@ -0,0 +1,30 @@ +Contest,Precinct example +Jurisdiction,"Minneapolis, MN" +Office,Mayor +Date,2017-11-07 +Winner(s),Betsy Hodges +Threshold,42 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5 +Eliminated,Undeclared Write-ins,Aswar Rahman; David Rosenfeld; L.A. Nik; Christopher Zimmerman; Ronald Lischeid; Ian Simpson; Charlie Gers; Captain Jack Sparrow; Theron Preston Washington; David John Wilson; Gregg A. Iverson; Troy Benjegerdes; Al Flowers; Nekima Levy-Pounds,Tom Hoch,Raymond Dehn, +Elected,,,,,Betsy Hodges +Jacob Frey,28,28,30,39,41 +Betsy Hodges,20,20,25,28,42 +Tom Hoch,17,17,19,0,0 +Raymond Dehn,17,17,22,23,0 +Nekima Levy-Pounds,12,12,0,0,0 +David Rosenfeld,1,1,0,0,0 +Charlie Gers,1,1,0,0,0 +Captain Jack Sparrow,1,1,0,0,0 +Al Flowers,1,1,0,0,0 +Aswar Rahman,0,0,0,0,0 +L.A. Nik,0,0,0,0,0 +Christopher Zimmerman,0,0,0,0,0 +Ronald Lischeid,0,0,0,0,0 +Ian Simpson,0,0,0,0,0 +Theron Preston Washington,0,0,0,0,0 +David John Wilson,0,0,0,0,0 +Gregg A. Iverson,0,0,0,0,0 +Troy Benjegerdes,0,0,0,0,0 +Undeclared Write-ins,1,0,0,0,0 +Inactive ballots,1,2,4,10,17 diff --git a/src/test/resources/network/brightspots/rcv/test_data/sequential_with_batch/sequential_with_batch_1_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/sequential_with_batch/sequential_with_batch_1_expected_summary.csv new file mode 100644 index 000000000..774b94b39 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/sequential_with_batch/sequential_with_batch_1_expected_summary.csv @@ -0,0 +1,17 @@ +Contest,Test Sequential with Batch Elimination +Jurisdiction, +Office, +Date, +Winner(s),A +Threshold,5 + +Rounds,Round 1 +Eliminated, +Elected,A +A,5 +C,2 +B,1 +D,1 +E,0 +F,0 +Inactive ballots,0 diff --git a/src/test/resources/network/brightspots/rcv/test_data/sequential_with_batch/sequential_with_batch_2_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/sequential_with_batch/sequential_with_batch_2_expected_summary.csv new file mode 100644 index 000000000..b82430099 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/sequential_with_batch/sequential_with_batch_2_expected_summary.csv @@ -0,0 +1,16 @@ +Contest,Test Sequential with Batch Elimination +Jurisdiction, +Office, +Date, +Winner(s),B +Threshold,2 + +Rounds,Round 1,Round 2,Round 3 +Eliminated,D; E; F,C, +Elected,,,B +B,2,2,2 +C,2,2,0 +D,1,0,0 +E,0,0,0 +F,0,0,0 +Inactive ballots,4,5,7 diff --git a/src/test/resources/network/brightspots/rcv/test_data/sequential_with_batch/sequential_with_batch_3_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/sequential_with_batch/sequential_with_batch_3_expected_summary.csv new file mode 100644 index 000000000..38212e188 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/sequential_with_batch/sequential_with_batch_3_expected_summary.csv @@ -0,0 +1,15 @@ +Contest,Test Sequential with Batch Elimination +Jurisdiction, +Office, +Date, +Winner(s),C +Threshold,2 + +Rounds,Round 1 +Eliminated, +Elected,C +C,2 +D,1 +E,0 +F,0 +Inactive ballots,6 diff --git a/src/test/resources/network/brightspots/rcv/test_data/sequential_with_continue_until_two/sequential_with_continue_until_two_1_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/sequential_with_continue_until_two/sequential_with_continue_until_two_1_expected_summary.csv new file mode 100644 index 000000000..bf7239d72 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/sequential_with_continue_until_two/sequential_with_continue_until_two_1_expected_summary.csv @@ -0,0 +1,17 @@ +Contest,Test Sequential with Continue until Two +Jurisdiction, +Office, +Date, +Winner(s),A +Threshold,4 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6 +Eliminated,,F,E,D,B, +Elected,A,,,,, +A,5,5,5,5,5,5 +C,2,2,2,2,2,2 +B,1,1,1,1,1,0 +D,1,1,1,1,0,0 +E,0,0,0,0,0,0 +F,0,0,0,0,0,0 +Inactive ballots,0,0,0,0,1,2 diff --git a/src/test/resources/network/brightspots/rcv/test_data/sequential_with_continue_until_two/sequential_with_continue_until_two_2_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/sequential_with_continue_until_two/sequential_with_continue_until_two_2_expected_summary.csv new file mode 100644 index 000000000..8530d9faa --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/sequential_with_continue_until_two/sequential_with_continue_until_two_2_expected_summary.csv @@ -0,0 +1,16 @@ +Contest,Test Sequential with Continue until Two +Jurisdiction, +Office, +Date, +Winner(s),B +Threshold,2 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5 +Eliminated,F,E,D,C, +Elected,,,,,B +B,2,2,2,2,2 +C,2,2,2,2,0 +D,1,1,1,0,0 +E,0,0,0,0,0 +F,0,0,0,0,0 +Inactive ballots,4,4,4,5,7 diff --git a/src/test/resources/network/brightspots/rcv/test_data/sequential_with_continue_until_two/sequential_with_continue_until_two_3_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/sequential_with_continue_until_two/sequential_with_continue_until_two_3_expected_summary.csv new file mode 100644 index 000000000..b9cc853dd --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/sequential_with_continue_until_two/sequential_with_continue_until_two_3_expected_summary.csv @@ -0,0 +1,15 @@ +Contest,Test Sequential with Continue until Two +Jurisdiction, +Office, +Date, +Winner(s),C +Threshold,2 + +Rounds,Round 1,Round 2,Round 3,Round 4 +Eliminated,,F,E, +Elected,C,,, +C,2,2,2,2 +D,1,1,1,1 +E,0,0,0,0 +F,0,0,0,0 +Inactive ballots,6,6,6,6 diff --git a/src/test/resources/network/brightspots/rcv/test_data/skip_to_next_test/skip_to_next_test_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/skip_to_next_test/skip_to_next_test_expected_summary.csv new file mode 100644 index 000000000..18f647ecc --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/skip_to_next_test/skip_to_next_test_expected_summary.csv @@ -0,0 +1,15 @@ +Contest,Overvote2 +Jurisdiction,"Funkytown, USA" +Office,Exhausted +Date,2018-07-28 +Winner(s),B +Threshold,8 + +Rounds,Round 1,Round 2,Round 3 +Eliminated,D,C, +Elected,,,B +B,6,6,8 +A,5,5,6 +C,3,4,0 +D,1,0,0 +Inactive ballots,0,0,1 diff --git a/src/test/resources/network/brightspots/rcv/test_data/stop_tabulation_early_test/stop_tabulation_early_test_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/stop_tabulation_early_test/stop_tabulation_early_test_expected_summary.csv new file mode 100644 index 000000000..891f557f9 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/stop_tabulation_early_test/stop_tabulation_early_test_expected_summary.csv @@ -0,0 +1,14 @@ +Contest,Stop Tabulation Early Test +Jurisdiction,"Funkytown, USA" +Office,Sergeant-at-Arms +Date,2023-03-14 +Winner(s), +Threshold,4 + +Rounds,Round 1,Round 2 +Eliminated,Yinka Dare,George Gervin +Elected,, +Yinka Dare,3,0 +George Gervin,3,3 +Mookie Blaylock,3,3 +Inactive ballots,0,3 diff --git a/src/test/resources/network/brightspots/rcv/test_data/test_set_0_skipped_first_choice/test_set_0_skipped_first_choice_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/test_set_0_skipped_first_choice/test_set_0_skipped_first_choice_expected_summary.csv new file mode 100644 index 000000000..1a770a786 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/test_set_0_skipped_first_choice/test_set_0_skipped_first_choice_expected_summary.csv @@ -0,0 +1,15 @@ +Contest,Test Set 0 +Jurisdiction,TestSets_Single_winner +Office,Skiptonext_Skiponovervote +Date,2019-03-06 +Winner(s),Candidate B Name +Threshold,6 + +Rounds,Round 1,Round 2,Round 3 +Eliminated,Candidate D Name,Candidate C Name, +Elected,,,Candidate B Name +Candidate A Name,4,4,4 +Candidate B Name,4,5,7 +Candidate C Name,3,3,0 +Candidate D Name,1,0,0 +Inactive ballots,0,0,1 diff --git a/src/test/resources/network/brightspots/rcv/test_data/test_set_1_exhaust_at_overvote/test_set_1_exhaust_at_overvote_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/test_set_1_exhaust_at_overvote/test_set_1_exhaust_at_overvote_expected_summary.csv new file mode 100644 index 000000000..3bab5f3fb --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/test_set_1_exhaust_at_overvote/test_set_1_exhaust_at_overvote_expected_summary.csv @@ -0,0 +1,15 @@ +Contest,test set 1 +Jurisdiction,TestSets_Single_winner +Office, +Date,2019-03-06 +Winner(s),Candidate B Name +Threshold,7 + +Rounds,Round 1,Round 2,Round 3 +Eliminated,Candidate D Name,Candidate C Name, +Elected,,,Candidate B Name +Candidate B Name,6,6,8 +Candidate A Name,5,5,5 +Candidate C Name,2,3,0 +Candidate D Name,1,0,0 +Inactive ballots,1,1,2 diff --git a/src/test/resources/network/brightspots/rcv/test_data/test_set_2_overvote_skip_to_next/test_set_2_overvote_skip_to_next_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/test_set_2_overvote_skip_to_next/test_set_2_overvote_skip_to_next_expected_summary.csv new file mode 100644 index 000000000..a22e1cdc3 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/test_set_2_overvote_skip_to_next/test_set_2_overvote_skip_to_next_expected_summary.csv @@ -0,0 +1,15 @@ +Contest,overvote skips to next rank +Jurisdiction,TestSets_Single_winner +Office,Exhaust skipped +Date,2019-03-06 +Winner(s),Candidate B Name +Threshold,7 + +Rounds,Round 1,Round 2,Round 3 +Eliminated,Candidate D Name,Candidate C Name, +Elected,,,Candidate B Name +Candidate B Name,6,6,7 +Candidate A Name,5,5,6 +Candidate C Name,2,3,0 +Candidate D Name,1,0,0 +Inactive ballots,1,1,2 diff --git a/src/test/resources/network/brightspots/rcv/test_data/test_set_3_skipped_choice_exhaust/test_set_3_skipped_choice_exhaust_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/test_set_3_skipped_choice_exhaust/test_set_3_skipped_choice_exhaust_expected_summary.csv new file mode 100644 index 000000000..ba7bb84e0 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/test_set_3_skipped_choice_exhaust/test_set_3_skipped_choice_exhaust_expected_summary.csv @@ -0,0 +1,15 @@ +Contest,test set 3 +Jurisdiction,"Funkytown, USA" +Office,Exhausted +Date,2018-08-06 +Winner(s),Candidate B Name +Threshold,7 + +Rounds,Round 1,Round 2,Round 3 +Eliminated,Candidate D Name,Candidate C Name, +Elected,,,Candidate B Name +Candidate B Name,6,6,7 +Candidate A Name,5,5,5 +Candidate C Name,2,3,0 +Candidate D Name,1,0,0 +Inactive ballots,1,1,3 diff --git a/src/test/resources/network/brightspots/rcv/test_data/test_set_4_skipped_choice_next/test_set_4_skipped_choice_next_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/test_set_4_skipped_choice_next/test_set_4_skipped_choice_next_expected_summary.csv new file mode 100644 index 000000000..1dafcab39 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/test_set_4_skipped_choice_next/test_set_4_skipped_choice_next_expected_summary.csv @@ -0,0 +1,15 @@ +Contest,test set 4 +Jurisdiction,TestSets_Single_winner +Office,Skipped choice_skip to next +Date,2019-03-06 +Winner(s),Candidate B Name +Threshold,8 + +Rounds,Round 1,Round 2,Round 3 +Eliminated,Candidate D Name,Candidate C Name, +Elected,,,Candidate B Name +Candidate B Name,7,7,10 +Candidate A Name,5,5,5 +Candidate C Name,2,3,0 +Candidate D Name,1,0,0 +Inactive ballots,0,0,0 diff --git a/src/test/resources/network/brightspots/rcv/test_data/test_set_5_two_skipped_choice_exhaust/test_set_5_two_skipped_choice_exhaust_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/test_set_5_two_skipped_choice_exhaust/test_set_5_two_skipped_choice_exhaust_expected_summary.csv new file mode 100644 index 000000000..772602b0d --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/test_set_5_two_skipped_choice_exhaust/test_set_5_two_skipped_choice_exhaust_expected_summary.csv @@ -0,0 +1,15 @@ +Contest,Test Set 5 +Jurisdiction,TestSets_Single_winner +Office,Skipped choice_allow 1 +Date,2019-03-06 +Winner(s),Candidate B Name +Threshold,8 + +Rounds,Round 1,Round 2,Round 3 +Eliminated,Candidate D Name,Candidate C Name, +Elected,,,Candidate B Name +Candidate B Name,7,7,9 +Candidate A Name,5,5,5 +Candidate C Name,2,3,0 +Candidate D Name,1,0,0 +Inactive ballots,0,0,1 diff --git a/src/test/resources/network/brightspots/rcv/test_data/test_set_6_duplicate_exhaust/test_set_6_duplicate_exhaust_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/test_set_6_duplicate_exhaust/test_set_6_duplicate_exhaust_expected_summary.csv new file mode 100644 index 000000000..1a9f0a3ef --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/test_set_6_duplicate_exhaust/test_set_6_duplicate_exhaust_expected_summary.csv @@ -0,0 +1,15 @@ +Contest,test set 6 +Jurisdiction,TestSets_Single_winner +Office,Duplicate choice exhaust +Date,2019-03-06 +Winner(s),Candidate B Name +Threshold,7 + +Rounds,Round 1,Round 2,Round 3 +Eliminated,Candidate D Name,Candidate C Name, +Elected,,,Candidate B Name +Candidate A Name,5,5,5 +Candidate C Name,4,4,0 +Candidate B Name,4,5,7 +Candidate D Name,2,0,0 +Inactive ballots,0,1,3 diff --git a/src/test/resources/network/brightspots/rcv/test_data/test_set_7_duplicate_skip_to_next/test_set_7_duplicate_skip_to_next_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/test_set_7_duplicate_skip_to_next/test_set_7_duplicate_skip_to_next_expected_summary.csv new file mode 100644 index 000000000..c71d91a30 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/test_set_7_duplicate_skip_to_next/test_set_7_duplicate_skip_to_next_expected_summary.csv @@ -0,0 +1,15 @@ +Contest,Test Set 6 +Jurisdiction,TestSets_Single_winner +Office,Duplicate choice skip +Date,2019-03-06 +Winner(s),Candidate A Name +Threshold,8 + +Rounds,Round 1,Round 2,Round 3 +Eliminated,Candidate D Name,Candidate C Name, +Elected,,,Candidate A Name +Candidate A Name,5,6,8 +Candidate B Name,5,5,7 +Candidate C Name,3,4,0 +Candidate D Name,2,0,0 +Inactive ballots,0,0,0 diff --git a/src/test/resources/network/brightspots/rcv/test_data/test_set_8_multi_cdf/test_set_8_multi_cdf_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/test_set_8_multi_cdf/test_set_8_multi_cdf_expected_summary.csv new file mode 100644 index 000000000..6528e8580 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/test_set_8_multi_cdf/test_set_8_multi_cdf_expected_summary.csv @@ -0,0 +1,15 @@ +Contest,Test Set 0 +Jurisdiction,TestSets_Single_winner +Office,Skiptonext_Skiponovervote +Date,2019-03-06 +Winner(s),Candidate B Name +Threshold,12 + +Rounds,Round 1,Round 2,Round 3 +Eliminated,Candidate D Name,Candidate C Name, +Elected,,,Candidate B Name +Candidate A Name,8,8,8 +Candidate B Name,8,10,14 +Candidate C Name,6,6,0 +Candidate D Name,2,0,0 +Inactive ballots,0,0,2 diff --git a/src/test/resources/network/brightspots/rcv/test_data/test_set_allow_only_one_winner_per_round/test_set_allow_only_one_winner_per_round_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/test_set_allow_only_one_winner_per_round/test_set_allow_only_one_winner_per_round_expected_summary.csv new file mode 100644 index 000000000..152993371 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/test_set_allow_only_one_winner_per_round/test_set_allow_only_one_winner_per_round_expected_summary.csv @@ -0,0 +1,16 @@ +Contest,Allow Only One Winner per Round Test +Jurisdiction, +Office, +Date,2019-01-18 +Winner(s),"A, B, C" +Threshold,2.2501 + +Rounds,Round 1,Round 2,Round 3,Round 4 +Eliminated,,,, +Elected,A,B,C, +A,3,2.2501,2.2501,2.2501 +B,3,3.7497,2.2501,2.2501 +C,3,3,4.4994,2.2501 +D,0,0,0,2.0994 +Inactive ballots,0,0.0000,0.0000,0.1497 +Residual surplus,0,0.0002,0.0004,0.0006 diff --git a/src/test/resources/network/brightspots/rcv/test_data/test_set_multi_winner_fractional_threshold/test_set_multi_winner_fractional_threshold_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/test_set_multi_winner_fractional_threshold/test_set_multi_winner_fractional_threshold_expected_summary.csv new file mode 100644 index 000000000..d6eb6426d --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/test_set_multi_winner_fractional_threshold/test_set_multi_winner_fractional_threshold_expected_summary.csv @@ -0,0 +1,18 @@ +Contest,test set multi winner fractional +Jurisdiction,Multi-winner +Office,Multi_winner2 +Date,2019-01-18 +Winner(s),"Candidate C Name, Candidate A Name, Candidate B Name" +Threshold,7.2501 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6 +Eliminated,Candidate D Name,,Candidate F Name,Candidate E Name,, +Elected,,Candidate C Name,,,Candidate A Name; Candidate B Name, +Candidate C Name,7,8,7.2501,7.2501,7.2501,7.2501 +Candidate A Name,6,6,6,7,10.2811,7.2501 +Candidate E Name,6,6,6.6559,6.6559,0,0 +Candidate B Name,5,5,5,7.0937,10.0937,7.2501 +Candidate F Name,3,3,3.0937,0,0,0 +Candidate D Name,2,0,0,0,0,0 +Inactive ballots,1,2,2.0000,2.0000,2.3748,8.2489 +Residual surplus,0,0,0.0003,0.0003,0.0003,0.0008 diff --git a/src/test/resources/network/brightspots/rcv/test_data/test_set_multi_winner_whole_threshold/test_set_multi_winner_whole_threshold_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/test_set_multi_winner_whole_threshold/test_set_multi_winner_whole_threshold_expected_summary.csv new file mode 100644 index 000000000..3b85df21d --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/test_set_multi_winner_whole_threshold/test_set_multi_winner_whole_threshold_expected_summary.csv @@ -0,0 +1,18 @@ +Contest,test set multi winner whole +Jurisdiction,Multi-winner +Office,Multi_winner2 +Date,2019-01-18 +Winner(s),"Candidate C Name, Candidate A Name, Candidate B Name" +Threshold,8 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6 +Eliminated,,Candidate D Name,Candidate F Name,Candidate E Name,, +Elected,Candidate C Name,,,,Candidate A Name; Candidate B Name, +Candidate C Name,9,8,8,8,8,8 +Candidate A Name,6,6,6,7.1111,10.3333,8 +Candidate B Name,5,5,5,7.1111,9.2222,8 +Candidate E Name,4,4.7777,5.7777,5.7777,0,0 +Candidate F Name,3,3.1111,3.2222,0,0,0 +Candidate D Name,2,2.1111,0,0,0,0 +Inactive ballots,1,1.0000,2.0000,2.0000,2.4444,5.9993 +Residual surplus,0,0.0001,0.0001,0.0001,0.0001,0.0007 diff --git a/src/test/resources/network/brightspots/rcv/test_data/test_set_overvote_delimiter/test_set_overvote_delimiter_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/test_set_overvote_delimiter/test_set_overvote_delimiter_expected_summary.csv new file mode 100644 index 000000000..2a6080533 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/test_set_overvote_delimiter/test_set_overvote_delimiter_expected_summary.csv @@ -0,0 +1,15 @@ +Contest,Overvote Delimiter Test +Jurisdiction, +Office, +Date,2020-08-23 +Winner(s),A +Threshold,5 + +Rounds,Round 1,Round 2,Round 3 +Eliminated,D,C, +Elected,,,A +A,3,3,5 +B,3,3,3 +C,2,2,0 +D,1,0,0 +Inactive ballots,0,1,1 diff --git a/src/test/resources/network/brightspots/rcv/test_data/test_set_treat_blank_as_undeclared_write_in/test_set_treat_blank_as_undeclared_write_in_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/test_set_treat_blank_as_undeclared_write_in/test_set_treat_blank_as_undeclared_write_in_expected_summary.csv new file mode 100644 index 000000000..1efe34064 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/test_set_treat_blank_as_undeclared_write_in/test_set_treat_blank_as_undeclared_write_in_expected_summary.csv @@ -0,0 +1,16 @@ +Contest,treatBlankAsUndeclaredWriteIn test +Jurisdiction, +Office, +Date,2019-03-06 +Winner(s),B +Threshold,5 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5 +Eliminated,Undeclared Write-ins,D,A,C, +Elected,,,,,B +A,2,3,3,0,0 +B,2,4,5,6,9 +C,2,4,4,6,0 +D,1,1,0,0,0 +Undeclared Write-ins,5,0,0,0,0 +Inactive ballots,0,0,0,0,3 diff --git a/src/test/resources/network/brightspots/rcv/test_data/tiebreak_generate_permutation_test/tiebreak_generate_permutation_test_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/tiebreak_generate_permutation_test/tiebreak_generate_permutation_test_expected_summary.csv new file mode 100644 index 000000000..099986a70 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/tiebreak_generate_permutation_test/tiebreak_generate_permutation_test_expected_summary.csv @@ -0,0 +1,15 @@ +Contest,Tiebreak test +Jurisdiction,"Funkytown, USA" +Office,Sergeant-at-Arms +Date,2017-12-03 +Winner(s),George Gervin +Threshold,2 + +Rounds,Round 1,Round 2,Round 3,Round 4 +Eliminated,Mookie Blaylock,Yinka Dare,Sedale Threatt, +Elected,,,,George Gervin +Sedale Threatt,2,2,2,0 +Yinka Dare,2,2,0,0 +George Gervin,2,2,2,2 +Mookie Blaylock,2,0,0,0 +Inactive ballots,0,2,4,6 diff --git a/src/test/resources/network/brightspots/rcv/test_data/tiebreak_previous_round_counts_then_random_test/tiebreak_previous_round_counts_then_random_test_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/tiebreak_previous_round_counts_then_random_test/tiebreak_previous_round_counts_then_random_test_expected_summary.csv new file mode 100644 index 000000000..48da06373 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/tiebreak_previous_round_counts_then_random_test/tiebreak_previous_round_counts_then_random_test_expected_summary.csv @@ -0,0 +1,15 @@ +Contest,Tiebreak test +Jurisdiction,"Funkytown, USA" +Office,Sergeant-at-Arms +Date,2017-12-03 +Winner(s),Dopey +Threshold,2 + +Rounds,Round 1,Round 2,Round 3,Round 4 +Eliminated,Happy,Grumpy,Sneezy, +Elected,,,,Dopey +Sneezy,3,3,3,0 +Dopey,3,3,3,3 +Grumpy,2,3,0,0 +Happy,1,0,0,0 +Inactive ballots,0,0,3,6 diff --git a/src/test/resources/network/brightspots/rcv/test_data/tiebreak_seed_test/tiebreak_seed_test_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/tiebreak_seed_test/tiebreak_seed_test_expected_summary.csv new file mode 100644 index 000000000..ac61dbf6c --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/tiebreak_seed_test/tiebreak_seed_test_expected_summary.csv @@ -0,0 +1,14 @@ +Contest,Tiebreak test +Jurisdiction,"Funkytown, USA" +Office,Sergeant-at-Arms +Date,2017-12-03 +Winner(s),Mookie Blaylock +Threshold,2 + +Rounds,Round 1,Round 2,Round 3 +Eliminated,Yinka Dare,George Gervin, +Elected,,,Mookie Blaylock +Yinka Dare,3,0,0 +George Gervin,3,3,0 +Mookie Blaylock,3,3,3 +Inactive ballots,0,3,6 diff --git a/src/test/resources/network/brightspots/rcv/test_data/tiebreak_use_permutation_in_config_test/tiebreak_use_permutation_in_config_test_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/tiebreak_use_permutation_in_config_test/tiebreak_use_permutation_in_config_test_expected_summary.csv new file mode 100644 index 000000000..ae3fcfd6c --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/tiebreak_use_permutation_in_config_test/tiebreak_use_permutation_in_config_test_expected_summary.csv @@ -0,0 +1,15 @@ +Contest,Tiebreak test +Jurisdiction,"Funkytown, USA" +Office,Sergeant-at-Arms +Date,2017-12-03 +Winner(s),Mookie Blaylock +Threshold,3 + +Rounds,Round 1,Round 2,Round 3,Round 4 +Eliminated,Sedale Threatt,George Gervin,Yinka Dare, +Elected,,,,Mookie Blaylock +Mookie Blaylock,4,4,4,4 +Yinka Dare,3,3,4,0 +George Gervin,2,3,0,0 +Sedale Threatt,1,0,0,0 +Inactive ballots,0,0,2,6 diff --git a/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_city_chief_of_police/unisyn_xml_cdf_city_chief_of_police_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_city_chief_of_police/unisyn_xml_cdf_city_chief_of_police_expected_summary.csv new file mode 100644 index 000000000..460a0008e --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_city_chief_of_police/unisyn_xml_cdf_city_chief_of_police_expected_summary.csv @@ -0,0 +1,19 @@ +Contest,For City C Chief of Police (1/3) +Jurisdiction, +Office, +Date,2019-03-06 +Winner(s),Ivan Hillerman +Threshold,13 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6,Round 7 +Eliminated,Undeclared Write-ins,MaryAnn Wilson,Emily Stevens,Jessie James,Randy Carlson,Sandra Berringer, +Elected,,,,,,,Ivan Hillerman +Randy Carlson,6,6,6,6,6,0,0 +Kenneth Parker,5,5,7,7,9,10,12 +Sandra Berringer,5,5,5,5,7,7,0 +Ivan Hillerman,4,4,4,6,7,12,13 +Jessie James,3,3,4,5,0,0,0 +MaryAnn Wilson,3,3,0,0,0,0,0 +Emily Stevens,3,3,3,0,0,0,0 +Undeclared Write-ins,0,0,0,0,0,0,0 +Inactive ballots,6,6,6,6,6,6,10 diff --git a/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_city_coroner/unisyn_xml_cdf_city_coroner_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_city_coroner/unisyn_xml_cdf_city_coroner_expected_summary.csv new file mode 100644 index 000000000..8d756a89b --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_city_coroner/unisyn_xml_cdf_city_coroner_expected_summary.csv @@ -0,0 +1,18 @@ +Contest,For County Coroner (1/2) +Jurisdiction, +Office, +Date,2019-03-06 +Winner(s),Terry Halloran +Threshold,13 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6 +Eliminated,Undeclared Write-ins,Ullrike Winterhausen,Emily Van Zandt,Angela Thompson,Esteban Ferraro, +Elected,,,,,,Terry Halloran +Susan Brown,7,7,8,8,9,10 +Terry Halloran,6,7,7,8,10,14 +Esteban Ferraro,5,5,6,7,9,0 +Angela Thompson,4,4,5,6,0,0 +Ullrike Winterhausen,3,3,0,0,0,0 +Emily Van Zandt,3,3,3,0,0,0 +Undeclared Write-ins,1,0,0,0,0,0 +Inactive ballots,6,6,6,6,7,11 diff --git a/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_city_council_member/unisyn_xml_cdf_city_council_member_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_city_council_member/unisyn_xml_cdf_city_council_member_expected_summary.csv new file mode 100644 index 000000000..9cf14a218 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_city_council_member/unisyn_xml_cdf_city_council_member_expected_summary.csv @@ -0,0 +1,20 @@ +Contest,For City C Council Member (1/3) +Jurisdiction, +Office, +Date,2019-03-06 +Winner(s),Stephen Miller +Threshold,7 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6,Round 7,Round 8,Round 9 +Eliminated,Undeclared Write-ins,Sylvia Vaugn,Nolan Ryder,Carrie Underwood,Hal Newman,Fred Wallace,Lonnie Alsup,Terry Williams, +Elected,,,,,,,,,Stephen Miller +Stephen Miller,5,6,6,7,8,8,10,10,12 +Terry Williams,4,4,4,5,7,10,10,10,0 +Hal Newman,4,4,4,4,4,0,0,0,0 +Carrie Underwood,4,4,4,4,0,0,0,0,0 +Lonnie Alsup,4,4,4,4,5,6,7,0,0 +Fred Wallace,3,3,4,5,5,5,0,0,0 +Nolan Ryder,2,2,3,0,0,0,0,0,0 +Sylvia Vaugn,2,2,0,0,0,0,0,0,0 +Undeclared Write-ins,1,0,0,0,0,0,0,0,0 +Inactive ballots,6,6,6,6,6,6,8,15,23 diff --git a/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_city_mayor/unisyn_xml_cdf_city_mayor_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_city_mayor/unisyn_xml_cdf_city_mayor_expected_summary.csv new file mode 100644 index 000000000..48de270e6 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_city_mayor/unisyn_xml_cdf_city_mayor_expected_summary.csv @@ -0,0 +1,24 @@ +Contest,For City C Mayor (1/3) +Jurisdiction, +Office, +Date,2019-03-06 +Winner(s),Nadia Freeman +Threshold,9 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6,Round 7,Round 8,Round 9,Round 10,Round 11,Round 12 +Eliminated,Undeclared Write-ins,Jon Miller,Carrol Wilson,Terry Landon,Jerry Lang,Josh Bennett,Chelsey Williams,Tess Soto,Steven Wilkins,Karen Petersen,Danielle Davis, +Elected,,,,,,,,,,,,Nadia Freeman +Jerry Meyer,3,3,3,3,4,4,4,5,6,6,7,7 +Steven Wilkins,3,3,3,3,3,3,4,4,4,0,0,0 +Chelsey Williams,3,3,3,3,3,3,3,0,0,0,0,0 +Nadia Freeman,3,3,3,3,3,4,5,5,6,7,8,9 +Jerry Lang,3,3,3,3,3,0,0,0,0,0,0,0 +Tess Soto,3,3,3,3,3,4,4,4,0,0,0,0 +Danielle Davis,3,3,3,3,4,4,5,6,6,6,6,0 +Terry Landon,2,2,2,2,0,0,0,0,0,0,0,0 +Josh Bennett,2,2,3,3,3,3,0,0,0,0,0,0 +Karen Petersen,2,2,2,3,3,4,4,5,5,5,0,0 +Jon Miller,1,1,0,0,0,0,0,0,0,0,0,0 +Carrol Wilson,1,1,1,0,0,0,0,0,0,0,0,0 +Undeclared Write-ins,0,0,0,0,0,0,0,0,0,0,0,0 +Inactive ballots,6,6,6,6,6,6,6,6,8,11,14,19 diff --git a/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_city_tax_collector/unisyn_xml_cdf_city_tax_collector_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_city_tax_collector/unisyn_xml_cdf_city_tax_collector_expected_summary.csv new file mode 100644 index 000000000..42cddf6ff --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_city_tax_collector/unisyn_xml_cdf_city_tax_collector_expected_summary.csv @@ -0,0 +1,20 @@ +Contest,For County Tax Collector (1/3) +Jurisdiction, +Office, +Date,2019-03-06 +Winner(s),Sandy Wallace +Threshold,13 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6,Round 7,Round 8 +Eliminated,Undeclared Write-ins,Harry Nelson,Greg Smith,Brady Gordon,Daniel Gregory,Wendy McDonald,Wendy Simpson, +Elected,,,,,,,,Sandy Wallace +Sandy Wallace,7,7,8,8,9,10,12,14 +Mel Bonham,5,5,5,5,7,8,10,11 +Wendy Simpson,4,4,5,5,5,6,6,0 +Daniel Gregory,3,3,3,3,3,0,0,0 +Wendy McDonald,3,3,3,5,5,5,0,0 +Greg Smith,2,2,2,0,0,0,0,0 +Harry Nelson,2,2,0,0,0,0,0,0 +Brady Gordon,2,3,3,3,0,0,0,0 +Undeclared Write-ins,1,0,0,0,0,0,0,0 +Inactive ballots,6,6,6,6,6,6,7,10 diff --git a/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_county_coroner/unisyn_xml_cdf_county_coroner_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_county_coroner/unisyn_xml_cdf_county_coroner_expected_summary.csv new file mode 100644 index 000000000..db4259848 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_county_coroner/unisyn_xml_cdf_county_coroner_expected_summary.csv @@ -0,0 +1,20 @@ +Contest,For County Coroner (1/2) +Jurisdiction, +Office, +Date,2019-03-06 +Winner(s),Niels Larson +Threshold,5 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6,Round 7,Round 8,Round 9 +Eliminated,Undeclared Write-ins,Laura Brown,Andrea Doria,Kay Daniels,Walter Gerber,Emily Steffan,Jimmy Hendriks,Willy Wonka, +Elected,,,,,,,,,Niels Larson +Willy Wonka,5,5,6,6,6,6,9,9,0 +Niels Larson,5,5,5,6,8,8,8,9,9 +Emily Steffan,4,4,4,4,4,4,0,0,0 +Laura Brown,3,3,0,0,0,0,0,0,0 +Kay Daniels,3,3,3,3,0,0,0,0,0 +Andrea Doria,3,3,3,0,0,0,0,0,0 +Jimmy Hendriks,3,3,4,6,7,7,7,0,0 +Walter Gerber,3,3,4,4,4,0,0,0,0 +Undeclared Write-ins,0,0,0,0,0,0,0,0,0 +Inactive ballots,6,6,6,6,6,10,11,17,26 diff --git a/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_county_sheriff/unisyn_xml_cdf_county_sheriff_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_county_sheriff/unisyn_xml_cdf_county_sheriff_expected_summary.csv new file mode 100644 index 000000000..74e10df9c --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/unisyn_xml_cdf_county_sheriff/unisyn_xml_cdf_county_sheriff_expected_summary.csv @@ -0,0 +1,19 @@ +Contest,For County Sheriff (1/3) +Jurisdiction, +Office, +Date,2019-03-06 +Winner(s),Terry Baker +Threshold,9 + +Rounds,Round 1,Round 2,Round 3,Round 4,Round 5,Round 6,Round 7,Round 8 +Eliminated,Undeclared Write-ins,Beth Small,Thomas Soto,Sandra Williams,John Wayne Jr.,Tony Seiler,Warren Norell, +Elected,,,,,,,,Terry Baker +Terry Baker,5,5,7,7,7,10,12,17 +John Wayne Jr.,5,6,6,7,7,0,0,0 +Tony Seiler,5,6,6,6,7,9,0,0 +Warren Norell,4,4,4,6,8,10,12,0 +Thomas Soto,3,3,3,0,0,0,0,0 +Sandra Williams,3,3,3,3,0,0,0,0 +Beth Small,2,2,0,0,0,0,0,0 +Undeclared Write-ins,2,0,0,0,0,0,0,0 +Inactive ballots,6,6,6,6,6,6,11,18 diff --git a/src/test/resources/network/brightspots/rcv/test_data/uwi_cannot_win_test/uwi_cannot_win_test_expected_summary.csv b/src/test/resources/network/brightspots/rcv/test_data/uwi_cannot_win_test/uwi_cannot_win_test_expected_summary.csv new file mode 100644 index 000000000..cc7e278b9 --- /dev/null +++ b/src/test/resources/network/brightspots/rcv/test_data/uwi_cannot_win_test/uwi_cannot_win_test_expected_summary.csv @@ -0,0 +1,14 @@ +Contest,UWI Test +Jurisdiction, +Office, +Date, +Winner(s),A +Threshold,3 + +Rounds,Round 1,Round 2 +Eliminated,Undeclared Write-ins, +Elected,,A +A,3,3 +B,1,1 +Undeclared Write-ins,5,0 +Inactive ballots,0,5