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

Relocate numeric HitResult values, add accuracy conversion #25993

Merged
merged 4 commits into from
Dec 21, 2023

Conversation

smoogipoo
Copy link
Contributor

  • Judgement.NumericResultFor()/Judgement.ToNumericResult() et al. have been removed.
  • ScoreProcessor. GetNumericResultFor()/ScoreProcessor.GetMaxNumericResultFor() removed.
  • virtual ScoreProcessor.GetBaseScoreForResult(HitResult) added as the new method to retrieve the raw scoring values.
  • StandardisedScoreMigrationTools.ConvertFromLegacyTotalScore() made private.
  • StandardisedScoreMigrationTools.UpdateFromLegacy() added, which converts totalscore and (now) accuracy.
    • This is something that was previously being done manually inside the highscore importer, but the in-client import didn't do this which felt inconsistent.

@smoogipoo
Copy link
Contributor Author

!diffcalc

GENERATORS=score
RULESET=taiko
SCORE_PROCESSOR_B=ppy/osu-queue-score-statistics#189

@smoogipoo
Copy link
Contributor Author

!diffcalc

GENERATORS=score
RULESET=osu
SCORE_PROCESSOR_B=ppy/osu-queue-score-statistics#189

Copy link

github-actions bot commented Dec 21, 2023

Copy link

github-actions bot commented Dec 21, 2023

@peppy peppy added the next release Pull requests which are almost there. We'll aim to get them in the next release, but no guarantees! label Dec 21, 2023
@bdach
Copy link
Collaborator

bdach commented Dec 21, 2023

Source looks generally good, but I do want to do some follow-up tests here still.

Copy link
Collaborator

@bdach bdach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me

@bdach bdach merged commit 7e9d12e into ppy:master Dec 21, 2023
9 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:scoring next release Pull requests which are almost there. We'll aim to get them in the next release, but no guarantees! size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants