User:Jameson Quinn/SPARTA voting: Difference between revisions

no edit summary
(Renaming variables for clarity)
No edit summary
Line 4:
# Until all seats are filled, repeat the following steps:
## Using the current ballots and their weights, find the two "frontrunners", the candidates with the highest total scores.
## For each of these two frontrunners, order the ballots from highest scoring to lowest scoring, and find the candidate's "constituent score": their score on the ballot one Droop quota infrom the top. Whichever frontrunner has the higher constituent score gets a seat.
### If there is a tie, break it using total score. (Possible alternative tiebreakers: total score over the top Droop quota of ballots; or, total over top two Droop quotas of ballots)
## Exhaust one Droop quota of ballots.