<commit_before><fieldset>
  <legend>User details</legend>
  <p>
    <b><%= link_to 'Gravatar', 'http://gravatar.com/', target: '_blank' %>:</b>
    <%= gravatar_tag @user %>
  </p>
  <p>
    <b>E-mail:</b>
    <%= @user.email %>
  </p>

  <p>
    <b>Name:</b>
    <%= @user.name %>
  </p>

  <p>
    <b>Timezone:</b>
    <%= @user.time_zone %>
  </p>

  <p>
    <b>Signed NDA:</b>
    <% if @user.nda_signed_date? %>
        <%= l @user.nda_signed_date %>
    <% elsif @user.permitted_to? :nda %>
        <%= link_to "Review NDA", nda_user_path(@user), remote: true, id: 'review_nda' %>
    <% else has_role?(:unverified) %>
        Verify your email account first. <%= link_to 'Resend Confirmation', confirm_user_path(@user), method: :post, remote: true %>
    <% end %>
  </p>

  <% if @user.developer.present? %>
    <p>
      <b>Developer at:</b>
      <%= developer_link(@user.developer) %>
    </p>
  <% end %>

  <% permitted_to? :update_roles, @user do %>
      <p>
        <b>Roles:</b>
        <%= role_titles(@user.role_symbols).join(', ') %>
      </p>
  <% end %>
<commit_msg>small tweak to user show page<commit_after><fieldset>
  <legend>User details</legend>
  <p>
    <b><%= link_to 'Gravatar', 'http://gravatar.com/', target: '_blank' %>:</b>
    <%= gravatar_tag @user %>
  </p>
  <p>
    <b>E-mail:</b>
    <%= @user.email %>
  </p>

  <p>
    <b>Name:</b>
    <%= @user.name %>
  </p>

  <p>
    <b>Timezone:</b>
    <%= @user.time_zone %>
  </p>

  <p>
    <b>Signed NDA:</b>
    <% if @user.nda_signed_date? %>
        <%= l @user.nda_signed_date %>
    <% elsif @user.permitted_to? :nda %>
        <%= link_to "Review NDA", nda_user_path(@user), remote: true, id: 'review_nda' %>
    <% else @user.role_symbols.include?(:unverified) %>
        Verify your email account first. <%= link_to 'Resend Confirmation', confirm_user_path(@user), method: :post, remote: true %>
    <% end %>
  </p>

  <% if @user.developer.present? %>
    <p>
      <b>Developer at:</b>
      <%= developer_link(@user.developer) %>
    </p>
  <% end %>

  <% permitted_to? :update_roles, @user do %>
      <p>
        <b>Roles:</b>
        <%= role_titles(@user.role_symbols).join(', ') %>
      </p>
  <% end %>

{'fraction_non_alphanumeric': 0.22739602169981918, 'fraction_numerical': 0.0, 'mean_word_length': 2.5925324675324677, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 101, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5873745', 'n_tokens_mistral': 979, 'n_tokens_neox': 883, 'n_words': 161}