Election software

(Created links)
 
(→‎Code: +variation)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===Election software==
Wikimedia Australia originally used [[memberdb]] for membership and AGM committee elections.
At the [[Meeting:2011_SGM/Rule_amendments#electronic_voting|April 2011 SGM]] the rules were amended to require that electronic voting "software source code [must be] available to the public 28 days before the ballot opens."


* [[index.php]]
CiviCRM was implemented in 2010 for CRM and membership, and memberdb was again used at the 2011 AGM for the committee election.
* [[tally.inc]]
 
In 2011 [[user:Bilby]] published a replacement software package.
 
After the [[Meeting:2011 AGM]], our election officer and secretary wrote [[Election Report - 2011-2012 WMAU Committee Nominations and Voting]].
 
==Code==
 
The software involves two main files:
 
* [[Election software/index.php]]
* [[Election software/tally.inc]]
 
index.php handles most of the work. tally.inc is only responsible for calculating and outputting the final result. Other files are used to create the UI elements or load configuration, but have no core executable code.
 
A variant of tally.inc, [[Election software/tally.inc (Hare-Clark)]], is also available. It uses the Droop quota + Hare-Clark to manage redistribution of votes.
 
Other files are:
 
* [[Election software/export.php]]: Used to export the results of the election in a format suitable for counting in OpenSTV.
* [[Election software/config.php]]: Has passwords and connection data. Must ''not'' be stored in a web-accessible directory.
 
HTML is managed by:
 
* [[Election software/template.inc]]: Basic template wrapping the program's output.
* [[Election software/admin.inc]]: Little bit of HTML for providing an admin menu.
* [[Election software/instructions.inc]]: HTML containing instructions for the user.
* [[Election software/introduction.inc]]: HTML containing an introduction explaining how this works to the end user.
* [[Election software/style.css]]: CSS file.
 
SQL is also available, including some test data.
 
* [[Election software/sql]]: Basic template wrapping the program's output.
 
==Other options==
* [http://www.opavote.org/details OpaVote] online election. Code is available via EULA - also could be on the internet

Latest revision as of 03:59, 27 October 2013

Wikimedia Australia originally used memberdb for membership and AGM committee elections. At the April 2011 SGM the rules were amended to require that electronic voting "software source code [must be] available to the public 28 days before the ballot opens."

CiviCRM was implemented in 2010 for CRM and membership, and memberdb was again used at the 2011 AGM for the committee election.

In 2011 user:Bilby published a replacement software package.

After the Meeting:2011 AGM, our election officer and secretary wrote Election Report - 2011-2012 WMAU Committee Nominations and Voting.

Code

The software involves two main files:

index.php handles most of the work. tally.inc is only responsible for calculating and outputting the final result. Other files are used to create the UI elements or load configuration, but have no core executable code.

A variant of tally.inc, Election software/tally.inc (Hare-Clark), is also available. It uses the Droop quota + Hare-Clark to manage redistribution of votes.

Other files are:

HTML is managed by:

SQL is also available, including some test data.

Other options

  • OpaVote online election. Code is available via EULA - also could be on the internet
Discuss this page