The sample ballot generator at src/electionguardtest/sample_generator.py can be invoked on the command line, but is always hard-coded to a set number of ballots and spoil rate.
It would make automatic generation of sample datasets easier if we could pass in args for:
- The number of ballots to generate (default 5)
- The desired percentage of ballots to spoil (default 50)
- Whether to decrypt using all guardians, or only the required quorum (default to quorum)
The sample ballot generator at
src/electionguardtest/sample_generator.pycan be invoked on the command line, but is always hard-coded to a set number of ballots and spoil rate.It would make automatic generation of sample datasets easier if we could pass in args for: