votingworks / arlo

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

Enable specification for RCV ruleset #1788

Open umbernhard opened 1 year ago

umbernhard commented 1 year ago

Currently, the Arlo RAIRE module supports San Francisco's IRV ruleset. However, other jurisdictions use different ruleset. Maine, for example, handles skipped rankings and termination of the tabulation slightly differently. Specifically:

In order to support additional IRV rulesets, the way we normalize CVRs will need to change to accept different rulesets and adapt accordingly: https://github.com/votingworks/arlo/blob/2cdf47d7ec71177f6e0796542b6ce554b1d6aece/server/audit_math/supersimple_raire.py#L101-L144

umbernhard commented 1 year ago

Additionally, we need a way to specify which ruleset should be used per-audit. This could be a simple lookup based on the jurisdiction ID, or it could be specified by the AA during audit setup. For Arlington, I think we should go with the former.