adamrduffy / leselec

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lesotho uses a unique method of Mixed-Member Proportional Representation (MMP). Voters receive two ballots on Election Day; the first is used to vote for a candidate in the nominal tier, while the second is for the party list tier. The list tier ballot is used to determine the number of seats each party would receive if the system was fully proportional. Seats are allocated using a variant of the Hare Quota. The total number of votes cast on the party ballot is divided by the total number of seats at stake in the National Assembly (normally 120) in a given election. The number of votes each party received on the party ballot is divided by this quota to determine how many seats it deserves to receive. By calculating the quota with the total number of open seats (as opposed to just seats in the PR tier) it can be determined how many seats a party should have won if the system was perfectly proportional. This number is than compared to the seats a party won in the nominal tier to determine how many seats it should be awarded in the list tier. (For example, if a party is determined to deserve 20 seats and it won 10 in the nominal tier, it will be given an additional 10 seats). If this allocation fails to proportionally allocate seats (parties still being more or less seats than they deserve based on the PR tier results) the quota is recalculated, but this time excluding the seats for those parties which had won more than their fair share in the nominal tier. The 40 PR seats are than awarded using this new quota.

References

IFES Election Guide

http://www.electionguide.org/elections/id/2809/

  • TrapRange

taken from here under MIT licence

https://github.com/thoqbk/traprange

  • Postgres JDBC URI postgres://postgres:postgres@localhost:5432/leselec

About

License:The Unlicense


Languages

Language:Groovy 51.2%Language:Java 28.5%Language:HTML 20.2%