<commit_before><% unless scope_map.empty? %>
  <ul class="nav nav-tabs">
    <% scope_map.each do |name, options| %>
      <li class="<%= "active" if params[:scope] == name.to_s %>">
        <%= link_to godmin_translate("scopes.#{name.to_s.underscore}", default: name.to_s.titleize), url_for(params.merge(scope: name).except(:page)) %>
      </li>
    <% end %>
  </ul>
  <!-- TODO: remove this br -->
  <br>
<% end %><commit_msg>Only generate path url for scopes<commit_after><% unless scope_map.empty? %>
  <ul class="nav nav-tabs">
    <% scope_map.each do |name, options| %>
      <li class="<%= "active" if params[:scope] == name.to_s %>">
        <%= link_to godmin_translate("scopes.#{name.to_s.underscore}", default: name.to_s.titleize), url_for(params.merge(scope: name, only_path: true).except(:page)) %>
      </li>
    <% end %>
  </ul>
  <!-- TODO: remove this br -->
  <br>
<% end %>
{'fraction_non_alphanumeric': 0.2140468227424749, 'fraction_numerical': 0.0, 'mean_word_length': 3.49, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '6634936', 'n_tokens_mistral': 342, 'n_tokens_neox': 320, 'n_words': 69}