<commit_before><ol class="button-list skills">
  <%= for skill <- @user_skills do %>
    <li>
      <span style="max-width: 85%; word-wrap: break-word;">
        <%= link Skill.resolve_name(skill.skill_id), to: user_user_skill_path(@conn, :show, @user, skill) %>
        <em>
          <%= if Enum.count(skill.endorsements) == 1 do %>
          <%= Enum.count(skill.endorsements) %> <%= gettext "upvote" %>
          <% end %>
          <%= if Enum.count(skill.endorsements) > 1 do %>
          <%= Enum.count(skill.endorsements) %> <%= gettext "upvotes" %>
          <% end %>
        </em>
      </span>
      <div class="button button--icon button-list">
      <%= if @current_user do %>
        <%= if Vutuv.Endorsement.skill_endorsed?(skill.id, @current_user_id) do %>
          <%= button to: user_endorsement_path(@conn, :delete, @user, skill), method: :delete , class: "button button--icon", form: [class: "button button--icon"] do %>
            <i class="icon icon--upvote-remove"></i>
          <% end %>
        <%= else %>
          <%= button to: user_endorsement_path(@conn, :create, @user, id: skill), method: :post , class: "button button--icon", form: [class: "button button--icon"] do %>
            <i class="icon icon--upvote"></i>
          <% end %>
        <%= end %>
        <%= if same_user?(@user, @current_user) do %>
        <%= button to: user_user_skill_path(@conn, :delete, @user, skill), method: :delete, class: "button button--icon", form: [class: "button button--icon"] do %>
        <i class="icon icon--delete"></i>
        <% end %>
        <% end %>
      <% end %>
      </div>
      <hr style="width: <%= (Enum.count(skill.endorsements)+1)/(Enum.count(hd(@user_skills).endorsements)+1)*100 %>%" />
    </li>
  <% end %>
</ol>
<commit_msg>s/skill/user_skill/g (skill as a var name was misleading)<commit_after><ol class="button-list skills">
  <%= for user_skill <- @user_skills do %>
    <li>
      <span style="max-width: 85%; word-wrap: break-word;">
        <%= link Skill.resolve_name(user_skill.skill_id), to: user_user_skill_path(@conn, :show, @user, user_skill) %>
        <em>
          <%= if Enum.count(user_skill.endorsements) == 1 do %>
          <%= Enum.count(user_skill.endorsements) %> <%= gettext "upvote" %>
          <% end %>
          <%= if Enum.count(user_skill.endorsements) > 1 do %>
          <%= Enum.count(user_skill.endorsements) %> <%= gettext "upvotes" %>
          <% end %>
        </em>
      </span>
      <div class="button button--icon button-list">
      <%= if @current_user do %>
        <%= if Vutuv.Endorsement.skill_endorsed?(user_skill.id, @current_user_id) do %>
          <%= button to: user_endorsement_path(@conn, :delete, @user, user_skill), method: :delete , class: "button button--icon", form: [class: "button button--icon"] do %>
            <i class="icon icon--upvote-remove"></i>
          <% end %>
        <%= else %>
          <%= button to: user_endorsement_path(@conn, :create, @user, id: user_skill), method: :post , class: "button button--icon", form: [class: "button button--icon"] do %>
            <i class="icon icon--upvote"></i>
          <% end %>
        <%= end %>
        <%= if same_user?(@user, @current_user) do %>
        <%= button to: user_user_skill_path(@conn, :delete, @user, user_skill), method: :delete, class: "button button--icon", form: [class: "button button--icon"] do %>
        <i class="icon icon--delete"></i>
        <% end %>
        <% end %>
      <% end %>
      </div>
      <hr style="width: <%= (Enum.count(user_skill.endorsements)+1)/(Enum.count(hd(@user_skills).endorsements)+1)*100 %>%" />
    </li>
  <% end %>
</ol>

{'fraction_non_alphanumeric': 0.19852539595849264, 'fraction_numerical': 0.004915346805024577, 'mean_word_length': 2.6088669950738916, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 89, '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': '1074246', 'n_tokens_mistral': 1323, 'n_tokens_neox': 1228, 'n_words': 259}