Skip to content

Make Ok adjustment formula more stable#37263

Open
Givikap120 wants to merge 3 commits intoppy:pp-devfrom
Givikap120:fix-ok-adjustment-formula
Open

Make Ok adjustment formula more stable#37263
Givikap120 wants to merge 3 commits intoppy:pp-devfrom
Givikap120:fix-ok-adjustment-formula

Conversation

@Givikap120
Copy link
Copy Markdown
Contributor

Current formula can output drastically different values on simlar countOk / estimatedSliderBreaks amounts.
For example if countOk is 10, then changing estimatedSliderBreaks from 9 to 10 is gonna change okAdjustment from 0.15 to 0.05, what is a 3 times lower resulting "estimated sliderbreaks" value.

This PR is fixing that in the most simple way - by increasing the buffer constants, so very small variables won't skew the result as much.

@tsunyoku
Copy link
Copy Markdown
Member

!diffcalc
RULESET=osu
OSU_A=https://github.com/ppy/osu/tree/pp-dev
OSU_B=#37263

@github-actions
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Pending Review

Development

Successfully merging this pull request may close these issues.

2 participants