% experiments.each do |experiment| %>
<%= experiment.description %>
<% end %> <% experiment.goals.each do |goal| %> <% results = experiment.results(goal: goal) %> <% if experiment.multiple_goals? %>Variant | Participants | Conversions | Conversion Rate | Prob Winning |
---|---|---|---|---|
<%= variant %> <% if variant == experiment.winner %> ✓ <% end %> | <%= result[:participated] %> | <%= result[:converted] %> | <% if result[:conversion_rate] %> <%= (100.0 * result[:conversion_rate]).round %>% <% else %> - <% end %> | <% if result[:prob_winning] %> <% if result[:prob_winning] < 0.01 %> < 1% <% else %> <%= (100.0 * result[:prob_winning]).round %>% <% end %> <% end %> |