<commit_before><h2 class="supporting">Results</h2>

<article class="incident-index-results" id="results">

</article>

<h1 class="incident-index-results-description">
  <strong class="query-count"><%= @incidents.total_count %></strong>

  <% if params[:incident_type] %>
  <strong class="type">
    <%= params[:incident_type] %>
  </strong>
  <% end %>

  incident reports

  <% if params[:by_detailed_report] %>
    with attatched <strong>Incident Detail Reports</strong>
  <% end %>

  <% if @location_name %>
    from <strong class="location"><%= @location_name %></strong>
  <% end %>

  between

  <strong class="start-date">
    <%= @start_date.strftime("%d %b %Y") %>
  </strong>

  and

  <strong class="end-date">
    <%=@end_date.strftime("%d %b %Y") %>.
  </strong>
</h1>

<section class="incident-index-results-reference">
  <%= link_to "Permalink", params, class: 'incident-index-permalink', title: 'url to share or bookmark these results' %>

  <!-- <a class="incident-index-order-by" href="" title="Reorder the filter results, currently sorted by newest first, to see the oldest incident first.">See oldest first</a> -->
    <!-- <div class="pagination-details"><%=  page_entries_info @incidents %></div>
    <%= paginate @incidents %> -->
  </section><commit_msg>add pagination to the results block<commit_after><h2 class="supporting">Results</h2>

<article class="incident-index-results" id="results">

</article>

<h1 class="incident-index-results-description">
  <strong class="query-count"><%= @incidents.total_count %></strong>

  <% if params[:incident_type] %>
  <strong class="type">
    <%= params[:incident_type] %>
  </strong>
  <% end %>

  incident reports

  <% if params[:by_detailed_report] %>
    with attatched <strong>Incident Detail Reports</strong>
  <% end %>

  <% if @location_name %>
    from <strong class="location"><%= @location_name %></strong>
  <% end %>

  between

  <strong class="start-date">
    <%= @start_date.strftime("%d %b %Y") %>
  </strong>

  and

  <strong class="end-date">
    <%=@end_date.strftime("%d %b %Y") %>.
  </strong>
</h1>

<section class="incident-index-results-reference">
  <%= link_to "Permalink", params, class: 'incident-index-permalink', title: 'url to share or bookmark these results' %>

  <!-- <a class="incident-index-order-by" href="" title="Reorder the filter results, currently sorted by newest first, to see the oldest incident first.">See oldest first</a> -->
    <nav class="pagination">
      <p class="pagination-details">
        <%=  page_entries_info @incidents %>
      </p>
      <%= paginate @incidents %>
    </nav>
  </section>
{'fraction_non_alphanumeric': 0.1891891891891892, 'fraction_numerical': 0.0030452988199467074, 'mean_word_length': 4.11284046692607, 'pattern_counts': {'":': 0, '<': 84, '<?xml version=': 0, '>': 84, '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': '358910', 'n_tokens_mistral': 930, 'n_tokens_neox': 856, 'n_words': 197}