<commit_before><ul class="grid rows-<%= @dashboard.rows %> cols-<%= @dashboard.columns %>" id="<%= @dashboard.slug %>">
  <% @dashboard.metrics.each do |metric| %>
    <li class="row-<%= metric[:row] %> col-<%= metric[:col] %> height-<%= metric[:height] || 1 %> width-<%= metric[:width] || 1 %>">
      <div style="postition: relative">
        <iframe src='/metrics/<%= metric[:name] %>?layout=bare&boxcolour=<%= metric[:boxcolour] %>&textcolour=<%= metric[:textcolour] %><%= metric[:visualisation].blank? ? '' : "&type=#{metric[:visualisation]}" %>'
                width='100%'
                height='100%'
                frameBorder='0'
                scrolling='no'>
        </iframe>
      </div>
    </li>
  <% end %>
</ul><commit_msg>Add date ranges to template<commit_after><ul class="grid rows-<%= @dashboard.rows %> cols-<%= @dashboard.columns %>" id="<%= @dashboard.slug %>">
  <% @dashboard.metrics.each do |metric| %>
    <li class="row-<%= metric[:row] %> col-<%= metric[:col] %> height-<%= metric[:height] || 1 %> width-<%= metric[:width] || 1 %>">
      <div style="postition: relative">
        <iframe src='/metrics/<%= metric[:name] %>/<%= metric[:date] || '*/*' %>?layout=bare&boxcolour=<%= metric[:boxcolour] %>&textcolour=<%= metric[:textcolour] %><%= metric[:visualisation].blank? ? '' : "&type=#{metric[:visualisation]}" %>'
                width='100%'
                height='100%'
                frameBorder='0'
                scrolling='no'>
        </iframe>
      </div>
    </li>
  <% end %>
</ul>
{'fraction_non_alphanumeric': 0.2516297262059974, 'fraction_numerical': 0.011734028683181226, 'mean_word_length': 3.0933333333333333, 'pattern_counts': {'":': 0, '<': 46, '<?xml version=': 0, '>': 46, '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': '1855364', 'n_tokens_mistral': 568, 'n_tokens_neox': 495, 'n_words': 90}