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

Implement a bunch of rhythm difficulty calculation fixes #28871

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

stanriders
Copy link
Member

This PR addresses a couple of rhythm evaluation issues in osu!:

  1. Removes island length size bonus completely
  2. Heavily nerf repeated islands (https://www.desmos.com/calculator/poxy4s3yng)
  3. Changes delta difference comparisons to use hitwindow-based epsilon

Comment on lines +134 to +145
if (islandCounts.ContainsKey(island))
{
islandCounts[island]++;

// repeated island (ex: triplet -> triplet)
double power = Math.Max(0.75, logistic(island.AverageDelta(), 3, 0.15, 9));
effectiveRatio *= Math.Pow(1.0 / islandCounts[island], power);
}
else
{
islandCounts.Add(island, 1);
}
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

replace with a TryAdd

Comment on lines +138 to +140
// repeated island (ex: triplet -> triplet)
double power = Math.Max(0.75, logistic(island.AverageDelta(), 3, 0.15, 9));
effectiveRatio *= Math.Pow(1.0 / islandCounts[island], power);
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

we might want to scale this harsher since the common offenders of island repetition aren't really nerfed as much as I'd like

@smoogipoo
Copy link
Contributor

!diffcalc

Copy link

github-actions bot commented Jul 16, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

None yet

3 participants