lib/vanity/experiment/ab_test.rb in vanity-1.9.3 vs lib/vanity/experiment/ab_test.rb in vanity-2.0.0.beta

- old
+ new

@@ -300,10 +300,10 @@ BayesianBanditScore.new(alternatives, outcome).calculate! end # Use the result of #score or #bayes_bandit_score to derive a conclusion. Returns an # array of claims. - def conclusion(score = score()) + def conclusion(score = score) claims = [] participants = score.alts.inject(0) { |t,alt| t + alt.participants } claims << case participants when 0 ; "There are no participants in this experiment yet." when 1 ; "There is one participant in this experiment."