<commit_before><% page_title @policy_topic.name, "Policy topics" %>

<div class="g4f policytopic">
  <section class="page_header icon gutter">
    <h1 class="page_title has_meta"><%= @policy_topic.name %></h1>
    <div class="meta">
      <% @policy_topic.organisations.each do |organisation| %>
        <%= link_to organisation_display_name(organisation), organisation_path(organisation), class: "organisation tag", id: dom_id(organisation) %>
      <% end %>
    </div>
  </section>
</div>

<div class="g4f policy_topic_view">
  <div class="g3">
    <div class="description">
      <%= govspeak_to_html @policy_topic.description %>
    </div>
  </div>

  <div class="g4f">
    <div class="g3f">
      <% if @featured_policies.any? %>
        <div class="related_content group<%= @featured_policies.any? ? "" : " no_featured" %>">
          <div class="priority_policies">
            <section>
              <h1 class="label">Current priorities</h1>
              <ul class="featured policies<%= @featured_policies.count > 6 ? " half_columns" : "" %>">
                <% @featured_policies.each do |policy| %>
                    <%= content_tag_for :li, policy, class: "featured_policy" do %>
                    <h2 class="article_title"><%= link_to policy.title, public_document_path(policy), title: "View #{policy.title}", class: "title" %></h2>
                    <p class="summary"><%= policy.summary %>&hellip;</p>
                  <% end %>
                <% end %>
              </ul>
            </section>
          </div>
        </div>
      <% end %>

      <div class="g3f collection last">
        <% if @policies.any? %>
          <div class="all_policies">
            <%= render partial: "documents/policies", object: @policies, locals: {title: "What we're doing"} %>
          </div>
        <% else %>
          <div class="g1">
            <%= render partial: "exemplars" %>
          </div>
        <% end %>
      </div>
    </div>

    <div class="g1">
      <%= render partial: "documents/recently_changed_documents", object: @recently_changed_documents[0...5], locals: { title: "Latest in this topic" } %>

      <%= render partial: "related_policy_topics", object: @related_policy_topics %>
    </div>
  </div>


</div><commit_msg>Updated the text on policy topic pages to be more explicitly understandable<commit_after><% page_title @policy_topic.name, "Policy topics" %>

<div class="g4f policytopic">
  <section class="page_header icon gutter">
    <h2 class="label">Policy topic</h2>
    <h1 class="page_title has_meta"><%= @policy_topic.name %></h1>
    <div class="meta">
      <% @policy_topic.organisations.each do |organisation| %>
        <%= link_to organisation_display_name(organisation), organisation_path(organisation), class: "organisation tag", id: dom_id(organisation) %>
      <% end %>
    </div>
  </section>
</div>

<div class="g4f policy_topic_view">
  <div class="g3">
    <div class="description">
      <%= govspeak_to_html @policy_topic.description %>
    </div>
  </div>

  <div class="g4f">
    <div class="g3f">
      <% if @featured_policies.any? %>
        <div class="related_content group<%= @featured_policies.any? ? "" : " no_featured" %>">
          <div class="priority_policies">
            <section>
              <h1 class="label">Featured policies in this topic</h1>
              <ul class="featured policies<%= @featured_policies.count > 6 ? " half_columns" : "" %>">
                <% @featured_policies.each do |policy| %>
                    <%= content_tag_for :li, policy, class: "featured_policy" do %>
                    <h2 class="article_title"><%= link_to policy.title, public_document_path(policy), title: "View #{policy.title}", class: "title" %></h2>
                    <p class="summary"><%= policy.summary %>&hellip;</p>
                  <% end %>
                <% end %>
              </ul>
            </section>
          </div>
        </div>
      <% end %>

      <div class="g3f collection last">
        <% if @policies.any? %>
          <div class="all_policies">
            <%= render partial: "documents/policies", object: @policies, locals: {title: "All policies in this topic"} %>
          </div>
        <% else %>
          <div class="g1">
            <%= render partial: "exemplars" %>
          </div>
        <% end %>
      </div>
    </div>

    <div class="g1">
      <%= render partial: "documents/recently_changed_documents", object: @recently_changed_documents[0...5], locals: { title: "Latest in this topic" } %>

      <%= render partial: "related_policy_topics", object: @related_policy_topics %>
    </div>
  </div>


</div>
{'fraction_non_alphanumeric': 0.1677765843179377, 'fraction_numerical': 0.007733619763694952, 'mean_word_length': 2.5033860045146725, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 133, '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': '7303947', 'n_tokens_mistral': 1555, 'n_tokens_neox': 1450, 'n_words': 316}