<commit_before><div>
  <h1 style="margin-bottom: 0px; "><%= params[:id] %></h1>
  <h2 style="margin-top: 0px; "><%=h @all_columns.inspect %></h2>
  
  <% @columns.each_with_index do |col, index| %>
  <table id="dataTable<%= index %>" summary="<%=h col %>">
  	<caption><%=h col %></caption>
    <thead>
    <% @top_values[col][0..0].each do |hash| %>
      <tr>
  			<td>weeks ago</td>
  			<% (0..@max_cols).to_a.reverse.each do |val| %>
  			<th id="<%= col %>_<%= val %>"><%= val %></th>
  		  <% end %>
      </tr>
    <% end %>
    </thead>
  	<tbody>
    <% @top_values[col].each do |hash| %>
      <tr>
  			<th headers="members"><%=h hash.keys.first || 'nil' %></th>
  			<% (0..@max_cols).to_a.reverse.each do |val| %>
  			<td headers="<%= col %>_<%= val %>"><%=h hash.values.first[val.to_s] || 0 %></td>
  		  <% end %>
      </tr>
    <% end %>
  	</tbody>
  </table>
	<% unless @top_values[col].empty? %>
    <div width="200" height="200" style="display: block; float: left; ">
    <canvas id="chart<%= index %>0" 
        class="fgCharting_src-dataTable<%= index %>_type-additiveBar" 
        width="200" height="200"></canvas>
    </div>
    <div width="200" height="200" style="display: block; float: left; ">
    <canvas id="chart<%= index %>0" 
        class="fgCharting_src-dataTable<%= index %>_type-line" 
        width="200" height="200"></canvas>
    </div>
    <div width="200" height="200" style="display: block; float: left; ">
    <canvas id="chart<%= index %>1" 
        class="fgCharting_src-dataTable<%= index %>_type-pie" 
        width="200" height="200"></canvas>
    </div>    
    <br style="clear: both; " class="clearfix" />
  <% end %>
  <% end %>
</div><commit_msg>Don't show a pie chart for the _total_ graph.<commit_after><div>
  <h1 style="margin-bottom: 0px; "><%= params[:id] %></h1>
  <h2 style="margin-top: 0px; "><%=h @all_columns.inspect %></h2>
  
  <% @columns.each_with_index do |col, index| %>
  <table id="dataTable<%= index %>" summary="<%=h col %>">
  	<caption><%=h col %></caption>
    <thead>
    <% @top_values[col][0..0].each do |hash| %>
      <tr>
  			<td>weeks ago</td>
  			<% (0..@max_cols).to_a.reverse.each do |val| %>
  			<th id="<%= col %>_<%= val %>"><%= val %></th>
  		  <% end %>
      </tr>
    <% end %>
    </thead>
  	<tbody>
    <% @top_values[col].each do |hash| %>
      <tr>
  			<th headers="members"><%=h hash.keys.first || 'nil' %></th>
  			<% (0..@max_cols).to_a.reverse.each do |val| %>
  			<td headers="<%= col %>_<%= val %>"><%=h hash.values.first[val.to_s] || 0 %></td>
  		  <% end %>
      </tr>
    <% end %>
  	</tbody>
  </table>
	<% unless @top_values[col].empty? %>
    <div width="200" height="200" style="display: block; float: left; ">
    <canvas id="chart<%= index %>0" 
        class="fgCharting_src-dataTable<%= index %>_type-additiveBar" 
        width="200" height="200"></canvas>
    </div>
    <div width="200" height="200" style="display: block; float: left; ">
    <canvas id="chart<%= index %>0" 
        class="fgCharting_src-dataTable<%= index %>_type-line" 
        width="200" height="200"></canvas>
    </div>
    <% unless col == '_total_' %>
      <div width="200" height="200" style="display: block; float: left; ">
      <canvas id="chart<%= index %>1"
          class="fgCharting_src-dataTable<%= index %>_type-pie"
          width="200" height="200"></canvas>
      </div>
    <% end %>
    <br style="clear: both; " class="clearfix" />
  <% end %>
  <% end %>
</div>
{'fraction_non_alphanumeric': 0.24398625429553264, 'fraction_numerical': 0.0286368843069874, 'mean_word_length': 2.9115341545352744, 'pattern_counts': {'":': 0, '<': 143, '<?xml version=': 0, '>': 143, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7180911', 'n_tokens_mistral': 1521, 'n_tokens_neox': 1317, 'n_words': 271}