Skip to content

Instantly share code, notes, and snippets.

@Mego
Created February 6, 2018 16:14
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 Mego/5be32d76d99d819508fecfbac9a52736 to your computer and use it in GitHub Desktop.
Save Mego/5be32d76d99d819508fecfbac9a52736 to your computer and use it in GitHub Desktop.
Unofficial preliminary results for PPCG 2018 mod election
3 2
1 2 1 3 0
1 2 1 3 0
1 3 1 2 0
1 1 2 3 0
1 2 1 3 0
1 3 2 1 0
1 1 2 3 0
0
"DJMcMayhem"
"Mego"
"PhiNotPi"
"PPCG 2018"
Loading ballots from file ppcg2018.blt.
Ballot file contains 3 candidates and 7 ballots.
No candidates have withdrawn.
Ballot file contains 7 non-empty ballots.
Counting votes for PPCG 2018 using Meek STV.
3 candidates running for 2 seats.
R|DJMcMayhem |Mego |PhiNotPi |Exhausted |Surplus |Threshold
==================================================================================================
1| 2.000000| 3.000000| 2.000000| 0.000000| 0.666666| 2.333334
|-----------------------------------------------------------------------------------------------
| Count of first choices. Candidate Mego has reached the threshold and is elected.
==================================================================================================
2| 2.666666| 2.333334| 2.000000| 0.000000| 0.333332| 2.333334
|-----------------------------------------------------------------------------------------------
| Count after transferring surplus votes. Keep factors of candidates who have exceeded the
| threshold: Mego, 0.777778. Candidate DJMcMayhem has reached the threshold and is elected.
Winners are DJMcMayhem and Mego.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment