julien-boudry / Condorcet

Command line application and PHP library, providing an election engine with a high-level interface. Native support 20+ voting methods, easy to extend. Support simple elections with ease or billions of votes in low resource environment. Intensively tested and highly polyvalent.
https://www.condorcet.io
MIT License
119 stars 11 forks source link

Rewrite Ranked Pairs (Still experimental to date) #21

Closed julien-boudry closed 6 years ago

julien-boudry commented 6 years ago

Since his introduction into version 0.10, Randked Pairs method implementation is know as experimental (and clearly marked into the documentation). It's working well in a large majority of case, and in any honest election with many various vote.

But it fail because it can't output tie and chose arbitrary result in this case.

Randked pairs mus be largely rewrite to success this tests : http://ericgorr.net/condorcet/rankedpairs/example3/ http://ericgorr.net/condorcet/rankedpairs/example4/

One should also consider adding a Randked Pairs variant using the margin in place of the winning majority.

Don't forget the doc : image

julien-boudry commented 6 years ago

Done with the new v1.4 release !