Open jonahkagan opened 2 years ago
I have recreated the buggy state in the Batch Comparison audit in "Vx Internal - Caroline's Testing Organization" election ID 327e3af4-2912-4c23-92b5-0dd57b441f22
There are a few intersecting things going on here:
To address this bug, there are a few things to consider:
Perhaps the jurisdiction should be auto-finalized in this case, or not required to finalize.
This also makes me realize there's another bug lurking behind this: If we draw a sample consisting entirely of batches (or ballots) that were audited in previous rounds, things will be similarly stuck. It's not clear to me what should happen in this case.
A workaround is to finalize the impacted jurisdiction in the db using a script.
Took care of the batch audit bug where Arlo indicates in a subsequent round that a full hand tally is needed but doesn't select all remaining unaudited batches in https://github.com/votingworks/arlo/pull/1703. For this specific case, we'll also no longer run into the stuck jurisdictions problem because we intentionally don't reselect already audited batches.
For non-full-hand-tally round 2+'s, the stuck jurisdictions issue remains a problem.
https://votingworks.slack.com/archives/CKCVA0F9S/p1667525834769069