<commit_before><section id="content" role="main" class="group ancillary section-page">
  <header>
    <h1>Browse GOV.UK</h1>
  </header>

  <div class="browse-sections">
    <dl>
      <% @results.each do |section| %>
        <dt>
          <a href="<%= section.path %>"><%=h formatted_section_name section.slug %></a>
        </dt>
        <dd>
          <%= include section.slug %>
        </dd>
      <% end %>
    </dl>
  </div>
</section><commit_msg>Add JSON link for browse into header<commit_after><section id="content" role="main" class="group ancillary section-page">
  <header>
    <h1>Browse GOV.UK</h1>
  </header>

  <div class="browse-sections">
    <dl>
      <% @results.each do |section| %>
        <dt>
          <a href="<%= section.path %>"><%=h formatted_section_name section.slug %></a>
        </dt>
        <dd>
          <%= include section.slug %>
        </dd>
      <% end %>
    </dl>
  </div>
</section>

<% content_for :head do %>
  <link rel="alternate" type="text/javascript" href="/browse.json">
<% end %>
{'fraction_non_alphanumeric': 0.1973051010587103, 'fraction_numerical': 0.0038498556304138597, 'mean_word_length': 2.4551495016611296, 'pattern_counts': {'":': 0, '<': 48, '<?xml version=': 0, '>': 48, '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': '7014561', 'n_tokens_mistral': 386, 'n_tokens_neox': 357, 'n_words': 79}