Skip to content

feat: add checked_* methods#73

Merged
MaxOhn merged 1 commit into
nextfrom
checked_calc
Apr 6, 2026
Merged

feat: add checked_* methods#73
MaxOhn merged 1 commit into
nextfrom
checked_calc

Conversation

@MaxOhn

@MaxOhn MaxOhn commented Apr 6, 2026

Copy link
Copy Markdown
Owner

Adds various checked_* methods which do the same job but also verify beforehand that the used beatmap is not too suspicious for further calculation.

The hope is that it makes it a bit more convenient for users to check suspicion.

Added methods:

  • GradualDifficulty::checked_new
  • Difficulty::{checked_calculate, checked_calculate_for_mode}
  • GradualPerformance::checked_new
  • Performance::{checked_calculate, checked_generate_state}
  • {Catch, Mania, Osu, Taiko}GradualDifficulty::checked_new
  • {Catch, Mania, Osu, Taiko}GradualPerformance::checked_new
  • {Catch, Mania, Osu, Taiko}Performance::{checked_new, checked_generate_state}
  • IGameMode::checked_difficulty

@MaxOhn MaxOhn merged commit a5c40c8 into next Apr 6, 2026
4 checks passed
@MaxOhn MaxOhn deleted the checked_calc branch April 6, 2026 18:06
@MaxOhn MaxOhn mentioned this pull request Apr 6, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant