Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ongoing specification of RLAs in general, and RLAs for Colorado. #400

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kiniry
Copy link
Contributor

@kiniry kiniry commented Aug 23, 2017

In particular, I'll be focusing on their notion of rounds, or what are called stages in the literature.

In particular, I'll be focusing on their notion of rounds, or what are
called stages in the literature.
@kiniry kiniry added this to the phase-3 milestone Aug 23, 2017
@kiniry kiniry self-assigned this Aug 23, 2017
@kiniry kiniry requested a review from nealmcb August 23, 2017 00:06
@kiniry kiniry added the wip label Aug 23, 2017
Copy link
Contributor

@nealmcb nealmcb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm confused about their notion of rounds, as noted here. A phone conversation might help.

% with the most votes received 3,500 votes, the diluted margin of the
% contest is 5% [(4,000 – 3,500) / 10,000]
diluted_margin: TYPE FROM margin

% @trace struck from RDPR-6-Jul-2017 old Section 25.1.6
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use this description instead of the one below. Just remove the trace.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recall that traces are going to turn into margin comments with hyperlinks to other artifacts. So I'm going to leave it in there for now.


%%% First, one must choose a ``simultaneous risk limit'' ($\alpha$)
%%% to be applied across all contents under audit. This notion is
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

=> "First, one must choose a ``risk limit'' ($\alpha$) for each contest".
I doubt we will ever be interested in simultaneous audits across contests, governed by a single risk limit, and Philip agrees. As discussed several times in slack, that would among other things mean that if there was a problem with one contest, all the contests being simultaneously audited would require a full hand count. A full hand count of multiple contests is far more of a nightmare than just hand counting a single one.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As just mentioned in Slack, what I have been formalizing here is Stark10's definitions so that I can refine them for Colorado's specific style of "different risk-limits per contest". I'm refactoring now during my responding to @nealmcb's comments here.

%%% among the contests under audit (which we will call the
%%% \texttt{minimum\_margin}) divided by the total number of ballots
%%% cast across all the contests under audit.\todonealmcb{Is this
%%% true, or is it the smallest margin over all contests under audit?}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the definition above. No simultaneous audits. Calculated for each contest, each of which is audited independently.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my revisions that I'll be committing in a few minutes, I have refactored this definition in the colorado_rlas theory to the appropriate structures for Colorado's case.

% in an audited contest, and the reported winning candidate with the
% fewest votes received 4,000 votes, and the reported losing candidate
% with the most votes received 3,500 votes, the diluted margin of the
% contest is 5% [(4,000 – 3,500) / 10,000]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not clear to me that you would want to duplicate the comments for % vs %%%, but I'll leave that to you.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See above. Those that are currently in % with a @trace will be converted into margin comments.

%%% rules. First, the risk limit for comparison audits must be below
%%% $5\%$.
% @trace RDPR-6-Jul-2017 Section 25.2.2(A)
RDPR_risk_limit: TYPE = {n : nonneg_real | n <= 0.05}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We decided to leave out the restriction, given the escape clause. Also, the rule now says 10%, for county-wide contests, and doesn't actually say anything about contests smaller than a county. So I'd leave out this RDPR_escape_claus_risk_limit part - too deep in the weeds. They seem to want flexibility.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still need to model what is in the statutes and in the rules. That's doesn't mean that we will implement these dependent types as invariants in the system.

%%% is set any kind of risk limit they like.
RDPR_escape_clause_risk_limit: TYPE = {n : nonneg_real | n <= 1.0}

%%% As mentioned above, CDOS wants to be able to run a state-wide
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"run an audit", since I expect they would do this if they ran just a local audit also.

%%% counties.
round_size: TYPE = [round_number -> nat]
%%% Eventually we run out of ballot cards to audit, as a full hand
%%% count will count all ballot cards. Thus, for all possible round
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand this. Run out?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm proposing a model of stages such that stages eventually terminate because the SOS will decide that the contest(s) in question must be hand-counted. I'll try to clarify.

%%% We propose that, under normal circumstances, the initial round
%%% size for any election in Colorado should be conservative enough
%%% that all counties will meet their risk limits for all contests
%%% under audit.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They can't mean that all counties audit the same number of ballots in a round. That would be crazy.

@kiniry kiniry removed this from the Phase-2-Amendment-2 milestone Sep 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants