| Index: scripts/slave/recipe_modules/math_utils/api.py
|
| diff --git a/scripts/slave/recipe_modules/math_utils/api.py b/scripts/slave/recipe_modules/math_utils/api.py
|
| index fa31575f63f98b13b5b1d394deb93dc762efe527..d0063b19d15e8a40b8736b07b9a218d240cf0655 100644
|
| --- a/scripts/slave/recipe_modules/math_utils/api.py
|
| +++ b/scripts/slave/recipe_modules/math_utils/api.py
|
| @@ -8,6 +8,7 @@ import math
|
|
|
| from slave import recipe_api
|
|
|
| +
|
| class MathUtilsApi(recipe_api.RecipeApi):
|
|
|
| @staticmethod
|
| @@ -138,7 +139,7 @@ class MathUtilsApi(recipe_api.RecipeApi):
|
| #Copied this from BisectResults
|
| @staticmethod
|
| def confidence_score(sample1, sample2,
|
| - accept_single_bad_or_good=False):
|
| + accept_single_bad_or_good=False):
|
| """Calculates a confidence score.
|
|
|
| This score is a percentage which represents our degree of confidence in the
|
| @@ -251,7 +252,6 @@ class MathUtilsApi(recipe_api.RecipeApi):
|
| (v2 ** 2) / ((n2 ** 2) * (n2 - 1))))
|
| return max(1, df)
|
|
|
| -
|
| # Below is a hard-coded table for looking up p-values.
|
| #
|
| # Normally, p-values are calculated based on the t-distribution formula.
|
|
|