<commit_before><% content_for :page_title, [@document.title, @document.format_name].join(' ') %>
<header>
  <div class="inner-block">
    <span class="category"><%= @document.format_name %></span>
    <h1><%= @document.title %></h1>
  </div>
  <div class="metadata">
    <dl class="inner-block">
      <% @document.date_metadata.each do |label, date|%>
        <dt><%= label %>:</dt>
        <dd><%= nice_date_format(date) %></dd>
      <% end %>

      <%= render partial: 'metadata', locals: { document: @document } %>
    </dl>
  </div>
  <div class='summary'>
    <div class='inner-block'>
      <p>
        <%= @document.summary %>
      </p>
    </div>
  </div>
</header>

<nav class="sidebar">
  <ol class="inner-block js-stick-at-top-when-scrolling">
    <%= render 'nav_item', headings: @document.headers %>
  </ol>
</nav>

<div class="content">
  <div class="inner-block">
    <div class="govspeak"><commit_msg>Link back to Finder from format name<commit_after><% content_for :page_title, [@document.title, @document.format_name].join(' ') %>
<header>
  <div class="inner-block">
    <span class="category"><%= link_to @document.format_name, @document.finder_path %></span>
    <h1><%= @document.title %></h1>
  </div>
  <div class="metadata">
    <dl class="inner-block">
      <% @document.date_metadata.each do |label, date|%>
        <dt><%= label %>:</dt>
        <dd><%= nice_date_format(date) %></dd>
      <% end %>

      <%= render partial: 'metadata', locals: { document: @document } %>
    </dl>
  </div>
  <div class='summary'>
    <div class='inner-block'>
      <p>
        <%= @document.summary %>
      </p>
    </div>
  </div>
</header>

<nav class="sidebar">
  <ol class="inner-block js-stick-at-top-when-scrolling">
    <%= render 'nav_item', headings: @document.headers %>
  </ol>
</nav>

<div class="content">
  <div class="inner-block">
    <div class="govspeak">
{'fraction_non_alphanumeric': 0.2209915611814346, 'fraction_numerical': 0.002109704641350211, 'mean_word_length': 3.2725225225225225, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, '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': '3621112', 'n_tokens_mistral': 697, 'n_tokens_neox': 662, 'n_words': 139}