Skip to content

Commit

Permalink
fix(judge): Return ratio of 1.0 when input metrics are equal (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
csanden authored and Michael Graff committed Nov 16, 2017
1 parent 1301a7c commit 4d56d29
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class MannWhitneyClassifier(fraction: Double=0.25, confLevel: Double=0.95, mw: M

//Check if the experiment and control data are equal
if (experiment.values.sameElements(control.values)){
return MetricClassification(Pass, None, 0.0)
return MetricClassification(Pass, None, 1.0)
}

//Perform Mann-Whitney U Test
Expand Down

0 comments on commit 4d56d29

Please sign in to comment.