mirror of
https://github.com/ppy/osu.git
synced 2024-12-05 09:42:54 +08:00
adjust ghw deviation
This commit is contained in:
parent
4206325304
commit
de82718421
@ -156,7 +156,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty
|
|||||||
double n = totalHits;
|
double n = totalHits;
|
||||||
|
|
||||||
// Proportion of greats + goods hit.
|
// 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.
|
// 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);
|
double pLowerBound = (n * p + z * z / 2) / (n + z * z) - z / (n + z * z) * Math.Sqrt(n * p * (1 - p) + z * z / 4);
|
||||||
|
Loading…
Reference in New Issue
Block a user