This repository has been archived on 2021-05-25 . You can view files and clone it, but cannot push or open issues or pull requests.
pyRCV2
pyRCV2 is an application for counting various preferential voting elections.
pyRCV2 may be used in a number of different ways:
- as an online web application, no installation or special software required, at https://yingtongli.me/rcv/
- as a standalone Python command line application
- as a library within another Python application
Features
pyRCV2 accepts data in the BLT file format, and can count votes using:
- weighted inclusive Gregory STV (e.g. Scottish STV)
- unweighted inclusive Gregory STV
- Wright STV
pyRCV2 is highly customisable, including options for:
- different quotas and quota rules (e.g. exact Droop, Hare) or progressively reducing quota
- calculations using fixed-point arithmetic or exact rational numbers
- different tie breaking rules (backwards, random, manual) with auditable deterministic random number generation
- extensible API for other counting methods
Description
Languages
Python
76.1%
JavaScript
16.6%
HTML
4.4%
CSS
2.4%
Shell
0.5%