Closed mattbeattie closed 2 years ago
For any candidate, will the ObjectId always equal the CandidateIds value? For example:
<ContestSelection xsi:type="CandidateSelection" ObjectId="alpha_for_mayor">
<SequenceOrder>1</SequenceOrder>
<CandidateIds>candidate_alpha</CandidateIds>
</ContestSelection>
<ContestSelection xsi:type="CandidateSelection" ObjectId="beta_for_mayor">
<SequenceOrder>2</SequenceOrder>
<CandidateIds>beta_for_mayor</CandidateIds>
</ContestSelection>
<ContestSelection xsi:type="CandidateSelection" ObjectId="mayor_writein">
<SequenceOrder>3</SequenceOrder>
<IsWriteIn>true</IsWriteIn>
</ContestSelection>
For the first candidate:
ObjectId
(alpha_for_mayor
) doesn't match anythingCandidateIds
value matches the Candidate
ObjectId
For the second candidate:
ObjectId
(beta_for_mayor
) matches the CandidateIds
valueWhat's the difference between the two values? Which one should be used to match the Candidate
's ObjectId
? Does the other have any significance, or can we effectively discard it?
This may be a potential data error, but I wanted to check. See the EDF here: https://github.com/TrustTheVote-Project/NIST-1500-100-103-examples/blob/main/NIST_1500-100/version_2/single_candidate_contest.xml
The
Contest
lists several candidates:candidate_alpha
matches aCandidate
element with the sameObjectId
. This is expected.beta_for_mayor
does not match anyCandidate
element. There is aCandidate
withObjectId
candidate_beta
; however, it doesn't directly match.Can you confirm this is a data issue, and if so, update the EDF accordingly?