Modeling Test Cases for Voting
- Dermot Cochran,
- Joseph Roland Kiniry
Research Output:
Book / Anthology / Report
Report
Open access
Publication Information
Output type
Research Output:
Book / Anthology / Report
Report
Original language
EnglishPublication milestones
- Published - 09/2011
Publication status
Published - 09/2011
Place of publication
CopenhagenEdition
TR-2011-143Publisher
IT-Universitetet i København, DenmarkBook series
- Book series name: IT University Technical Report Series
Series number: TR-2011-143
ISSN: 1600-6100
ISBN (Electronic)
978-87-7949-239-4Abstract
The ballot counting process for Proportional Representation by Single Transferable Vote (PR-STV) elections can be modeled formally using the Alloy model checker so as to cover all possible branches through the ballot counting algorithm. We use the Alloy model finder to describe the elections in terms of scenarios, consisting of equivalence classes of possible outcomes for each candidate in the election, where each outcome represents one branch through the algorithm. We show how test data is generated from a first order logic representation of the counting algorithm using the Alloy model finder. This process guarantees that we find the minimal number of ballots needed to test each scenario.
Access to documents
Final published version, 491.46 KB
