<commit_before><% if @question.best_answer_id != answer.id %>
<div class="well">
  <div class="col-xs-4 col-lg-10">
    <div class="row">
      <%= link_to '<span class="glyphicon glyphicon-triangle-top" aria-hidden="true"></span>'.html_safe, vote_path(answer, { type: :up }), id: "up", method: :patch, remote: true %>
    </div>
    <div class="row">
      <p id="vote<%= answer.id %>"><%= answer.get_likes.size %></p>
    </div>
    <div class="row">
      <%= link_to '<span class="glyphicon glyphicon-triangle-bottom" aria-hidden="true"></span>'.html_safe, vote_path(answer, { type: :down }), id: "down", method: :patch, remote: true %>
    </div>
  </div>
  <%= GitHub::Markdown.render_gfm(answer.content).html_safe %>
  <% if current_user == @question.user %>
  <p><%= link_to "Accept", question_path(@question, question: {best_answer_id: answer.id}), data: { method: "patch" }%></p>
  <% end %>
</div>
<% end %><commit_msg>added answer's author label in view<commit_after><% if @question.best_answer_id != answer.id %>
<div class="well row">
  <div class="col-xs-4 col-lg-10">
    <div class="row">
      <%= link_to '<span class="glyphicon glyphicon-triangle-top" aria-hidden="true"></span>'.html_safe, vote_path(answer, { type: :up }), id: "up", method: :patch, remote: true %>
    </div>
    <div class="row">
      <p id="vote<%= answer.id %>"><%= answer.get_likes.size %></p>
    </div>
    <div class="row">
      <%= link_to '<span class="glyphicon glyphicon-triangle-bottom" aria-hidden="true"></span>'.html_safe, vote_path(answer, { type: :down }), id: "down", method: :patch, remote: true %>
    </div>

  </div>


</li>
  <%= GitHub::Markdown.render_gfm(answer.content).html_safe %>

  <p>Answered on <%= l(answer.created_at, format: :long) %> by <%= link_to answer.user.username, user_path(answer.user) %> </p>
  <% if current_user == @question.user %>
  <p><%= link_to "Accept", question_path(@question, question: {best_answer_id: answer.id}), data: { method: "patch" }%></p>
  <% end %>
</div>
<% end %>
{'fraction_non_alphanumeric': 0.22480237154150198, 'fraction_numerical': 0.0029644268774703555, 'mean_word_length': 4.2734375, 'pattern_counts': {'":': 0, '<': 64, '<?xml version=': 0, '>': 64, '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': '2744040', 'n_tokens_mistral': 775, 'n_tokens_neox': 719, 'n_words': 157}