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

rctab_cvr: when isMaxRankingSetToMaximum is true inspect CVRs to determine number of columns in rctab_cvr #896

Open
yezr opened this issue Oct 18, 2024 · 0 comments

Comments

@yezr
Copy link
Collaborator

yezr commented Oct 18, 2024

config: skip test.json
cvr: skip tester cvr.xlsx

What happened

I was testing whether an empty cell would be interpreted in an ES&S CVR as an undervote in the rctab_cvr. I had a CVR with 5 possible rankings. RCTab had 2 candidates configured. When I inspected the rctab_cvr I only saw two columns of rankings.

two_candidates_rctab_cvr.csv

Looking at the code, it looks like when isMaxRankingSetToMaximum is true it defaults to the number of rctab_cvr ranking columns to the number of configured candidates.

What I expect

I would expect the rctab_cvr to look through all the CVRs it knows about, find the maximum number of rankings that any CVR has, and use that as the default for the number of rankings to show in the rctab_cvr. This ensures that all rankings RCTab knows about show up in the rctab_cvr.

@yezr yezr added this to RCTab v2.0 Oct 18, 2024
@yezr yezr moved this to Todo in RCTab v2.0 Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant