ntefft / rcv

Ranked-choice voting replication
4 stars 0 forks source link

Cheers #1

Open lukepighetti opened 5 years ago

lukepighetti commented 5 years ago

District 2 voter here, was thinking about doing this in a d3.js notebook, looks like you beat me to the punch. 😄

Keep up the good work!

jswise commented 5 years ago

Thanks for writing this! I enjoyed hearing about it on the radio and reading it.

thumbtech commented 5 years ago

Hey I did a PHP version @ thumbtech/me_cd2_rcv_counter .

One thing I wanted to throw out there is that the official procedure does not include the idea of "finish" when top vote-getter exceeds 50% (which I also did), rather continued elimination down to 2 candidates. Functionally equivalent outcomes, but probably best to run per rules.

ntefft commented 5 years ago

@thumbtech Thank you, I have updated the code to reflect this (you are correct that they produce exactly the same outcome). Although I planned to not implement "batch elimination" in order to demonstrate its equivalence with instant runoffs, I agree that running instant runoffs until only two candidates remain (instead of running instant runoffs until one candidate garners more than 50% of votes) even more transparently lays out the instant runoff process.