1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-05 02:53:21 +08:00

Compare commits

..

2 Commits

Author SHA1 Message Date
Jay Lawton
4b97e572be
Merge de82718421 into f09d8f097a 2024-12-03 05:17:44 -08:00
Jay Lawton
de82718421 adjust ghw deviation 2024-12-03 23:17:27 +10:00

View File

@ -156,7 +156,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty
double n = totalHits;
// Proportion of greats + goods hit.
double p = totalSuccessfulHits / n;
double p = Math.Max(0, totalSuccessfulHits - 0.1 * h100) / n;
// We can be 99% confident that p is at least this value.
double pLowerBound = (n * p + z * z / 2) / (n + z * z) - z / (n + z * z) * Math.Sqrt(n * p * (1 - p) + z * z / 4);