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 stamina consideration for Mono (single-coloured) patterns. #30460

Merged
merged 8 commits into from
Nov 4, 2024

Conversation

Lawtrohux
Copy link
Member

Upon the release of the most recent rework, stamina has once again been reworked with a fix for certain mapsets that contain stupidly high bpm, single coloured patterns out of the scope of the assumed concepts behind the stamina system.

  • Introduces a monoStaminaFactor that essentially outputs a percentage of single-color (mono) patterns within a map. This factor is used to adjust the difficulty where mono patterns are identified by strain to be the only difficulty of the map (e.g., maps like StrangeProgram have a 100% monoStaminaFactor).
  • Scaling now reflects this value, factoring in the monoStaminaFactor to penalise mono-heavy maps performance side.
  • Flashlight bonus multiplier is also now scaled by this attribute, if monoStaminaFactor is of a high value, less of a bonus will be applied
  • Moved the isConvert bool outside of difficulty value only, and disables the specific global mod bonuses pertaining to converts.
  • Easy has been given a harsher penalty, to adjust to the new statistical accuracy changes.

The design is that maps without this very specific consideration are mostly unaffected, meaning that regular mapsets should see no change, returning either a very low value of monoStamina, or for most, a total value of 0.

Some examples of scores that are changed by this directly are:
Halti's StrangeProgram score
Live: 1410.7
Rework: 860.2
Change: -550.5

Ney's Alive score
Live: 1123.8
Rework: 823.5
Change: -300.3

Ney's Mad Machine score
Live: 843.2
Rework: 663.1
Change: -180.1

Full credits to @Natelytle for the concepts of this fix.

@tsunyoku tsunyoku requested a review from a team October 31, 2024 09:51
@ppy ppy deleted a comment from github-actions bot Oct 31, 2024
@ppy ppy deleted a comment from github-actions bot Oct 31, 2024
@ppy ppy deleted a comment from github-actions bot Oct 31, 2024
@ppy ppy deleted a comment from github-actions bot Oct 31, 2024
@ppy ppy deleted a comment from github-actions bot Oct 31, 2024
@ppy ppy deleted a comment from github-actions bot Nov 1, 2024
@ppy ppy deleted a comment from github-actions bot Nov 1, 2024
@ppy ppy deleted a comment from github-actions bot Nov 1, 2024
@ppy ppy deleted a comment from github-actions bot Nov 1, 2024
@ppy ppy deleted a comment from github-actions bot Nov 1, 2024
@smoogipoo
Copy link
Contributor

NaN value generated on https://osu.ppy.sh/beatmapsets/717343#osu/1537214 :

ruleset: taiko

╔════════════════════════════════════════════════════════════╤═══════════╤═════════╤══════════════════╤═══════════════════╤═════════════════╤═════════════════╤═══════════════╤════════════════╤═════════════╗
║beatmap                                                     │star rating│max combo│stamina difficulty│mono stamina factor│rhythm difficulty│colour difficulty│peak difficulty│great hit window│ok hit window║
╟────────────────────────────────────────────────────────────┼───────────┼─────────┼──────────────────┼───────────────────┼─────────────────┼─────────────────┼───────────────┼────────────────┼─────────────╢
║1537214 - Kizuna AI - FUCK YOU! (Kawashiro) [Moa's Beginner]│       0.21│     3.00│              0.00│                NaN│             0.00│             0.12│           0.12│           45.50│       108.00║
╚════════════════════════════════════════════════════════════╧═══════════╧═════════╧══════════════════╧═══════════════════╧═════════════════╧═════════════════╧═══════════════╧════════════════╧═════════════╝

@smoogipoo
Copy link
Contributor

Have applied my own fix to the NaN values so I can have a good state for spreadsheet gen. Feel free to adjust as necessary.

!diffcalc
RULESET=taiko

Copy link

github-actions bot commented Nov 1, 2024

@Natelytle
Copy link
Contributor

The fix is good, just an oversight on my part.

@smoogipoo
Copy link
Contributor

smoogipoo commented Nov 3, 2024

@tsunyoku @peppy how do you two feel about this? Personally I don't think it's too much, but it is more than just a hotfix.

It needs:

  • A new DB attribute (29).
  • A diffcalc rerun (taiko).
  • A ppcalc rerun (taiko).

The other option is my alternative PR (#30456) which restores older code and is easier to digest as a "hotfix", but that will still require diffcalc + ppcalc reruns.

@tsunyoku
Copy link
Member

tsunyoku commented Nov 3, 2024

Given #30456 (comment), I think there's an interest in pushing your convert PR as well as this.

I agree that this is definitely more than a hotfix, however taiko is going to require a full rerun regardless (as mentioned) so I'm not necessarily concerned about that as the changes are simple enough. I can't imagine this causing further issues as this can only nerf values, and we're not introducing an entirely new skill or anything like that.

All things considered, I think this should be fine.

The alternative would be deploying smoogi's hotfix immediately, and then later bringing in this one when things are more settled. However, I'm not convinced this is going to be particularly useful as it will require monitoring another deploy just for a relatively small fix and these 2 changes combined are likely to produce more satisfactory values. We're probably better pushing both changes or nothing in my opinion, unless this change is rejected by the taiko committee for unrelated reasons (which I don't see happening).

@peppy
Copy link
Member

peppy commented Nov 4, 2024

Hmm, let's get this in and run a recalc, then see what people are saying.

@peppy
Copy link
Member

peppy commented Nov 4, 2024

@tsunyoku can you confirm that @smoogipoo 's change should also be merged in for release, by your intuition?

@tsunyoku
Copy link
Member

tsunyoku commented Nov 4, 2024

@peppy yes, smoogi's fix should be included

@peppy peppy merged commit c99c82a into ppy:master Nov 4, 2024
8 of 13 checks passed
Lawtrohux added a commit to Lawtrohux/osu-wiki that referenced this pull request Nov 4, 2024
Adds the recent changes (ppy/osu#30460) to the newspost.
@Lawtrohux Lawtrohux deleted the t-speed-deviation branch November 22, 2024 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Deployed
Development

Successfully merging this pull request may close these issues.

6 participants