Closed ggordn3r closed 4 years ago
Okay, this doesn't quite make sense. In the code, for the statement, it says "the choice with least amount of votes will be eliminated". That is the one that received no votes. Should it only be from all choices that have received votes?
So, should we take out all the first round zero vote choices?
To directly speak to the points:
Answers to your questions:
You're right, obviously, that a choice with 0 votes has fewer votes than a choice with any. The problem is that the algorithm eliminates all of the choices with 0 votes in a batch in the same round as the first elimination of a choice with votes. So there's no opportunity to explain each of those eliminations separately. Better, I think, just to keep the focus in the Round Summary on the choice with votes, since that's what's highlighted in the graph.
Alright, attempting to get this finished finally. Check it out!
Round 1 is still mentioning Phone calls instead of Written letters: https://rankit.skelpo.com/results/P4cL6bavlGkEAKSJJpEJ/1
Also, it looks like I need to reword the message slightly. Instead of
All choices with 0 votes will also be eliminated in this round.
Let's say:
All choices with 0 votes will also be eliminated.
And finally, that message should be in Round 1, not in Round 2 (as it currently is).
Okay, I'm somewhat confused but let's just unpack it: In the first round, no one is eliminated, neither Phone calls nor written letters. There will be an elimination in round 2 and that is what the messaging is saying. "will be eliminated"
So in round 2, this happens but we are eliminating not just written letters but also all the ones with 0 votes.
The wording here is tricky because "will" and "is" make all the difference here :)
I adjusted the sentence you quoted but not sure how to fix the wording quite correctly.
You have this right conceptually, but it's showing up wrong in practice.
Round 1: https://rankit.skelpo.com/results/P4cL6bavlGkEAKSJJpEJ/1
Round 2: https://rankit.skelpo.com/results/P4cL6bavlGkEAKSJJpEJ/2
Expected behavior is for these messages to appear together in the first round. The choices with no votes will be eliminated at the same time as the first choice with votes is eliminated, so their "will be" messages should appear together in the same round.
Okay, fixed it to appear in the same round now.
Confirmed, correct round. Now we just need to change "Phone calls" to "Written letters" in Round 1: https://rankit.skelpo.com/results/P4cL6bavlGkEAKSJJpEJ/1
Notice that in Round 2 it's "Written letters" that is visibly eliminated. In situations where more than one choice is eliminated (the first elimination, where choices with 0 votes are also eliminated), the one with votes is the one to mention in the text.
Okay, I had to change our "getLoosers()" function slightly to take out all the objections without votes - let's test this really well (but we can test it in live I think).
Beautiful. Closing!
Background The pull request we merged alters eliminations slightly. Before the pull request, there was a "hard elimination" of all choices with 0 votes in Round 1. In multi-winner, however, this created a problem. Example:
Thus, the pull request modified the algorithm so the hard elimination occurs in the first round with an elimination--giving time for candidates with 0 votes to receive surplus distributions.
Issue Description This issue is to fix the messaging so it represents this change. See this poll for testing: https://rankit.skelpo.com/results/P4cL6bavlGkEAKSJJpEJ/1