<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/vanity/report.erb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -57,6 +57,19 @@ module Vanity
         }) }
       end
 
+      def report
+        results = measure
+        alts = (0...@alternatives.count).map { |i|
+          alt = @alternatives[i]
+          &quot;&lt;dt&gt;Option #{(65 + i).chr}&lt;/dt&gt;&lt;dd&gt;&lt;code&gt;#{CGI.escape_html @alternatives[i].inspect}&lt;/code&gt; viewed #{results[alt][:participants]} times, converted #{results[alt][:conversions]}&lt;dd&gt;&quot;
+        }
+        %{&lt;dl class=&quot;data&quot;&gt;#{alts.join}&lt;/dl&gt;}
+      end
+
+      def humanize
+        &quot;A/B Test&quot; 
+      end
+
       def save #:nodoc:
         fail &quot;Experiment #{name} needs at least two alternatives&quot; unless @alternatives &amp;&amp; @alternatives.size &gt;= 2
         super</diff>
      <filename>lib/vanity/experiment/ab_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -37,12 +37,12 @@ module Vanity
         @description
       end
 
-      # Called to save the experiment definition.
-      def save #:nodoc:
+      def report
+        fail &quot;Implement me&quot;
       end
 
-      def type
-        self.class.name.split(&quot;::&quot;).last.gsub(/([a-z])([A-Z])/) { &quot;#{$1}_#{$2}&quot; }.gsub(/([A-Z])([A-Z][a-z])/) { &quot;#{$1}_#{$2}&quot; }.downcase
+      # Called to save the experiment definition.
+      def save #:nodoc:
       end
 
     protected</diff>
      <filename>lib/vanity/experiment/base.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>99af2d50692c8f5de90496a95c4cdcde53f5f951</id>
    </parent>
  </parents>
  <author>
    <name>Assaf Arkin</name>
    <email>assaf@labnotes.org</email>
  </author>
  <url>http://github.com/assaf/vanity/commit/6508a77e16737675de0fd1c1fde5426b409e7cf8</url>
  <id>6508a77e16737675de0fd1c1fde5426b409e7cf8</id>
  <committed-date>2009-11-06T18:18:30-08:00</committed-date>
  <authored-date>2009-11-06T18:18:30-08:00</authored-date>
  <message>Tinkering with experiment reports.</message>
  <tree>451bc10e08267cad8b97338827b8becc36c71891</tree>
  <committer>
    <name>Assaf Arkin</name>
    <email>assaf@labnotes.org</email>
  </committer>
</commit>
