Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

91 add contest info to csv #97

Merged
merged 15 commits into from
Jun 12, 2024
Merged

91 add contest info to csv #97

merged 15 commits into from
Jun 12, 2024

Conversation

vteague
Copy link
Member

@vteague vteague commented Jun 10, 2024

Added some extra contest info to the get-assertions csv:

  • winner
  • total ballots in universe
  • risk limit.
    Also added winner (as an int) and num_candidates into the RaireResultMixin solution, and
    added the total ballots in universe and risk limit into the Metadata, for the json solution.

@vteague vteague added this to the RAIRE Assertion Generator milestone Jun 10, 2024
@vteague vteague requested a review from michelleblom June 10, 2024 02:16
@vteague vteague linked an issue Jun 10, 2024 that may be closed by this pull request
@vteague
Copy link
Member Author

vteague commented Jun 10, 2024

I also reorganized the requests a bit, which actually simplifies them a lot. Rather than having a contestRequest from which both GetAssertionsRequest and GenerateAssertionsRequest inherit, I just made the ContestRequest be the thing that we use for the Generate Assertions Request. So now there are only 2 things: ContestRequest, and GetAssertionsRequest, which derives from it.

@michelleblom michelleblom merged commit 86e7d77 into main Jun 12, 2024
1 check passed
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.

Add contest info to csv
2 participants