Election-Tech-Initiative / Election-Tech-Initiative/electionguard-core2
🐞 Vote Totals Might be Incorrect on Admin Display
- Dominant language
- C#
- Stars
- 14
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Current Behavior
When creating a viewing a tally, the total number of ballots is used to determine the percentage that each candidate gets and is also used to calculate the undervotes. This could lead to a higher number of total ballots being reported for that contest and have lower percentages being displayed.
### Expected Behavior
The number of ballots that need to be used is the number of ballots that use the ballot style that contains the contest being calculated for.
### Steps To Reproduce
_No response_
### Environment
```markdown
- OS:
```
### Anything else?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.