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

Handle zero object maps by defaulting acc to 100% #14

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

Syriiin
Copy link
Owner

@Syriiin Syriiin commented Jun 7, 2024

Why?

Currently this results in a NaN due to the division by zero.
100% was chosen instead of 0% as this is consistent with how the new osu site handles such cases.
For example https://osu.ppy.sh/beatmapsets/371675#taiko/814198

Changes

  • Default to 100% accuracy if a score has zero objects

@Syriiin Syriiin merged commit ce281bd into master Jun 7, 2024
3 checks passed
@Syriiin Syriiin deleted the handle-zero-object-maps branch June 7, 2024 09:53
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.

1 participant