You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi thanks for this great gem, I've been using it for a contest and I'm having inconsistencies for a specific election where I elect 4 seats and there are 3 always elected and the 4th rotates randomly between 3 options. This is the only case where this happens and in all other tests I've made the results are consistent with the Droop Python package. Droop in meek mode systematically elects candidates 9, 13, 14 and 19 Meekster always elects 9, 13 and 19 and sometimes elects 14 as Droop but also 2 and 10.
I believe this is a rounding error of some kind, hope you can give me a hand with this issue.
I'm almost sure this has to do with the tie-breaking method used in both packages. Droop seems to defeat ties always picking the first in the list of ties while Meekster picks it randomly. If I change this line in round.rb
deftiebreaker_select(array)array[0]end
Meekster behaves as Droop and I get the exact same results.
Having an option to enable this kind of tie-breaking behaviour might be interesting to get deterministic results.
I'm interested in knowing your opinions on this topic.
Thanks for looking into this. I agree that making the results deterministic would be preferable as a default, and maybe we can keep the current random tie-breaking as a configurable option.
Hi thanks for this great gem, I've been using it for a contest and I'm having inconsistencies for a specific election where I elect 4 seats and there are 3 always elected and the 4th rotates randomly between 3 options. This is the only case where this happens and in all other tests I've made the results are consistent with the Droop Python package. Droop in meek mode systematically elects candidates 9, 13, 14 and 19 Meekster always elects 9, 13 and 19 and sometimes elects 14 as Droop but also 2 and 10.
I believe this is a rounding error of some kind, hope you can give me a hand with this issue.
I tested running several times
run_election
Here is the ballot.blt file
The text was updated successfully, but these errors were encountered: