guardian / av-ballot

Processing 'Alternative Vote' ballots

Home Page:https://www.electoral-reform.org.uk/voting-systems/types-of-voting-system/alternative-vote/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

av-ballot

processing Alternative Vote ballots

No Liability or Warranty implied, code licensed under the APACHE LICENSE, VERSION 2.0.

Running the code

  1. Install sbt: https://www.scala-sbt.org/download.html
  2. Enter the sbt prompt
  3. run --votes path/to/dummy-votes.csv

See also:

  • https://sn0wsh00.wordpress.com/2018/04/09/how-to-conduct-instant-runoff-voting-with-google-forms/
  • Robert's Rules of Order (RRO), a well-established US guide to parliamentary procedure, which says on instant runoff voting (called "preferential voting" in RRO):

    If at any point two or more candidates or propositions are tied for the least popular position, the ballots in their piles are redistributed in a single step, all of the tied names being treated as eliminated. In the event of a tie in the winning position—which would imply that the elimination process is continued until the ballots are reduced to two or more equal piles—the election should be resolved in favor of the candidate or proposition that was strongest in terms of first choices (by referring to the record of the first distribution).

About

Processing 'Alternative Vote' ballots

https://www.electoral-reform.org.uk/voting-systems/types-of-voting-system/alternative-vote/

License:Apache License 2.0


Languages

Language:Scala 100.0%