Similar library
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
Same here, though it's just one file: https://gist.github.com/endolith/fa1d19767e5c2e9d4bd15e391ba79f91