votingworks / arlo

GNU Affero General Public License v3.0
141 stars 25 forks source link

Compute "Valid Voted Ballots in Batches" for multi-contest batch audits #1889

Closed arsalansufi closed 7 months ago

arsalansufi commented 7 months ago

Overview

Issue link: https://github.com/votingworks/arlo/issues/1815

I missed this logic while working on https://github.com/votingworks/arlo/pull/1884 (backend support for multi-contest batch audits). Missed it since the current code just continues if the number of contests isn't 1, instead of failing.

Before this PR, the "Valid Voted Ballots in Batches" column was mistakenly left empty for multi-contest batch audits.

audit-progress

For more context on what this column represents, see https://votingworks.slack.com/archives/CKCVA0F9S/p1623087428052300.

Testing