<commit_before><section class="corporate-information" id="corporate-info">
  <div class="inner-block">
    <h1 class="keyline-header">Corporate information</h1>

    <div class="corporate-information-block">
      <nav class="group sub_navigation" role="navigation">
        <ul>
          <% organisation.corporate_information_pages.by_menu_heading(:our_information).each do |corporate_information_page| %>
            <li><%= link_to corporate_information_page.title, [organisation, corporate_information_page] %></li>
          <% end %>
          <li><a href="https://www.gov.uk/make-a-freedom-of-information-request/the-freedom-of-information-act">How to make an FOI request</a></li>
        </ul>
      </nav>
    </div>
    <div class="corporate-information-block">
      <h2>Jobs and contracts</h2>
      <nav class="group sub_navigation" role="navigation">
        <ul>
          <% organisation.corporate_information_pages.by_menu_heading(:jobs_and_contracts).each do |corporate_information_page| %>
            <li><%= link_to corporate_information_page.title, [organisation, corporate_information_page]%></li>
          <% end %>
          <li><a href="https://jobsstatic.civilservice.gov.uk/csjobs.html" rel="external">Jobs</a></li>
        </ul>
      </nav>
    </div>
    <p class="information">
      <% if organisation.corporate_information_pages.for_slug("publication-scheme").present? %>
        Read about the types of information we routinely publish in our
        <%= link_to "Publication Scheme", [organisation, organisation.corporate_information_pages.for_slug("publication-scheme")] %>.
      <% end %>
      <% if organisation.corporate_information_pages.for_slug("welsh-language-scheme").present? %>
        Find out about our commitment to publishing in the
        <%= link_to "Welsh language", [organisation, corporate_information_pages.for_slug("welsh-language-scheme")] %>.
      <% end %>
      <% if organisation.corporate_information_pages.for_slug("personal-information-charter").present? %>
        Our <%= link_to "Personal information charter ", [organisation, organisation.corporate_information_pages.for_slug("personal-information-charter")] %>
        explains how we treat your personal information.
      <% end %>
    </p>
  </div>
</section><commit_msg>Fix up corporate info pages for worldwide orgs<commit_after><section class="corporate-information" id="corporate-info">
  <div class="inner-block">
    <h1 class="keyline-header">Corporate information</h1>

    <div class="corporate-information-block">
      <nav class="group sub_navigation" role="navigation">
        <ul>
          <% organisation.corporate_information_pages.by_menu_heading(:our_information).each do |corporate_information_page| %>
            <li><%= link_to corporate_information_page.title, [organisation, corporate_information_page] %></li>
          <% end %>

          <% organisation.corporate_information_pages.by_menu_heading(:jobs_and_contracts).each do |corporate_information_page| %>
            <li><%= link_to corporate_information_page.title, [organisation, corporate_information_page]%></li>
          <% end %>
        </ul>
      </nav>
    </div>
    <p class="information">
      <% if organisation.corporate_information_pages.for_slug("publication-scheme").present? %>
        Read about the types of information we routinely publish in our
        <%= link_to "Publication Scheme", [organisation, organisation.corporate_information_pages.for_slug("publication-scheme")] %>.
      <% end %>
      <% if organisation.corporate_information_pages.for_slug("welsh-language-scheme").present? %>
        Find out about our commitment to publishing in the
        <%= link_to "Welsh language", [organisation, organisation.corporate_information_pages.for_slug("welsh-language-scheme")] %>.
      <% end %>
      <% if organisation.corporate_information_pages.for_slug("personal-information-charter").present? %>
        Our <%= link_to "Personal information charter ", [organisation, organisation.corporate_information_pages.for_slug("personal-information-charter")] %>
        explains how we treat your personal information.
      <% end %>
    </p>
  </div>
</section>
{'fraction_non_alphanumeric': 0.13477537437603992, 'fraction_numerical': 0.0014261944378416924, 'mean_word_length': 3.8312284730195176, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 85, 'https://': 2, 'lorem ipsum': 0, 'www.': 1, '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': '6345784', 'n_tokens_mistral': 1263, 'n_tokens_neox': 1180, 'n_words': 219}