-
Notifications
You must be signed in to change notification settings - Fork 36
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
oppai result doesnt match osu api #66
Comments
yeah it's normal, it's not expected to be 1:1 accurate, just close enough. we don't do slider calculations at all |
Ah i see. I guess i'll figure out something with peppys calculator then. Is it reasonable to have something like a precision mode in later versions? |
the slider calculations add so much complexity and code and makes the calculation slower it isn't worth it in my opinion. I used to have them but removed. I dont think even the official calculator based on lazer is 100% accurate. you need the exact aim/speed star ratings used by bancho and then you can plug them into the pp formula and get 1:1 pp values |
Looking through the code at https://github.com/ppy/osu/blob/master/osu.Game.Rulesets.Osu/Difficulty/ and plugging in the right star values for the play i mentioned at the beginning i get a value that is consistent with the one returned by the api. |
the expensive part is calculating the star rating itself, which is an order of magnitude slower if you do slider calculations. when you plug the star values you are skipping that part there also have been some slight changes to the pp formula recently which I haven't added to oppai, so that could be the reason it doesn't match osu!lazer perfectly |
Trying to reproduce the pp value of this score on 1955170
using
curl https://osu.ppy.sh/osu/1955170 | ./oppai - 509x 8x100
returns a value of 271.59 pp which doesnt match the returned 272.347pp
when calling https://osu.ppy.sh/api/v2/users/{userid}/scores/best.
Version is 3.3.0-b237
The text was updated successfully, but these errors were encountered: