<commit_before><div class="comment-header">
  <span class="icon-comment" aria-hidden="true"></span>
  <div class="comment-number"><%= t('legislation.annotations.comments.comments_count', count: annotation.comments_count) %></div>
  <%= link_to legislation_process_draft_version_annotation_path(annotation.draft_version.process, annotation.draft_version, annotation) do %>
    <span class="icon-expand" aria-hidden="true"></span>
  <% end %>
</div>
<div class="comments-wrapper">
  <% annotation.comments.roots.limit(5).each do |comment| %>
  <div class="comment">
    <div class="comment-text">
      <p><%= truncate comment.body, length: 250 %></p>
    </div>
    <div class="comment-meta">
      <div class="comment-more-info">
        <% if comment.body.length > 250 %>
          <div class="comment-expand">
            <%= link_to legislation_process_draft_version_annotation_path(annotation.draft_version.process, annotation.draft_version, annotation) do %>
              <%= t('legislation.annotations.comments.see_complete') %>
            <% end %>
          </div>
        <% end %>
        <div class="comment-replies">
          <%= link_to legislation_process_draft_version_annotation_path(annotation.draft_version.process, annotation.draft_version, annotation) do %>
            <%= t('legislation.annotations.comments.replies_count', count: comment.children.size) %>
          <% end %>
        </div>
      </div>
      <div class="comment-votes">
        <div id="<%= dom_id(comment) %>_votes" class="comment-votes float-right">
          <%= render 'comments/votes', comment: comment %>
        </div>
      </div>
    </div>
  </div>
  <% end %>

</div>
<div class="comment-footer">
  <% if annotation.comments.roots.count > Legislation::Annotation::COMMENTS_PAGE_SIZE %>
    <%= link_to legislation_process_draft_version_annotation_path(annotation.draft_version.process, annotation.draft_version, annotation), class: "button strong" do %>
      <%= t('legislation.annotations.comments.see_all') %>
    <% end %>
  <% end %>
  <a class="button strong publish-comment" title="Publicar comentario" href="#">Publicar comentario</a>
</div>
<commit_msg>Link to the comment using an anchor<commit_after><div class="comment-header">
  <span class="icon-comment" aria-hidden="true"></span>
  <div class="comment-number"><%= t('legislation.annotations.comments.comments_count', count: annotation.comments_count) %></div>
  <%= link_to legislation_process_draft_version_annotation_path(annotation.draft_version.process, annotation.draft_version, annotation) do %>
    <span class="icon-expand" aria-hidden="true"></span>
  <% end %>
</div>
<div class="comments-wrapper">
  <% annotation.comments.roots.limit(5).each do |comment| %>
  <div class="comment">
    <div class="comment-text">
      <p><%= truncate comment.body, length: 250 %></p>
    </div>
    <div class="comment-meta">
      <div class="comment-more-info">
        <% if comment.body.length > 250 %>
          <div class="comment-expand">
            <%= link_to legislation_process_draft_version_annotation_path(annotation.draft_version.process, annotation.draft_version, annotation) do %>
              <%= t('legislation.annotations.comments.see_complete') %>
            <% end %>
          </div>
        <% end %>
        <div class="comment-replies">
          <%= link_to legislation_process_draft_version_annotation_path(annotation.draft_version.process, annotation.draft_version, annotation, anchor: "comment_#{comment.id}") do %>
            <%= t('legislation.annotations.comments.replies_count', count: comment.children.size) %>
          <% end %>
        </div>
      </div>
      <div class="comment-votes">
        <div id="<%= dom_id(comment) %>_votes" class="comment-votes float-right">
          <%= render 'comments/votes', comment: comment %>
        </div>
      </div>
    </div>
  </div>
  <% end %>

</div>
<div class="comment-footer">
  <% if annotation.comments.roots.count > Legislation::Annotation::COMMENTS_PAGE_SIZE %>
    <%= link_to legislation_process_draft_version_annotation_path(annotation.draft_version.process, annotation.draft_version, annotation), class: "button strong" do %>
      <%= t('legislation.annotations.comments.see_all') %>
    <% end %>
  <% end %>
  <a class="button strong publish-comment" title="Publicar comentario" href="#">Publicar comentario</a>
</div>

{'fraction_non_alphanumeric': 0.16267942583732056, 'fraction_numerical': 0.003189792663476874, 'mean_word_length': 3.761388286334056, 'pattern_counts': {'":': 0, '<': 109, '<?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': '7484041', 'n_tokens_mistral': 1411, 'n_tokens_neox': 1294, 'n_words': 230}