Skip to content

Instantly share code, notes, and snippets.

@theodorejb
Created August 14, 2020 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theodorejb/30257f5ab5e3fb14d9f01c94d194e3cf to your computer and use it in GitHub Desktop.
Save theodorejb/30257f5ab5e3fb14d9f01c94d194e3cf to your computer and use it in GitHub Desktop.
Partial STV results
Candidates (in order of ballot):
@@Attr - #[Attr] - @[Attr] - <<>>
1 invalid ballots were discarded:
salathe (salathe): @@Attr - @@Attr - @@Attr - @@Attr
Votes: 59
Candidates: 4
Seats: 1
Quota: floor(59 / (1 + 1)) + 1 = 30
Round #1
--------
Tally:
Candidate @@Attr: 9
Candidate #[Attr]: 26
Candidate @[Attr]: 18
Candidate <<>>: 6
Eliminating <<>> with 6 votes
Round #2
--------
Tally:
Candidate @@Attr: 10
Candidate #[Attr]: 28
Candidate @[Attr]: 21
Eliminating @@Attr with 10 votes
Round #3
--------
Tally:
Candidate #[Attr]: 31
Candidate @[Attr]: 26
Candidate #[Attr] reached quota and is elected with 1 surplus votes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment