<% experiments.each do |experiment| %>

<%= experiment.name %> <% if experiment.active? && experiment.closed? %>Closed<% end %> <%= link_to "Details", experiment_path(experiment.id) %>

<% if experiment.description %>

<%= experiment.description %>

<% end %> <% experiment.goals.each do |goal| %> <% results = experiment.results(goal: goal) %> <% if experiment.multiple_goals? %>

<%= goal.titleize %>

<% end %> <% results.each do |variant, result| %> <% end %>
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(FieldTest.precision) %>% <% else %> - <% end %> <% if result[:prob_winning] %> <% if result[:prob_winning] < 0.01 %> < 1% <% else %> <%= (100.0 * result[:prob_winning]).round(FieldTest.precision) %>% <% end %> <% end %>
<% end %> <% end %>