GetOrDefault()
I don't think there's any reason difficulty calculators shouldn't be able to calculate for autoplays.
Ranked
IsUserPlayable
The bonus value for HD is given twice here (probably a merge issue). The correct bonus is currently used on stable: https://github.com/ppy/osu-performance/blob/736515a0347ba909d5ac303df7051b600f6655be/src/performance/catch/CatchScore.cpp#L68
# Conflicts: # osu.Game.Rulesets.Catch/Difficulty/CatchPerformanceCalculator.cs
MathF-functions are faster than the Math-counterpart and it looks cleaner, so use MathF when we cast to float or int anyway.
(Backported from https://github.com/ppy/osu-performance/compare/master...smoogipoo:sorcerer-catch-changes)
Co-Authored-By: HoLLy-HaCKeR <HoLLy-HaCKeR@users.noreply.github.com>