TrustTheVote-Project / NIST-1500-100-103-examples

Other
3 stars 5 forks source link

Corrects a potential bug in the jetson EDF #42

Closed mattbeattie closed 2 years ago

mattbeattie commented 2 years ago

Hey @cwulfman, I ran your new jetsons_election_definition.json example through my parser, and it took an issue with this line.

My logic expects a @type of either ElectionResults.CandidateContest or ElectionResults.BallotMeasureContest, and requires either of those so that it can determine what type of contest it is.

Given that it's a ballot measure contest, I was able to run it through my parser just fine if I change the above line to ElectionResults.BallotMeasureContest. That also tracks with the XML version of this EDF, which has a type of BallotMeasureContest

Can you let me know if my suggested change is correct?