PeterTheOne / IRV

Instant-runoff voting tool
http://petertheone.github.io/IRV/
MIT License
20 stars 12 forks source link

add victory threshold option #3

Closed wtadler closed 7 years ago

wtadler commented 7 years ago

threshold defaults to 50%. script checks to make sure that the entered value is a number greater than 0 and less than 100.

also corrected a few typos.

PeterTheOne commented 7 years ago

Thanks for contributing, I made some minor changes. :)

wtadler commented 7 years ago

Your changes look nice!

An organization I work with has bylaws that require a 2/3 victory threshold, but there was no good online tool for running such an election. I had no experience with JS, but this looked like a relatively simple update. This was a good first JS project for me—thanks!

PeterTheOne commented 7 years ago

Can you name the organization?

wtadler commented 7 years ago

New Kings Democrats, a volunteer group trying to bring change and transparency to the Democratic party in Brooklyn, NY. And you can see the voting procedure in the bylaws, section VI.B.2