<% score = experiment.calculate_score %> <% score.alts.each do |alt| %> "> <% if experiment.active? && respond_to?(:url_for) %> <% end %> <% end %>
<%= experiment.conclusion(score).join(" ") %>
<%= alt.name.gsub(/^o/, "O") %>: <%=vanity_h alt.value.to_s %> <%= I18n.t 'vanity.participants', :count=>alt.participants %> <%= I18n.t 'vanity.converted', :count=>alt.converted %> <%= "%.1f%%" % [alt.conversion_rate * 100] %> <%= I18n.t('vanity.best_alternative', :probabilty=>alt.probability.to_i) if score.method == :bayes_score %> <%= I18n.t('vanity.better_alternative_than', :probability=>alt.difference.to_i, :alternative=>score.least.name) if alt.difference && alt.difference >= 1 %> <% if experiment.showing?(alt) %> <%= I18n.t 'vanity.currently_shown' %> <% else %> <%= I18n.t 'vanity.show_me' %> <% end %> <% if @to_confirm == alt.id %> <%= I18n.t 'vanity.complete_and_confirm_experiment_label', :name=>alt.name %> <%= I18n.t 'vanity.confirm' %> <% else %> <%= I18n.t 'vanity.make_permanent' %> <% end %>