Skip to content

Support command line arguments in sample ballot generation #160

@rkorsak

Description

@rkorsak

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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions