<commit_before><li class="search-profile-item">
  <% if @empty_query or @results.size > 1 or !profile.enterprise?  %>
    <%= profile_image_link profile, :portrait, 'div' %>
  <% else %>
    <div class="search-enterprise-item">
      <div class="search-enterprise-item-column-left">
        <%= profile_image_link profile, :portrait, 'div' %>
      </div>
      <div class="search-enterprise-item-column-right">
        <%= link_to_homepage(profile.name, profile.identifier, :class => "search-result-title") %>
        <div class="search-enterprise-description">
          <% if profile.description %>
            <% body_stripped = strip_tags(profile.description) %>
          <% elsif profile.home_page and profile.home_page.body %>
            <% body_stripped = strip_tags(profile.home_page.body) %>
          <% end %>
          <%= excerpt(body_stripped, body_stripped.first(3), 200) if body_stripped %>
        </div>
        <div class="search-enterprise-region">
          <span class="search-enterprise-region-label"><%= _("City") %></span>
          <% if profile.region %>
            <span class="search-enterprise-region-name"><%= city_with_state(profile.region) %></span>
          <% else %>
          <% end %>
        </div>
        <% if !profile.description.blank? %>
          <div><%= profile.description %></div><br />
        <% end %>

        <div class="search-enterprise-categorization">
          <% profile.top_level_categorization.each do |parent, children| %>
            <div class="search-enterprise-category-<%=parent.id%> search-enterprise-category">
              <span class="search-enterprise-categorization-parent"><%= parent.name %></span>
              <span class="search-enterprise-categorization-children"><%= children.collect(&:name).join(', ')  %></span>
            </div>
          <% end %>
        </div>
      </div>
      <hr class="clearfix" />
    </div>
  <% end %>
</li><commit_msg>Removed territory facet from Enterprise search view<commit_after><li class="search-profile-item">
  <% if @empty_query or @results.size > 1 or !profile.enterprise?  %>
    <%= profile_image_link profile, :portrait, 'div' %>
  <% else %>
    <div class="search-enterprise-item">
      <div class="search-enterprise-item-column-left">
        <%= profile_image_link profile, :portrait, 'div' %>
      </div>
      <div class="search-enterprise-item-column-right">
        <%= link_to_homepage(profile.name, profile.identifier, :class => "search-result-title") %>
        <div class="search-enterprise-description">
          <% if profile.description %>
            <% body_stripped = strip_tags(profile.description) %>
          <% elsif profile.home_page and profile.home_page.body %>
            <% body_stripped = strip_tags(profile.home_page.body) %>
          <% end %>
          <%= excerpt(body_stripped, body_stripped.first(3), 200) if body_stripped %>
        </div>
        <div class="search-enterprise-region">
          <span class="search-enterprise-region-label"><%= _("City") %></span>
          <% if profile.region %>
            <span class="search-enterprise-region-name"><%= city_with_state(profile.region) %></span>
          <% end %>
        </div>
        <% if !profile.description.blank? %>
          <div><%= profile.description %></div><br />
        <% end %>

        <div class="search-enterprise-categorization">
          <% profile.top_level_categorization.each do |parent, children| %>
            <% if parent.name != "Territórios" %> 
              <div class="search-enterprise-category-<%=parent.id%> search-enterprise-category">
                <span class="search-enterprise-categorization-parent"><%= parent.name %></span>
                <span class="search-enterprise-categorization-children">
                  <%= children.collect(&:name).join(', ')  %>
                </span>
              </div>
            <% end %>
          <% end %>
        </div>
      </div>
      <hr class="clearfix" />
    </div>
  <% end %>
</li>
{'fraction_non_alphanumeric': 0.17123629112662014, 'fraction_numerical': 0.0024925224327018943, 'mean_word_length': 2.462467644521139, 'pattern_counts': {'":': 0, '<': 110, '<?xml version=': 0, '>': 114, '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': '3843768', 'n_tokens_mistral': 1279, 'n_tokens_neox': 1179, 'n_words': 198}