Election-Tech-Initiative / electionguard-cpp

A C++ implementation of ElectionGuard specification focused on encryption components.
https://www.electionguard.vote/
MIT License
23 stars 26 forks source link

🐞 Votes_allowed Default value #311

Closed SteveMaier-IRT closed 2 years ago

SteveMaier-IRT commented 2 years ago

Is there an existing issue for this?

Current Behavior

By default, for an n_of_m election the votes_allowed field should be equal to the number_elected and not defaulting to 1. This should be a 1-to-1 value if we are doing an n_of_m or 1_of_m vote variation.

Expected Behavior

For n_of_m elections, the votes_allowed should be equal to the number_elected field.

Steps To Reproduce

No response

Environment

- OS:

Anything else?

No response