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

Improvements to Inactive Ballot tracking, and corrected reporting of undervotes #857

Merged
merged 10 commits into from
Sep 3, 2024

Conversation

artoonie
Copy link
Collaborator

@artoonie artoonie commented Jun 25, 2024

This was originally designed to handle both #780 and #854. However, #854 has additional questions and has been deferred out of 2.0.

Still, this PR made some improvements that resolved #780 in a nice way, so I'm modifying this PR to just resolve #780 without the "partially ranked" vs "fully ranked" split in #854.

Therefore, this PR has code that is outside of the scope of #780 but makes it easy to accomplish #854 in the future -- things like tracking whether a ballot used all of its known rankings.

@artoonie artoonie force-pushed the feature/issue-854_inactive-split branch 2 times, most recently from 75341aa to f293caa Compare June 25, 2024 02:35
@artoonie artoonie added the WIP label Jun 25, 2024
@artoonie artoonie force-pushed the feature/issue-854_inactive-split branch 3 times, most recently from 08926ab to 57af2fd Compare June 25, 2024 02:59
@yezr
Copy link
Collaborator

yezr commented Jun 26, 2024

I laid out all the open questions in the original issue #854

@artoonie artoonie force-pushed the feature/issue-854_inactive-split branch 3 times, most recently from a26818b to 723b4b8 Compare June 28, 2024 21:30
@artoonie artoonie changed the title Split up the undervote bucket into "0 rankings" and "less than max rankings" WIP: Split up the undervote bucket into "0 rankings" and "less than max rankings" Jun 30, 2024
@artoonie artoonie force-pushed the feature/issue-854_inactive-split branch 4 times, most recently from 52cd0cd to a595e69 Compare July 1, 2024 00:40
@artoonie artoonie force-pushed the feature/issue-854_inactive-split branch from a595e69 to 55eee98 Compare July 10, 2024 23:03
@artoonie artoonie changed the title WIP: Split up the undervote bucket into "0 rankings" and "less than max rankings" Improvements to Inactive Ballot tracking, and corrected reporting of undervotes Jul 10, 2024
@yezr
Copy link
Collaborator

yezr commented Jul 15, 2024

note for when this is merged that RCVRC needs to document how this changes the description for ballots in the audit log
image

and the totally unranked ballots in the summary.csv

image

@yezr
Copy link
Collaborator

yezr commented Jul 19, 2024

@artoonie can we change the undervote description in the summary.csv to `Number of Undervotes (No Rankings)"

@artoonie
Copy link
Collaborator Author

All comments addressed, let me know if there's more needed from RCVRC's side

@yezr yezr requested a review from tarheel August 15, 2024 19:31
@yezr yezr removed the request for review from tarheel August 29, 2024 18:09
@yezr yezr self-assigned this Aug 29, 2024
@yezr yezr removed the WIP label Aug 29, 2024
* fix some math on the per-slice inactive ballots

* add test for residual surplus in by-slice

* don't fix the residual surplus by-slice as its never shown

* lint

* clean up

* remove unnecessary comment
@artoonie artoonie merged commit 8bce938 into develop Sep 3, 2024
1 check passed
@artoonie artoonie deleted the feature/issue-854_inactive-split branch September 3, 2024 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[2.0-RC] summary.csv "Inactive Ballots Total" is different from the sum of each inactive ballot category
2 participants