-
Notifications
You must be signed in to change notification settings - Fork 29
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
Error on reveal alternative vote #313
Labels
Comments
1-alex98
pushed a commit
that referenced
this issue
May 8, 2019
1-alex98
pushed a commit
that referenced
this issue
May 8, 2019
1-alex98
pushed a commit
that referenced
this issue
May 8, 2019
1-alex98
pushed a commit
that referenced
this issue
May 8, 2019
1-alex98
pushed a commit
that referenced
this issue
May 16, 2019
1-alex98
pushed a commit
that referenced
this issue
May 26, 2019
Brutus5000
pushed a commit
that referenced
this issue
May 26, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Gorton ran an alternative vote and this error happened.
I was able to reproduce the exact same error in a unit test and fixed the issue. It happens in really rare cases.
So this bug appears if 2 candidates have the same amount of votes and get eliminated at once and if then after the first one is eliminated and his votes are distributed to the remaining, the second one has a vote that goes to the first one afterwards. Because the 1st one was eliminated it is no longer existing the program tries to associate the vote with the eliminated candidate and crashed....
The text was updated successfully, but these errors were encountered: