electionscience / vse-sim

Methods for running simulations to calculate Voter Satisfaction Efficiency (VSE) of various voting systems in various conditions.
https://electionscience.github.io/vse-sim
57 stars 17 forks source link

Similar library #23

Open fresheneesz opened 6 years ago

fresheneesz commented 6 years ago

So I realize this isn't quite the right place for this, but I just wanted to mention that I wrote a library along similar lines here: https://github.com/fresheneesz/elect . It has the ability to easily write and plug in new forms of preference capturing (ballots), voting strategies, and voting methods. It also can handle both multi-winner and single-winner elections.

I also came to the conclusion that "voter satisfaction" is a better way to describe this than "regret". I take it you probably at least know of Warren Smith - he put up some simulation code I wrote here: http://rangevoting.org/multiWinnerBaysianRegret.html

endolith commented 6 years ago

Same here, though it's just one file: https://gist.github.com/endolith/fa1d19767e5c2e9d4bd15e391ba79f91