Skip to content

Fix Issue #347: Remove wording that implies ballot chaining#348

Merged
keithrfung merged 7 commits intomainfrom
unknown repository
Mar 29, 2021
Merged

Fix Issue #347: Remove wording that implies ballot chaining#348
keithrfung merged 7 commits intomainfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Mar 24, 2021

🚨 Please review the guidelines for contributing to this repository.

Issue

Fixes issue #347

Description

Renamed get_rotating_ballot_code to get_ballot_code and previous_code to code_seed

@ghost
Copy link
Copy Markdown

ghost commented Mar 24, 2021

CLA assistant check
All CLA requirements met.

@ghost
Copy link
Copy Markdown
Author

ghost commented Mar 24, 2021

PTAL

Copy link
Copy Markdown
Contributor

@keithrfung keithrfung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow. Great work! Only a couple of changes which should be pretty light.

Comment thread src/electionguard/ballot.py Outdated
:param contests: List of contests for this ballot
:param timestamp: Timestamp at which the ballot encryption is generated in tick
:param previous_code: Previous ballot code or seed
:param code_seed: Previous ballot code or seed
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The descriptions should be changed as well. This one should be Seed for ballot code

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alright

Comment thread src/electionguard/ballot.py Outdated
@@ -877,9 +877,7 @@ def make_ciphertext_ballot(
if previous_ballot_code is None:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This linen should also be code_seed.

I would do a search for previous_ballot_code

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry overlooked those

@keithrfung
Copy link
Copy Markdown
Contributor

Apologies for the late review. Been one of those weeks

@ghost ghost requested a review from keithrfung March 25, 2021 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove wording that implies ballot chaining

1 participant