<commit_before><!DOCTYPE html>
<html>
  <head>
    <title><%= content_for?(:title) ? yield(:title) : "Trade Tariff | GOV.UK" %></title>
    <%= stylesheet_link_tag 'application' %>
    <%= stylesheet_link_tag 'tariff-print', media: 'print' %>

    <%= csrf_meta_tags %>
    <%= javascript_include_tag 'application', defer: true %>
    <%= yield :section_meta_tags %>
    <meta name="x-section-name" content="Business" />
    <meta name="x-section-link" content="/browse/business" />
    <meta name="x-section-format" content="trade-tariff" />

    <%= yield :head %>
  </head>
  <body class="mainstream">
    <div id="wrapper" class="tariff service">
      <section id="content" role="main" class="group">
        <%= render 'shared/header' %>

        <div id="pjax-container" class="article-container group">
          <%= yield %>
        </div>
            <%= form_for @tariff_date, method: :get, url: '', html: { class: 'date-filter-search related-module', id: 'date-filter' } do |f| %>
              <p>This tariff is for
              <%= f.label :day, 'Day', { :class => 'visuallyhidden' }  %>
              <%= select_day(f.object.date, {}, { :id => 'tariff_date_day' }) %>
              <%= f.label :month, 'Month', { :class => 'visuallyhidden' }  %>
              <%= select_month(f.object.date, {}, { :id => 'tariff_date_month' }) %>
              <%= f.label :year, 'Year', { :class => 'visuallyhidden' }  %>
              <%= select_year(f.object.date, {}, { :id => 'tariff_date_year' }) %>
              <%= f.button 'Change date', name: nil,  class: 'btn button right' %>
              </p>
            <% end %>
            <div class="related-module">
              <address class="vcard">
                <a class="fn org url" href="http://customs.hmrc.gov.uk/channelsPortalWebApp/channelsPortalWebApp.portal?_nfpb=true&amp;_pageLabel=pageVAT_ShowContent&amp;id=HMCE_CL_001640&amp;propertyType=document" target="_blank" rel="external">
                  Tariff classification service
                </a>
                <a href="tel:+441702366077" class="tel">01702 366 077</a>
              </address>
              <address class="vcard">
                <a class="fn org url" href="http://search2.hmrc.gov.uk/kb5/hmrc/contactus/view.page?record=dMVkEC6liWE" target="_blank" rel="external">
                  HMRC VAT, Excise and Customs Helpline
                </a>
                <a href="tel:+448450109000" class="tel">0845 010 9000</a>
              </address>
          </div>
      </section>
    </div>
  </body>
</html><commit_msg>year select range<commit_after><!DOCTYPE html>
<html>
  <head>
    <title><%= content_for?(:title) ? yield(:title) : "Trade Tariff | GOV.UK" %></title>
    <%= stylesheet_link_tag 'application' %>
    <%= stylesheet_link_tag 'tariff-print', media: 'print' %>

    <%= csrf_meta_tags %>
    <%= javascript_include_tag 'application', defer: true %>
    <%= yield :section_meta_tags %>
    <meta name="x-section-name" content="Business" />
    <meta name="x-section-link" content="/browse/business" />
    <meta name="x-section-format" content="trade-tariff" />

    <%= yield :head %>
  </head>
  <body class="mainstream">
    <div id="wrapper" class="tariff service">
      <section id="content" role="main" class="group">
        <%= render 'shared/header' %>

        <div id="pjax-container" class="article-container group">
          <%= yield %>
        </div>
            <%= form_for @tariff_date, method: :get, url: '', html: { class: 'date-filter-search related-module', id: 'date-filter' } do |f| %>
              <p>This tariff is for
              <%= f.label :day, 'Day', { class: 'visuallyhidden' }  %>
              <%= select_day(f.object.date, {}, { id: 'tariff_date_day' }) %>
              <%= f.label :month, 'Month', { class: 'visuallyhidden' }  %>
              <%= select_month(f.object.date, {}, { id: 'tariff_date_month' }) %>
              <%= f.label :year, 'Year', { class: 'visuallyhidden' }  %>
              <%= select_year(f.object.date, {end_year: (Date.today - 15.years).year, start_year: Date.today.year }, { id: 'tariff_date_year' }) %>
              <%= f.button 'Change date', name: nil,  class: 'btn button right' %>
              </p>
            <% end %>
            <div class="related-module">
              <address class="vcard">
                <a class="fn org url" href="http://customs.hmrc.gov.uk/channelsPortalWebApp/channelsPortalWebApp.portal?_nfpb=true&amp;_pageLabel=pageVAT_ShowContent&amp;id=HMCE_CL_001640&amp;propertyType=document" target="_blank" rel="external">
                  Tariff classification service
                </a>
                <a href="tel:+441702366077" class="tel">01702 366 077</a>
              </address>
              <address class="vcard">
                <a class="fn org url" href="http://search2.hmrc.gov.uk/kb5/hmrc/contactus/view.page?record=dMVkEC6liWE" target="_blank" rel="external">
                  HMRC VAT, Excise and Customs Helpline
                </a>
                <a href="tel:+448450109000" class="tel">0845 010 9000</a>
              </address>
          </div>
      </section>
    </div>
  </body>
</html>
{'fraction_non_alphanumeric': 0.17927441142416056, 'fraction_numerical': 0.021613276727132383, 'mean_word_length': 2.43017868960953, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 113, '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': '2541659', 'n_tokens_mistral': 1858, 'n_tokens_neox': 1668, 'n_words': 314}