Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #304 from arthurxaud/fix-typo-ab-test-template
Browse files Browse the repository at this point in the history
Fix typo and score method name on ab test template
  • Loading branch information
phillbaker authored Sep 8, 2016
2 parents e0df160 + d65076d commit a87dccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vanity/templates/_ab_test.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<td class="value"><%= I18n.t 'vanity.converted', :count=>alt.converted %></td>
<td>
<%= "%.1f%%" % [alt.conversion_rate * 100] %>
<%= I18n.t('vanity.best_alternative', :probabilty=>alt.probability.to_i) if score.method == :bayes_score %>
<%= I18n.t('vanity.best_alternative', :probability=>alt.probability.to_i) if score.method == :bayes_bandit_score %>
<%= I18n.t('vanity.better_alternative_than', :probability=>alt.difference.to_i, :alternative=>score.least.name) if alt.difference && alt.difference >= 1 %>
</td>
<% if experiment.enabled? && experiment.active? && respond_to?(:url_for) %>
Expand Down

0 comments on commit a87dccc

Please sign in to comment.