<commit_before><% 
  account = @context && (@context.is_a?(Account) ? @context : @context.account)
  managed_accounts = @user.associated_root_accounts.active.select{|a| can_do(a, @current_user, :manage_admin_users) }
  can_manage_admin_users = managed_accounts
  account ||= managed_accounts.first
  root_account = account.root_account || account if account
  can_manage_user_logins = @user.associated_root_accounts.active.any?{|a| can_do(a, @current_user, :manage_user_logins) } 
%>
<% jammit_js :user_name %>
  <fieldset id="name_and_email">
    <legend>Name and Email</legend>
    <table class="profile_table details user_details">
      <tr>
        <th>Full Name:</th>
        <td class="name"><%=h @user.name %></td>
      </tr>
      <tr>
        <th>Display Name:</th>
        <td class="short_name"><%=h @user.short_name %></td>
      </tr>
      <% if service_enabled?(:avatars) %>
        <tr>
          <th>Profile Picture:</th>
          <td>
            <span class="avatar_image">
              <img src="<%= @user.avatar_url(50, @domain_root_account && @domain_root_account.settings[:avatars], "http://#{request.host_with_port}/images/dotted_pic.png") %>"/>
            </span>
            <% if can_do(@user, @current_user, :remove_avatar) %>
              <a href="<%= update_avatar_image_url(@user.id) %>" class="remove_avatar_picture_link">Remove avatar picture</a><commit_msg>set protocol correctly for dotted pic<commit_after><% 
  account = @context && (@context.is_a?(Account) ? @context : @context.account)
  managed_accounts = @user.associated_root_accounts.active.select{|a| can_do(a, @current_user, :manage_admin_users) }
  can_manage_admin_users = managed_accounts
  account ||= managed_accounts.first
  root_account = account.root_account || account if account
  can_manage_user_logins = @user.associated_root_accounts.active.any?{|a| can_do(a, @current_user, :manage_user_logins) } 
%>
<% jammit_js :user_name %>
  <fieldset id="name_and_email">
    <legend>Name and Email</legend>
    <table class="profile_table details user_details">
      <tr>
        <th>Full Name:</th>
        <td class="name"><%=h @user.name %></td>
      </tr>
      <tr>
        <th>Display Name:</th>
        <td class="short_name"><%=h @user.short_name %></td>
      </tr>
      <% if service_enabled?(:avatars) %>
        <tr>
          <th>Profile Picture:</th>
          <td>
            <span class="avatar_image">
              <img src="<%= @user.avatar_url(50, @domain_root_account && @domain_root_account.settings[:avatars], "#{request.protocol}#{request.host_with_port}/images/dotted_pic.png") %>"/>
            </span>
            <% if can_do(@user, @current_user, :remove_avatar) %>
              <a href="<%= update_avatar_image_url(@user.id) %>" class="remove_avatar_picture_link">Remove avatar picture</a>
{'fraction_non_alphanumeric': 0.16219081272084807, 'fraction_numerical': 0.0014134275618374558, 'mean_word_length': 3.5587761674718195, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '5875089', 'n_tokens_mistral': 997, 'n_tokens_neox': 945, 'n_words': 158}