RunasSudo 260dee1bb5
Fix bugs
Fix bug excluding-by-value/source candidates with no votes
Fix bug electing too many candidates if more reach the quota than vacancies remain
Add regression test
2021-09-09 01:24:50 +10:00
2021-09-04 02:30:01 +10:00
2021-09-04 22:46:29 +10:00
2021-09-09 01:24:50 +10:00
2021-09-09 01:24:50 +10:00
2021-07-31 15:24:23 +10:00
2021-09-02 17:17:45 +10:00
2021-09-02 17:17:45 +10:00
2021-05-28 20:03:55 +10:00
2021-09-04 02:30:01 +10:00
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)
  • equal rankings

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.

Description
Open-source election counting
https://yingtongli.me/opentally/
Readme 0 B
Languages
Rust 85%
JavaScript 8.3%
HTML 3.6%
CSS 1.5%
Ruby 0.9%
Other 0.7%