votingworks / arlo

GNU Affero General Public License v3.0
142 stars 26 forks source link

Audit planner #1440

Closed benadida closed 2 years ago

benadida commented 2 years ago

Problem

Right now, in order to help states plan their audits, VotingWorks support runs audit scenarios by creating hypothetical audits and seeing where the numbers land. One of the main questions they're trying to answer is which audit type to use (since different audit types will require different amounts of work).

There are sample size calculators outside of Arlo that can be used for ballot polling and ballot comparison, but not for batch comparison.

Proposed Solution

Create an audit planner tool to compare different audit types without having to go through the whole flow to create an audit.

Requirements

Sample size to generate:

Note that the unit for batch comparison is batches, not ballots.

ginvdr commented 2 years ago

For this calculator, total ballots, number of winners, and candidate vote totals will be useful. It would be very helpful if it's built so that information is entered and a user can then see sample sizes for all audit types without re-entry.

jonahkagan commented 2 years ago

Mockups

Image Image

arsalansufi commented 2 years ago

Follow-up issues:

arsalansufi commented 2 years ago

Now that I've opened issues for follow-ups (above), I'm going to mark this base issue as done! We can prioritize the follow-ups as we see fit, many of which are prerequisites for a public Twitter post