Go to file
2022-08-21 06:02:06 +10:00
docs Update documentation 2022-06-18 02:02:00 +10:00
homepage Update documentation 2022-06-18 02:02:00 +10:00
html Use "ballots" consistently vs "ballot papers" 2022-04-20 20:03:20 +10:00
src Refactor CandidateMap 2022-08-21 06:02:06 +10:00
tests Autodetect when to normalise ballots, remove explicit --normalise-ballots 2022-04-20 19:54:58 +10:00
.gitignore Utils for benchmarking and profiling 2022-08-21 03:56:54 +10:00
benchmark.sh Refactor CandidateMap 2022-08-21 06:02:06 +10:00
build_docs.sh Implement constraint matrix logic and test case 2021-06-27 17:49:28 +10:00
build_wasm.sh Don't reapply wasm-bindgen/wasm-opt if no changes 2021-09-11 21:17:35 +10:00
Cargo.lock Use NoHashHasher for Candidate HashMaps to improve performance 2022-08-20 23:25:16 +10:00
Cargo.toml Use NoHashHasher for Candidate HashMaps to improve performance 2022-08-20 23:25:16 +10:00
COPYING Initial commit 2021-05-28 20:03:55 +10:00
coverage.sh Update rustfilt path 2021-10-26 00:55:04 +11:00
profile.sh Utils for benchmarking and profiling 2022-08-21 03:56:54 +10:00
README.md Rename docs files to avoid reserved Windows paths 2022-01-04 18:26:15 +11:00
rustc_bs.sh Add code coverage calculation 2021-06-12 15:37:41 +10:00
test.csp Add subcommand for BLT/CSP file conversion 2021-08-20 02:29:47 +10:00

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.