<commit_before><header>
  <div class="logo">
    <%= link_to Cambium.configuration.app_title, cambium.admin_dashboard_path %>
  </div>

  <div class="user dropdown-container">
    <%= link_to('#', :class => 'dropdown-trigger') do %>
      <%= content_tag(
        :span,
        current_user.name.blank? ? current_user.email : current_user.name,
        :class => 'name'
      ) %>
      <%= avatar(current_user, 84) %>
    <% end %>
    <div class="dropdown-menu">
      <ul>
        <%= content_tag(
          :li,
          link_to(
            'Edit Profile',
            cambium.edit_admin_user_path(current_user)
          )
        ) %>
        <%= content_tag(
          :li,
          link_to(
            'Sign Out',
            main_app.destroy_user_session_path,
          )
        ) %>
      </ul>
    </div>
  </div>

  <div class="search-box">
    <form action="<%= cambium.admin_search_path %>">
      <input type="text" name="q" placeholder="search ...">
    </form>
  </div>

</header><commit_msg>use delete method for sign out link<commit_after><header>
  <div class="logo">
    <%= link_to Cambium.configuration.app_title, cambium.admin_dashboard_path %>
  </div>

  <div class="user dropdown-container">
    <%= link_to('#', :class => 'dropdown-trigger') do %>
      <%= content_tag(
        :span,
        current_user.name.blank? ? current_user.email : current_user.name,
        :class => 'name'
      ) %>
      <%= avatar(current_user, 84) %>
    <% end %>
    <div class="dropdown-menu">
      <ul>
        <li>
          <%= link_to 'Edit Profile',
                      cambium.edit_admin_user_path(current_user) %>
        </li>
        <li>
          <%= link_to 'Sign Out', main_app.destroy_user_session_path,
                      :method => :delete %>
        </li>
      </ul>
    </div>
  </div>

  <div class="search-box">
    <form action="<%= cambium.admin_search_path %>">
      <input type="text" name="q" placeholder="search ...">
    </form>
  </div>

</header>
{'fraction_non_alphanumeric': 0.16957605985037408, 'fraction_numerical': 0.00199501246882793, 'mean_word_length': 2.067278287461774, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 58, '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': '918777', 'n_tokens_mistral': 697, 'n_tokens_neox': 652, 'n_words': 115}