nathanllww / slivka-irv

MIT License
1 stars 0 forks source link

Support for empty ballots #6

Closed nathanllww closed 3 years ago

nathanllww commented 3 years ago

A completely empty ballot corresponds (assuming remove-exhausted-ballots=False) corresponds to a vote of no confidence against all candidates. This adds support for this case in the IRV algo side.

@abugler looking through the WC parsing tests, this seems far less trivial there, since empty lines (seem to me to) denote different questions. If this is correct, maybe the solution is having a "No Confidence" candidate as a ranking choice?

abugler commented 3 years ago

@abugler looking through the WC parsing tests, this seems far less trivial there, since empty lines (seem to me to) denote different questions. If this is correct, maybe the solution is having a "No Confidence" candidate as a ranking choice?

Yeah this is incorrect, which means I need to brush up my documentation. Different questions are saved into different files.

abugler commented 3 years ago

passes the vibe check. merged