devfort / turnout-election-schemes Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
All candidates who have met or exceeded the quota are provisionally elected at the same time. The candidates are elected in descending order of vote value, so that the candidate with the highest surplus in a round is shown as elected first. If two candidates who have met the quota have the same number of votes they will be added to the elected in the order they were passed to the scheme in, rather than in a random order.
The random generator use in _candidate_with_highest_surplus
should instead be in _provisionally_elect_candidates
so that ties are broken at the time the candidate is elected instead of when their surplus is distributed.
In documentation or tests or both, we should make it clear that we are using the Droop quota, and what it is.
Probably Travis?
We've done a bit of that, but there are some things we haven't done. The comments below refer to STV particularly.
I have a note that we don't adequately deal with calling things out of order. Is this still an issue?
It should say what this is, a brief guide on how to use it, and point to github & the open mailing list for people to contribute. (I think it's okay at this stage to assume that people can use a disposable or protected email address to get in touch if they have reason to be private about their identity, and that is sufficient for our purposes in this codebase.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.