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

appliedStatsTotal returns incorrect team_score when score is changed by commissioner #403

Closed
bberk opened this issue Nov 12, 2022 · 1 comment · Fixed by #411
Closed

Comments

@bberk
Copy link

bberk commented Nov 12, 2022

Sport

Football

Summary

When the commissioner manually changes the score of a team, the previous score is returned by the BoxScore class.
box_score.py#L39 should be updated to be team_score =data[team]['totalPoints']

Logs/Data

The value being used to populate team_score: data[team]['rosterForCurrentScoringPeriod']['appliedStatTotal'] = 195.15999999999997
The field with the correct value:
data[team]['totalPoints'] = 203.26

@cwendt94
Copy link
Owner

Thanks for reporting this bug, I will check it out!

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 a pull request may close this issue.

2 participants