Repository navigation
Conversation
GitHub rejects files over 100 MB. A data file may now be stored as <name>.gz; info.txt, metadata.csv and the release zips keep using the plain name and contents. scripts/datafiles.py resolves and reads either form for sanitychecks.py, compute_metadata.py and zipall.py.
Eight STV contests (six senators per state, two per territory), 15,871,189 ballots, converted from AEC formal preferences. The NSW, Victoria and Queensland profiles are stored gzip-compressed. Validated against stv.vote's independent conversion of the same files.
fsargent
force-pushed
the
add-aec-senate-2025-data
branch
from
November 22, 2026 12:39
49a53c4 to
af7657b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on #35 (gzip-compressed storage for large files). This branch includes that commit, and the diff becomes dataset-only once #35 merges.
Adds 8 ranked-ballot profiles from the Australian Senate election of 3 May 2025, one per state and territory, with 15,871,189 ballots. Each state elected six senators by STV, and each territory two.
The source is the AEC's Senate formal preferences, which give the preferences on every formal ballot paper. Reports for every state are on stv.vote, and the crosswalk links each profile to its report.
Each paper is read as the Commonwealth Electoral Act counts it:
Identical rankings keep their exact frequencies, and no preferences or bottom ties are added. Labels are the AEC candidate names with their group.
As plain SOI, the NSW, Victoria and Queensland profiles are 116, 106 and 96 MB, so they are stored as
.soi.gzat 6–7 MB each. They are plain.soiin the release zip. A CSV-formatted.datcrosswalk records seats, ballot, paper and below-the-line counts, stored file names, source URLs, checksums and report links.Validation:
metadata.csvis generated with the repository's script, which reads the compressed files through Allow large data files to be stored gzip-compressed #35.Proposed series 00080; publication date left blank for maintainers.