<commit_before><h2>Cohort Reports</h2>

<%= form_for @metric_search, :url => cohortly_reports_path, :html =>
{:method => :get} do |f| %>
  <%= render :partial => 'cohortly/metrics/tags' %>
  <%= f.submit 'Get Report'%>
<% end %>


<table class="one-column-emphasis">
  <colgroup>
    <col class="oce-first">
  </colgroup>
  <thead>
    <tr>
      <th>Month</th>
      <th>N</th>
      <% 12.times do |month| %>
        <th>M<%= month + 1 %></th>
      <% end %>
    </tr>
  </thead>
  <% @report.month_cohorts.each do |cohort_key| %>
    <tr class="<%= cycle('odd', 'even') %>">
      <td><%= cohort_key %></td>
      <% @report.percent_line(cohort_key)[0,13].each do |val| %>
        <td style="text-align: right;"><%= val %></td>
      <% end %>
    </tr>
  <% end %>
</table>
<%= @report.data %>
<commit_msg>getting rid of print statement<commit_after><h2>Cohort Reports</h2>

<%= form_for @metric_search, :url => cohortly_reports_path, :html =>
{:method => :get} do |f| %>
  <%= render :partial => 'cohortly/metrics/tags' %>
  <%= f.submit 'Get Report'%>
<% end %>


<table class="one-column-emphasis">
  <colgroup>
    <col class="oce-first">
  </colgroup>
  <thead>
    <tr>
      <th>Month</th>
      <th>N</th>
      <% 12.times do |month| %>
        <th>M<%= month + 1 %></th>
      <% end %>
    </tr>
  </thead>
  <% @report.month_cohorts.each do |cohort_key| %>
    <tr class="<%= cycle('odd', 'even') %>">
      <td><%= cohort_key %></td>
      <% @report.percent_line(cohort_key)[0,13].each do |val| %>
        <td style="text-align: right;"><%= val %></td>
      <% end %>
    </tr>
  <% end %>
</table>

{'fraction_non_alphanumeric': 0.24397776405188387, 'fraction_numerical': 0.009882643607164917, 'mean_word_length': 2.8663484486873507, 'pattern_counts': {'":': 0, '<': 78, '<?xml version=': 0, '>': 86, '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': '6069924', 'n_tokens_mistral': 720, 'n_tokens_neox': 630, 'n_words': 125}