<commit_before><% content_for :title, "User #{@user.username}" %>

<h3><%= @user.username %></h3>
<h4><%= @user.reputation %> reputation</h4>
<div class="profile-row">
  <div class="profile-module module-66">
    <h4>Questions</h4>
    <% @user.questions.each do |q| %>
      <%= render 'questions/question', :question => q if q && q.id %>
    <% end %>
  </div>
  <div class="profile-module module-33">
    <h4>Votes</h4>
    <p><%= @user.username %> has cast <%= pluralize(@user.votes.count, "vote") %></p>
    <ul>
      <li><%= @user.votes.where(:vote_type => 1).count %> up</li>
      <li><%= @user.votes.where(:vote_type => -1).count %> down</li>
      <li><%= @user.votes.where(:post_type => 'Question').count %> question</li>
      <li><%= @user.votes.where(:post_type => 'Answer').count %> answer</li>
    </ul>
  </div>
</div>
<div class="profile-row">
  <div class="profile-module module-66">
    <h4>Answers</h4>
    <% @user.answers.each do |a| %>
      <%= render 'answers/answer', :answer => a if a && a.id %>
    <% end %>
  </div>
</div>
<span class="clearfix"></span><commit_msg>fix users bug<commit_after><% content_for :title, "User #{@user.username}" %>

<h3><%= @user.username %></h3>
<h4><%= @user.reputation %> reputation</h4>
<div class="profile-row">
  <div class="profile-module module-66">
    <h4>Questions</h4>
    <% @user.questions.each do |q| %>
      <%= render 'questions/question', :question => q if q && q.id %>
    <% end %>
  </div>
  <div class="profile-module module-33">
    <h4>Votes</h4>
    <p><%= @user.username %> has cast <%= pluralize(@user.votes.count, "vote") %></p>
    <ul>
      <li><%= @user.votes.where(:vote_type => 1).count %> up</li>
      <li><%= @user.votes.where(:vote_type => -1).count %> down</li>
      <li><%= @user.votes.where(:post_type => 'Question').count %> question</li>
      <li><%= @user.votes.where(:post_type => 'Answer').count %> answer</li>
    </ul>
  </div>
</div>
<div class="profile-row">
  <div class="profile-module module-66">
    <h4>Answers</h4>
    <% @user.answers.each do |a| %>
      <%= render 'answers/answer', :answer => a if a && a.question && a.question.id %>
    <% end %>
  </div>
</div>
<span class="clearfix"></span>
{'fraction_non_alphanumeric': 0.2525935949481281, 'fraction_numerical': 0.016238159675236806, 'mean_word_length': 3.392079207920792, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 113, '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': '1528019', 'n_tokens_mistral': 912, 'n_tokens_neox': 831, 'n_words': 164}