From 8e51a74815002efeba9be9b62f6255d009e9f98c Mon Sep 17 00:00:00 2001 From: vteague Date: Sun, 25 Aug 2024 17:32:21 +1000 Subject: [PATCH] Added test data for replicating issue #143. --- .../CSVs/PluralityOnly/Plurality1And2.csv | 14 ++++++++++++++ .../PluralityOnly/Plurality1And2.csv.sha256sum | 1 + .../CSVs/PluralityOnly/PluralityTiedAnd2.csv | 14 ++++++++++++++ .../PluralityOnly/PluralityTiedAnd2.csv.sha256sum | 1 + .../ThreeCandidatesTenVotes_Manifest.csv | 2 ++ .../ThreeCandidatesTenVotes_Manifest.csv.sha256sum | 1 + .../Tiny_IRV_Boulder2023_Test_Canonical_List.csv | 6 ++++++ 7 files changed, 39 insertions(+) create mode 100644 server/eclipse-project/src/test/resources/CSVs/PluralityOnly/Plurality1And2.csv create mode 100644 server/eclipse-project/src/test/resources/CSVs/PluralityOnly/Plurality1And2.csv.sha256sum create mode 100644 server/eclipse-project/src/test/resources/CSVs/PluralityOnly/PluralityTiedAnd2.csv create mode 100644 server/eclipse-project/src/test/resources/CSVs/PluralityOnly/PluralityTiedAnd2.csv.sha256sum create mode 100644 server/eclipse-project/src/test/resources/CSVs/PluralityOnly/ThreeCandidatesTenVotes_Manifest.csv create mode 100644 server/eclipse-project/src/test/resources/CSVs/PluralityOnly/ThreeCandidatesTenVotes_Manifest.csv.sha256sum create mode 100644 server/eclipse-project/src/test/resources/CSVs/PluralityOnly/Tiny_IRV_Boulder2023_Test_Canonical_List.csv diff --git a/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/Plurality1And2.csv b/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/Plurality1And2.csv new file mode 100644 index 00000000..bf588d2f --- /dev/null +++ b/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/Plurality1And2.csv @@ -0,0 +1,14 @@ +Tiny Plurality Example Contest 1,5.10.11.24,,,,,,,,,,, +,,,,,,,PluralityExample1 (Vote For=1),PluralityExample1 (Vote For=1),PluralityExample1 (Vote For=1),PluralityExample2 (Vote For=2),PluralityExample2 (Vote For=2),PluralityExample2 (Vote For=2) +,,,,,,,Diego,Eli,Farhad,Gertrude,Ho,Imogen +CvrNumber,TabulatorNum,BatchId,RecordId,ImprintedId,PrecinctPortion,BallotType,,,,,, +1,1,1,1,1-1-1,Precinct 1,Ballot 1 - Type 1,1,0,0,1,0,1 +2,1,1,2,1-1-2,Precinct 1,Ballot 1 - Type 1,0,0,1,0,0,1 +3,1,1,3,1-1-3,Precinct 1,Ballot 1 - Type 1,0,0,1,1,1,0 +4,1,1,4,1-1-4,Precinct 1,Ballot 1 - Type 1,0,0,1,1,1,0 +5,1,1,5,1-1-5,Precinct 1,Ballot 1 - Type 1,1,0,0,1,1,0 +6,1,1,6,1-1-6,Precinct 1,Ballot 1 - Type 1,1,0,0,1,1,0 +7,1,1,7,1-1-7,Precinct 1,Ballot 1 - Type 1,1,0,0,1,1,0 +8,1,1,8,1-1-8,Precinct 1,Ballot 1 - Type 1,0,1,0,1,1,0 +9,1,1,9,1-1-9,Precinct 1,Ballot 1 - Type 1,0,1,0,1,1,0 +10,1,1,10,1-1-10,Precinct 1,Ballot 1 - Type 1,0,1,0,1,1,0 diff --git a/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/Plurality1And2.csv.sha256sum b/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/Plurality1And2.csv.sha256sum new file mode 100644 index 00000000..ac511b24 --- /dev/null +++ b/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/Plurality1And2.csv.sha256sum @@ -0,0 +1 @@ +4b71abe4140d87d68afd5741e84756f999307cb7e6ba1eb0843846cf9c3527f3 Plurality1And2.csv diff --git a/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/PluralityTiedAnd2.csv b/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/PluralityTiedAnd2.csv new file mode 100644 index 00000000..7c39ea3d --- /dev/null +++ b/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/PluralityTiedAnd2.csv @@ -0,0 +1,14 @@ +Tiny IRV Example Contest 1,5.10.11.24,,,,,,,,,,, +,,,,,,,PluralityTiedExample (Vote For=1),PluralityTiedExample (Vote For=1),PluralityTiedExample (Vote For=1),PluralityExample2 (Vote For=2),PluralityExample2 (Vote For=2),PluralityExample2 (Vote For=2) +,,,,,,,Diego,Eli,Farhad,Gertrude,Ho,Imogen +CvrNumber,TabulatorNum,BatchId,RecordId,ImprintedId,PrecinctPortion,BallotType,,,,,, +1,1,1,1,1-1-1,Precinct 1,Ballot 1 - Type 1,0,0,0,1,0,1 +2,1,1,2,1-1-2,Precinct 1,Ballot 1 - Type 1,0,0,1,0,0,1 +3,1,1,3,1-1-3,Precinct 1,Ballot 1 - Type 1,0,0,1,1,1,0 +4,1,1,4,1-1-4,Precinct 1,Ballot 1 - Type 1,0,0,1,1,1,0 +5,1,1,5,1-1-5,Precinct 1,Ballot 1 - Type 1,1,0,0,1,1,0 +6,1,1,6,1-1-6,Precinct 1,Ballot 1 - Type 1,1,0,0,1,1,0 +7,1,1,7,1-1-7,Precinct 1,Ballot 1 - Type 1,1,0,0,1,1,0 +8,1,1,8,1-1-8,Precinct 1,Ballot 1 - Type 1,0,1,0,1,1,0 +9,1,1,9,1-1-9,Precinct 1,Ballot 1 - Type 1,0,1,0,1,1,0 +10,1,1,10,1-1-10,Precinct 1,Ballot 1 - Type 1,0,1,0,1,1,0 diff --git a/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/PluralityTiedAnd2.csv.sha256sum b/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/PluralityTiedAnd2.csv.sha256sum new file mode 100644 index 00000000..3d5c32ee --- /dev/null +++ b/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/PluralityTiedAnd2.csv.sha256sum @@ -0,0 +1 @@ +9d334367af068d83681f3658250567066bb1490c92dd2d387a7ef26ac80bbfd5 PluralityTiedAnd2.csv diff --git a/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/ThreeCandidatesTenVotes_Manifest.csv b/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/ThreeCandidatesTenVotes_Manifest.csv new file mode 100644 index 00000000..a776e3a4 --- /dev/null +++ b/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/ThreeCandidatesTenVotes_Manifest.csv @@ -0,0 +1,2 @@ +CountyID,ScannerID,BatchID,NumBallots,StorageLocation +TestCounty,1,1,10,Bin 1 diff --git a/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/ThreeCandidatesTenVotes_Manifest.csv.sha256sum b/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/ThreeCandidatesTenVotes_Manifest.csv.sha256sum new file mode 100644 index 00000000..035d5025 --- /dev/null +++ b/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/ThreeCandidatesTenVotes_Manifest.csv.sha256sum @@ -0,0 +1 @@ +5d602a0a0b2bc51a2e9f1f6efd8650fdd748e4fdd8268104a43a633588a998c3 ThreeCandidatesTenVotes_Manifest.csv diff --git a/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/Tiny_IRV_Boulder2023_Test_Canonical_List.csv b/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/Tiny_IRV_Boulder2023_Test_Canonical_List.csv new file mode 100644 index 00000000..b265e683 --- /dev/null +++ b/server/eclipse-project/src/test/resources/CSVs/PluralityOnly/Tiny_IRV_Boulder2023_Test_Canonical_List.csv @@ -0,0 +1,6 @@ +CountyName,ContestName,ContestChoices +Boulder,City of Boulder Mayoral,"Aaron Brockett,Nicole Speer,Bob Yates,Paul Tweedlie," +Adams,TinyExample1,"Alice, Bob, Chuan" +Adams,PluralityExample1,"Diego, Eli, Farhad" +Adams,PluralityExample2,"Gertrude, Ho, Imogen" +Adams,Example3,"A,B,C,D"