Go to file
2021-07-28 00:12:57 +10:00
docs Update documentation 2021-07-26 18:50:51 +10:00
html Use Asyncify to process ties in web UI 2021-07-27 23:31:37 +10:00
src Prefer election by quota/VRE to early bulk election 2021-07-28 00:12:57 +10:00
tests Validated against 2019 NSW Senate election 2021-07-23 20:30:14 +10:00
.gitignore Use Asyncify to process ties in web UI 2021-07-27 23:31:37 +10:00
build_docs.sh Implement constraint matrix logic and test case 2021-06-27 17:49:28 +10:00
build_wasm.sh Use Asyncify to process ties in web UI 2021-07-27 23:31:37 +10:00
Cargo.lock Use Pest-based parser for BLT files 2021-07-23 16:45:54 +10:00
Cargo.toml Use Pest-based parser for BLT files 2021-07-23 16:45:54 +10:00
COPYING Initial commit 2021-05-28 20:03:55 +10:00
coverage.sh Fix incorrect calculation of code coverage 2021-06-28 00:27:28 +10:00
README.md Add documentation on constraints 2021-06-27 23:15:33 +10:00
rustc_bs.sh Add code coverage calculation 2021-06-12 15:37:41 +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)

Online usage

After preparing the BLT file, open the web UI. Select the BLT file, and click Count. OpenTally will count the election and display the results in a count sheet.

By clicking Show advanced options, you can customise the options used for the count. A detailed explanation of the various options can be found here.

Once the count is complete, you can click Print result to generate a printable result report.

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.