<commit_before>---
layout: default
title: Interviews
---

<ul id="interviews">
  <% @items.each do |interview| %>
  <li class="h-card">
    <%= render_template('shared.interview', interview: interview) %>
  </li>
  <% end %>
</ul>

<% if @pagination && @pagination[:page_count] > 1 %>
  <nav id="paginator">
  Page <strong><%= @pagination[:current_page] %></strong> of <strong><%= @pagination[:page_count] %></strong> (<%= @pagination[:item_count] %> interview<% if @pagination[:item_count] > 1 %>s<% end %>):
  <% if @pagination[:previous_page] %><a href="<%= @pagination[:previous_page_url] %>" title="Go to page <%= @pagination[:previous_page] %> of the interviews." id="previous">Previous</a><% else %><span id="previous">Previous</span><% end %>
  /
  <% if @pagination[:next_page] %><a href="<%= @pagination[:next_page_url] %>" title="Go to page <%= @pagination[:next_page] %> of the interviews." id="next">Next</a><% else %><span id="next">Next</span><% end %>
  </nav>
<% end %><commit_msg>Use the pagination's links hash<commit_after>---
layout: default
title: Interviews
---

<ul id="interviews">
  <% @items.each do |interview| %>
  <li class="h-card">
    <%= render_template('shared.interview', interview: interview) %>
  </li>
  <% end %>
</ul>

<% if @pagination && @pagination[:page_count] > 1 %>
  <nav id="paginator">
  Page <strong><%= @pagination[:current_page] %></strong> of <strong><%= @pagination[:page_count] %></strong> (<%= @pagination[:item_count] %> interview<% if @pagination[:item_count] > 1 %>s<% end %>):
  <% if @pagination[:previous_page] %><a href="<%= @pagination[:links][:previous_page] %>" title="Go to page <%= @pagination[:previous_page] %> of the interviews." id="previous">Previous</a><% else %><span id="previous">Previous</span><% end %>
  /
  <% if @pagination[:next_page] %><a href="<%= @pagination[:links][:next_page] %>" title="Go to page <%= @pagination[:next_page] %> of the interviews." id="next">Next</a><% else %><span id="next">Next</span><% end %>
  </nav>
<% end %>
{'fraction_non_alphanumeric': 0.24480712166172106, 'fraction_numerical': 0.0019782393669634025, 'mean_word_length': 5.676567656765677, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 83, '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': '1172678', 'n_tokens_mistral': 751, 'n_tokens_neox': 684, 'n_words': 154}