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

feat: improve generate hitresults #23

Merged
merged 17 commits into from
Nov 10, 2023
Merged

feat: improve generate hitresults #23

merged 17 commits into from
Nov 10, 2023

Conversation

MaxOhn
Copy link
Owner

@MaxOhn MaxOhn commented Nov 3, 2023

Albeit extremely performant, osu-tools' hitresult generation does not always generate the most accurate result w.r.t. to given accuracy.
This PR re-implements hitresult generation by utilizing an optimized brute-force to get a result that matches the accuracy as close as possible. This comes to the detriment of performance.
It also adds the method {Mode}PP::generate_state to provide the score state that will be used in performance calculation.

@MaxOhn MaxOhn changed the base branch from main to next November 3, 2023 13:39
@MaxOhn MaxOhn merged commit 5456be3 into next Nov 10, 2023
6 checks passed
@MaxOhn MaxOhn deleted the improve-hitresults branch November 10, 2023 14:13
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