HI folks,
I made a couple of changes to the STV method today:
- Fixed an issue wherein if no one was 'lowest', STV would break
- Set the random seed to actually be random now. Setting it to 0 is just
bad juju and can be reverse engineered to place candidates in such a way
that a tie will always favor candidate X.
- Shuffling candidates before picking the lowest in case of a real tie -
alphabetical order should not play into this.
- Fixed a typo where in 'ran' was set instead of 'rand'.
I don't think this has influenced any board elections or such, as the
votes have to be a true tied vote right down to identical total
preference for two or more candidates, but I thought I'd fix it nonetheless.
With regards,
Daniel.