Sha256: 7633d8a7d4b3d1183bdc9e2471e5c80948403e03981458808ce70ad651a85a1a
Contents?: true
Size: 872 Bytes
Versions: 4
Compression:
Stored size: 872 Bytes
Contents
%a{:name => "group_stats"} %h2 Experiment Statistics - @dailies.group_by(&:group_name).each do |group_name, group| .group %fieldset %legend= group_name %table %tr %th Alternative %th Views %th Conversions %th Value %th Value per Conv %th Weight - group.group_by(&:alternative).sort.each do |alternative_name, alternative_data| %tr %td.name= alternative_name %td.views= alternative_data.sum_it(:views) %td.conversions= alternative_data.sum_it(:conversions) %td.value= alternative_data.sum_it(:conversion_value) %td.norm= ("%0.2f" % (alternative_data.sum_it(:conversion_value).to_f / alternative_data.sum_it(:conversions).to_f)) %td.weight %b= get_weight(group_name, alternative_name)
Version data entries
4 entries across 4 versions & 1 rubygems