Most of the code is copied from the old vote/ranked_items.py
implementation apart from the stats() method which is rewritten to use
the library python-vote-core
(http://pypi.python.org/pypi/python-vote-core/).
Implemented voting methods are:
- Condorcet / Schulze
- Condorcet / Ranked-Pairs
- Instant Run-Off
- Schulze Proportional Ranking
- Schulze Single Transfer Vote
- Schulze NPR
Some of them take parameters (number of winners, winner threshold). I'm
not sure of their interpretation so the best is to lookup the Wikipedia
article to know more.
Intermediate statisctics are reported, like when there is
multiple-rounds tally to find a winner.
« pip install python-vote-core » is necessary to use this extension.
Stop messing with others code...
This reverts commit 0b592ba5039c23d6b053b11ff0446211c16fd92b.
Revert "Make __init__.py file not empty to work-around bug in dh_pysupport"
This reverts commit 68ec91ad285e9d03ba7eb8c67f77195f98ab8404.
Revert "Fix bad imports"
This reverts commit 911b280096714915b2ae02ec5d3f2eaa3697ea3c.
Revert "Activate ihooks work around with python 2.5"
This reverts commit d581c751746019d4fabc26bb58bd00bca1dee215.
Revert "Adapt last changes to python 2.5"
This reverts commit df650f0b9c0fc54deb659ccd34211af282e4b920.
Revert "Accept unknown keys in configuration trees"
This reverts commit 024dcfc2b7a7644617fc22bbc9c672d051d9ac3f.
Revert "Add _q_exports member for new URL of debug settings"
This reverts commit c5805b5f0e2b9d235a69db8f16675959b0d8c358.
Revert "Restore old path of qommon, make all import of qommon through path wcs.qommon"
This reverts commit 03f928daae294d4710cf031187bd702e10c3292b.
Revert "Completely generate the SettingDirectory from a schema"
This reverts commit 6b5f49ca402fe70d816e498e46ec21472b75b454.
Revert "Change all imports in common to relatives import"
This reverts commit 1f19cdfcd305eb59c4345afc03e73c7b74a273de.
Revert "revert erroneously commited debugging statement"
This reverts commit 2a3251ee9fcdd196a838b7a3583b9e4b7889f3f5.
Revert "Move qommon at the root of the project through a symbolic link"
This reverts commit 4868a92022ae3ad3b07ade271d76e1206dc7c05d.
Revert "Demonstrate use of SettingPage to reimplement debug_options setting page"
This reverts commit 1856132636266065d750f734fcf3650606395b8b.
Revert "SchemaGui: add a SettingPage class, fix bad hint value"
This reverts commit 36f09d9ccc517ca841e9172dcd6100db01f2d9dc.
Revert "Stat implementing schemagui"
This reverts commit 951dae9e7be82177e78ed9bb1eedecce177527a7.