ncase / ballot

An interactive guide to alternative voting systems
Creative Commons Zero v1.0 Universal
215 stars 40 forks source link

[add a voting system] Majority judgement #2

Open jibe-b opened 7 years ago

jibe-b commented 7 years ago

So great to read a great article and find the great code in a great repo! :)

It would be nice to add another (ranking) voting system: "majority judgement"1, which is close to "score voting", but with voters giving a score to a subset of candidates (a better explanation @GBodin?).

There is interest for of having this around LaPrimaire.org

I see how clean and practical your code is, so maybe you can give us a few advices and @GBodin and I do it ;)

Yet, the key point is having both visualisation and mathematics behind valid and explicit. And for the moment I have no clue.

GBodin commented 7 years ago

Short explanation : majority judgement is the same as score voting except that the median is taken instead of the mean. Thus it should not be hard to add ;)

ncase commented 7 years ago

Ooh, thanks for sending this my way! I try not to add any major changes after I've officially "published" something, but I do like how it picks the median instead of mean!

That way, with median instead of mean, you don't get this problem(?) where Score Voting can pick someone in a two-way race who does NOT have a majority: sandbox simulation

rjr2302 commented 1 year ago

@jibe-b If you want to play with Majority Judgment, I hacked together a fork today that can simulate it. I'm thinking about hosting it, but right now you'll have to download the whole repo and open up sandbox.html to play around with it. @ncase would I be allowed to host my fork on my own website if I credit you?