electiondata icon indicating copy to clipboard operation
electiondata copied to clipboard

mixing by-vote-type and total-only in one election breaks testing

Open sfsinger19103 opened this issue 6 years ago • 1 comments

E.g., Arizona 2020 Primary. The Presidential file has only total votes; the all-other-contests-primary file has results by vote type. Calling aggregate_results() ignores totals (because there are other vote types present). So presidential contest is not included in roll-up, and test for presidential results fails even though the presidential results are in the db.

sfsinger19103 avatar Nov 04 '20 03:11 sfsinger19103

Note that #444 does not fully address this, as the presidential will be missing the separate vote types.

sfsinger19103 avatar Nov 17 '20 23:11 sfsinger19103