diff --git a/app/models/user.rb b/app/models/user.rb index 1e23021..36facb7 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -90,7 +90,7 @@ def required_score_for_threshold(threshold) return 0 if p == 1 && a >= threshold return nil if p == 1 && a < threshold - ((threshold - (a * p)) / (1 - p)) + (threshold - a) / (1 - p) end def pinned_modules