Screenshot of the OpenSTV counting form

This project is not covered by Drupal’s security advisory policy.

This module integrates the Election module with OpenSTV.

OpenSTV is a Python-based vote counting tool for STV (or other ranked-choice) elections, written by Jeffrey C. O'Neill.

OpenSTV features

OpenSTV supports the following counting methods: Approval Voting; Borda Count; Bucklin System; Cambridge STV; Condorcet Voting; Coombs Method; ERS97 STV; Fractional Transfer STV; GPCA 2000 STV; Instant-Runoff Voting (IRV); Meek NZ STV; Meek QX STV; Meek STV; Minneapolis STV; N. Ireland STV; QPQ (Quota-Preferential by Quotient); Random Transfer STV; Single Non-Transferable Vote (SNTV); Scottish STV; Supplementary Vote; Warren QX STV; Warren STV.

Reports can be generated in several formats: CSV, HTML, plain text, or YAML.

Integration features

If you've already collected votes using Election, you can use Election OpenSTV to count the results and produce reports. You can:

  • download a report for a single election post
  • download a ZIP file of reports for all posts in an election
  • create a report using Drush (type drush help election-openstv to find out how)

Installing

  1. Make sure Python is installed and available on your system.
  2. Get the OpenSTV source code. In Ubuntu this could be as easy as sudo apt-get install openstv. Otherwise, the source code can be downloaded from openstv.org (the non-free version) or a GitHub (the older, free version). See below for a note on licensing.
  3. Install Election OpenSTV (see installing contributed modules).
  4. Visit admin/config/election/openstv to set the OpenSTV command.

Licensing

This module: Like any code provided by drupal.org, Election OpenSTV is free and open-source, under the same licence as Drupal (GPL version 2 or later).

OpenSTV: Earlier versions of OpenSTV are free and open-source (under the GPL), including the package in the Ubuntu universe repositories and the one copied at GitHub. Later versions of OpenSTV, however, are released under a non-free, non-GPL licence. And the author requests donations for the use of any version. Please see openstv.org for information about OpenSTV, including licensing and pricing.

N.B. this module is in no way affiliated with OpenSTV.

Project information

Releases