Skip to content

Make Ok adjustment formula more stable#37263

Open
Givikap120 wants to merge 1 commit intoppy:pp-devfrom
Givikap120:fix-ok-adjustment-formula
Open

Make Ok adjustment formula more stable#37263
Givikap120 wants to merge 1 commit 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.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant