<commit_before><header class="page-header group">
  <hgroup>
    <h1>
      <span>Service</span>
      Trade Tariff
    </h1>
    <p class="tariff-date <%= @section_css %>">This tariff is for <%= @tariff_date.date.to_formatted_s(:rfc822) %> <a href="#date-filter">change date</a></p>
  </hgroup>
</header>
<%= form_for @search, method: :get, url: perform_search_path, html: { class: "tariff-search #{@section_css}"  } do |f| %>
    <a data-skip-pjax href="/sections">View all sections</a>
    <%= f.label :q, "Search the tariff" %>
    <%= f.text_field :q, required: false, 
                size: 21,
                placeholder: "name/commodity code"  %>
    <%= f.hidden_field :as_of %>
 
    <%= f.button 'Search', class: 'button right' %>
<% end %><commit_msg>header should use the path helper as it needs the namespace<commit_after><header class="page-header group">
  <hgroup>
    <h1>
      <span>Service</span>
      Trade Tariff
    </h1>
    <p class="tariff-date <%= @section_css %>">This tariff is for <%= @tariff_date.date.to_formatted_s(:rfc822) %> <a href="#date-filter">change date</a></p>
  </hgroup>
</header>
<%= form_for @search, method: :get, url: perform_search_path, html: { class: "tariff-search #{@section_css}"  } do |f| %>
    <a data-skip-pjax href="<%= sections_path%>">View all sections</a>
    <%= f.label :q, "Search the tariff" %>
    <%= f.text_field :q, required: false, 
                size: 21,
                placeholder: "name/commodity code"  %>
    <%= f.hidden_field :as_of %>
 
    <%= f.button 'Search', class: 'button right' %>
<% end %>
{'fraction_non_alphanumeric': 0.1893939393939394, 'fraction_numerical': 0.008838383838383838, 'mean_word_length': 3.2042440318302385, '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': '4019545', 'n_tokens_mistral': 609, 'n_tokens_neox': 556, 'n_words': 133}