<commit_before><div class="profile_sidebar sidebar" data-equalizer-watch>
  <%= gravatar_for @user, size: 180 %>
  <h3><%= @user.name %></h3>
  <h4><%= image_tag "chef-icon.png" %><%= @user.username %></h4>

  <% if @user.authorized_to_contribute? %>
    <h4><i class="fa fa-check"></i> Authorized to Contribute</h4>
  <% end %>

  <ul>
    <% if @user.company.present? %>
      <li data-tooltip class="has-tip" title="The company <%= @user.name %> associates with">
        <span class="fa fa-briefcase"></span> <%= @user.company %>
      </li>
    <% end %>

    <% if @user.twitter_username.present? %>
      <li data-tooltip class="has-tip" title="<%= posessivize(@user.name) %> Twitter Username">
        <a href="https://twitter.com/<%= @user.twitter_username %>" target="_blank"><i class="fa fa-twitter"></i> <%= @user.twitter_username %></a>
      </li>
    <% end %>

    <% @user.accounts.for(:github).each do |account| %>
      <li data-tooltip class="has-tip" title="<%= posessivize(@user.name) %> GitHub Username">
        <a href="https://github.com/<%= account.username %>" target="_blank"><i class="fa fa-github"></i> <%= account.username %></a>
      </li>
    <% end %>

    <% if @user.irc_nickname.present? %>
      <li data-tooltip class="has-tip" title="<%= posessivize(@user.name) %> IRC Nickname">
        <i class="fa fa-comment"></i> <%= @user.irc_nickname %>
      </li>
    <% end %>

    <% if @user.jira_username.present? %>
      <li data-tooltip class="has-tip" title="<%= posessivize(@user.name) %> Jira Username">
        <i class="fa fa-ticket"></i> <%= @user.jira_username %>
      </li>
    <% end %>

    <li data-tooltip class="has-tip" title="When <%= @user.name %> joined the Chef Community site">
      <i class="fa fa-clock-o"></i> Joined <%= time_ago_in_words(@user.created_at) %> ago.
    </li>
  </ul>

  <ul class="user_stats">
    <li>
      <%= link_to user_path(@user) do %>
        <h3><%= pluralized_stats(@user.owned_cookbooks.count, 'Cookbook') %></h3>
      <% end %>
    </li>
    <li>
      <%= link_to user_path(@user, tab: 'collaborates') do %>
        <h3><%= pluralized_stats(@user.collaborated_cookbooks.count, 'Collaboration') %></h3>
      <% end %>
    </li>
    <li>
      <%= link_to user_path(@user, tab: 'follows') do %>
        <h3><%= pluralized_stats(@user.followed_cookbooks.count, 'Follow') %></h3>
      <% end %>
    </li>
  </ul>

  <% if policy(@user).make_admin? %>
    <%= link_to 'Make Admin', make_admin_user_path(@user), method: 'put', class: 'button medium expand radius', rel: 'make_admin' %>
  <% elsif policy(@user).revoke_admin? %>
    <%= link_to 'Revoke Admin', revoke_admin_user_path(@user), method: 'delete', class: 'button medium expand radius', rel: 'revoke_admin' %>
  <% end %>

  <% if @user == current_user %>
    <% if params[:controller] == "profile" %>
      <%= link_to 'View Profile', @user, class: 'button medium expand radius', rel: 'view_profile' %>
    <% else %>
      <%= link_to 'Manage Profile', edit_profile_path, class: 'button medium expand radius', rel: 'manage_profile' %>
    <% end %>
  <% end %>
</div>
<commit_msg>Add space after chef icon on user profile sidebar.<commit_after><div class="profile_sidebar sidebar" data-equalizer-watch>
  <%= gravatar_for @user, size: 180 %>
  <h3><%= @user.name %></h3>
  <h4><%= image_tag "chef-icon.png" %> <%= @user.username %></h4>

  <% if @user.authorized_to_contribute? %>
    <h4><i class="fa fa-check"></i> Authorized to Contribute</h4>
  <% end %>

  <ul>
    <% if @user.company.present? %>
      <li data-tooltip class="has-tip" title="The company <%= @user.name %> associates with">
        <span class="fa fa-briefcase"></span> <%= @user.company %>
      </li>
    <% end %>

    <% if @user.twitter_username.present? %>
      <li data-tooltip class="has-tip" title="<%= posessivize(@user.name) %> Twitter Username">
        <a href="https://twitter.com/<%= @user.twitter_username %>" target="_blank"><i class="fa fa-twitter"></i> <%= @user.twitter_username %></a>
      </li>
    <% end %>

    <% @user.accounts.for(:github).each do |account| %>
      <li data-tooltip class="has-tip" title="<%= posessivize(@user.name) %> GitHub Username">
        <a href="https://github.com/<%= account.username %>" target="_blank"><i class="fa fa-github"></i> <%= account.username %></a>
      </li>
    <% end %>

    <% if @user.irc_nickname.present? %>
      <li data-tooltip class="has-tip" title="<%= posessivize(@user.name) %> IRC Nickname">
        <i class="fa fa-comment"></i> <%= @user.irc_nickname %>
      </li>
    <% end %>

    <% if @user.jira_username.present? %>
      <li data-tooltip class="has-tip" title="<%= posessivize(@user.name) %> Jira Username">
        <i class="fa fa-ticket"></i> <%= @user.jira_username %>
      </li>
    <% end %>

    <li data-tooltip class="has-tip" title="When <%= @user.name %> joined the Chef Community site">
      <i class="fa fa-clock-o"></i> Joined <%= time_ago_in_words(@user.created_at) %> ago.
    </li>
  </ul>

  <ul class="user_stats">
    <li>
      <%= link_to user_path(@user) do %>
        <h3><%= pluralized_stats(@user.owned_cookbooks.count, 'Cookbook') %></h3>
      <% end %>
    </li>
    <li>
      <%= link_to user_path(@user, tab: 'collaborates') do %>
        <h3><%= pluralized_stats(@user.collaborated_cookbooks.count, 'Collaboration') %></h3>
      <% end %>
    </li>
    <li>
      <%= link_to user_path(@user, tab: 'follows') do %>
        <h3><%= pluralized_stats(@user.followed_cookbooks.count, 'Follow') %></h3>
      <% end %>
    </li>
  </ul>

  <% if policy(@user).make_admin? %>
    <%= link_to 'Make Admin', make_admin_user_path(@user), method: 'put', class: 'button medium expand radius', rel: 'make_admin' %>
  <% elsif policy(@user).revoke_admin? %>
    <%= link_to 'Revoke Admin', revoke_admin_user_path(@user), method: 'delete', class: 'button medium expand radius', rel: 'revoke_admin' %>
  <% end %>

  <% if @user == current_user %>
    <% if params[:controller] == "profile" %>
      <%= link_to 'View Profile', @user, class: 'button medium expand radius', rel: 'view_profile' %>
    <% else %>
      <%= link_to 'Manage Profile', edit_profile_path, class: 'button medium expand radius', rel: 'manage_profile' %>
    <% end %>
  <% end %>
</div>

{'fraction_non_alphanumeric': 0.21360608943862988, 'fraction_numerical': 0.004757373929590866, 'mean_word_length': 3.334707903780069, 'pattern_counts': {'":': 0, '<': 213, '<?xml version=': 0, '>': 213, 'https://': 4, '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': '1987139', 'n_tokens_mistral': 2405, 'n_tokens_neox': 2157, 'n_words': 466}