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

Increase accscalingshift and include countok in hit proportion #31195

Merged
merged 4 commits into from
Dec 19, 2024

Conversation

Lawtrohux
Copy link
Member

@Lawtrohux Lawtrohux commented Dec 19, 2024

Previously, accuracy scaling (mainly affecting the lower end) was set to 300, decreasing values for mid-range players. In response for accuracy not being weighted as highly in the lower OD's, this has been increased to better align with previous values.

Similarly, feedback from the community indicated that the variance in % of accuracy corresponding to accuracy PP values across different OD's was minimal, this has been tweaked to included a countok factor to the proportion of greats + goods hit.

Old: double p = totalSuccessfulHits / n;
New: double p = Math.Max(0, totalSuccessfulHits - 0.0005 * countOk) / n;

Also shuffles around the order of variables, for easier readability of what is actually being returned. This includes moving the null check into the return line.

@tsunyoku tsunyoku requested a review from a team December 19, 2024 11:13
Copy link
Member

@BabySnakes101 BabySnakes101 left a comment

Choose a reason for hiding this comment

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

Looks good, was tested in huismetbenen.

@tsunyoku tsunyoku enabled auto-merge (squash) December 19, 2024 14:05
@tsunyoku tsunyoku merged commit ecd6b41 into ppy:pp-dev Dec 19, 2024
8 checks passed
@Lawtrohux Lawtrohux deleted the acc-scaling-shift branch December 19, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Pending Deploy
Development

Successfully merging this pull request may close these issues.

3 participants