🐞 When serializing decrypted spoiled ballots, placeholder selections should be removed #521
Open
1 task done
Labels
bug
Something isn't working
Is there an existing issue for this?
Current Behavior
in election_record/spoiled_ballots/spoiled_ballot_<ballot_id>.json, decrypted spoiled ballots still contain placeholder selections.
this is likely confusing for people examining spoiled ballots to verify they are correctly decrypted.
this causes validation 12.B ("An election verifier should also confirm that for each decrypted spoiled ballot, the selections
listed in text match the corresponding text in the ballot coding file.") to fail, eg:
Expected Behavior
placeholder selections should not appear in decrypted spoiled ballots
Steps To Reproduce
run TestEndToEndElection
examine election_record/spoiled_ballots/spoiled_ballot_<ballot_id>.json
Environment
Anything else?
In decrypt_with_shares.py, skip any placeholder selection:
The text was updated successfully, but these errors were encountered: