Open-source election counting https://yingtongli.me/opentally/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
RunasSudo ab0ec44049
Add test cases for 2021 Minneapolis elections
2 weeks ago
docs Add test cases for 2021 Minneapolis elections 2 weeks ago
homepage Update documentation 6 months ago
html Use --round-subtransfers per_ballot and --round-values 4 for Minneapolis STV 2 weeks ago
scripts Add draft functional specifications 4 weeks ago
src Defer surplus distribution if not affecting bulk exclusion, even if otherwise affecting trailing 2 candidates 2 weeks ago
tests Add test cases for 2021 Minneapolis elections 2 weeks ago
.gitignore Add draft functional specifications 4 weeks ago
COPYING Initial commit 2 years ago
Cargo.lock Use NoHashHasher for Candidate HashMaps to improve performance 4 months ago
Cargo.toml Use NoHashHasher for Candidate HashMaps to improve performance 4 months ago
README.md Rename docs files to avoid reserved Windows paths 11 months ago

README.md

OpenTally

OpenTally is an application for counting various preferential voting elections, with an academic focus, and emphasis on configurability.

OpenTally may be used in a number of different ways:

  • as an online web application, no installation or special software required
  • as a standalone command line application
  • as a Rust library within another application

Features

OpenTally accepts data in the BLT file format, and can count votes using:

OpenTally is highly customisable, including options for:

  • different quotas and quota rules (e.g. exact Droop, Hare)
  • calculations using fixed-point arithmetic, guarded fixed-point (quasi-exact) or exact rational numbers
  • different tie breaking rules (backwards, random, manual) with auditable deterministic random number generation
  • multiple constraints (e.g. affirmative action rules)
  • equal rankings

Online usage

See the quick start guide for how to use OpenTally online.

Command line usage

OpenTally may also be invoked as a command line application. Run ./opentally --help to view help.

For example, run ./opentally stv path/to/blt_file.blt --ties backwards random --random-seed foobar.