<commit_before><% cache [locale_and_user_status(comment), comment, commentable_cache_key(comment.commentable), comment.author, (@comment_flags[comment.id] if @comment_flags)] do %>
  <div class="row">
  	<ul id="<%= dom_id(comment) %>" class="comment no-bullet small-12 column">
      <li class="comment-body">
        <% if comment.hidden? || comment.user.hidden? %>
          <% if comment.children.size > 0 %>
            <div class="is-deleted">
              <p><%= t("comments.comment.deleted") %></p>
            </div>
          <% end %>
        <% else %>
          <% if comment.as_administrator? %>
            <%= image_tag("avatar_admin.png", size: 32, class: "admin-avatar float-left") %>
          <% elsif comment.as_moderator? %>
            <%= image_tag("avatar_moderator.png", size: 32, class: "moderator-avatar float-left") %>
          <% else %>
          <% if comment.user.hidden? || comment.user.erased? %>
              <span class="icon-deleted user-deleted"></span>
            <% elsif comment.user.organization? %>
              <%= image_tag("avatar_collective.png", size: 32, class: "avatar float-left") %>
            <% else %>
              <%= avatar_image(comment.user, seed: comment.user_id, size: 32, class: "float-left") %>
            <% end %>
          <% end %>

          <div class="comment-info">

            <% if comment.as_administrator? %>
              <span class="user-name"><%= t("comments.comment.admin") %> #<%= comment.administrator_id%></span>
            <% elsif comment.as_moderator? %>
              <span class="user-name"><%= t("comments.comment.moderator") %> #<%= comment.moderator_id%></span>
            <% else %>

              <% if comment.user.hidden? || comment.user.erased? %>
                <span class="user-name"><%= t("comments.comment.user_deleted") %></span>
              <% else %>
                <span class="user-name"><%= link_to comment.user.name, user_path(comment.user) %></span>
                <% if comment.user.display_official_position_badge? %>
                  &nbsp;&bull;&nbsp;
                  <span class="label round level-<%= comment.user.official_level %>">
                    <%= comment.user.official_position %>
                  </span>
                <% end %>
              <% end %>
              <% if comment.user.verified_organization? %>
                &nbsp;&bull;&nbsp;
                <span class="label round is-association">
                  <%= t("shared.collective") %>
                </span>
              <% end %>
              <% if comment.user_id == comment.commentable.author_id %>
                &nbsp;&bull;&nbsp;
                <span class="label round is-author">
                  <%= t("comments.comment.author") %>
                </span>
              <% end %>

            <% end %>

            &nbsp;&bull;&nbsp;<time><%= l comment.created_at.to_datetime, format: :datetime %></time>
          </div>

          <div class="comment-user
                    <%= user_level_class comment %>
                    <%= comment_author_class comment, comment.commentable.author_id %>">
            <%= simple_format text_with_links(comment.body), {}, sanitize: false %>
          </div>

          <div id="<%= dom_id(comment) %>_reply" class="reply"><commit_msg>changes time tags to span<commit_after><% cache [locale_and_user_status(comment), comment, commentable_cache_key(comment.commentable), comment.author, (@comment_flags[comment.id] if @comment_flags)] do %>
  <div class="row">
  	<ul id="<%= dom_id(comment) %>" class="comment no-bullet small-12 column">
      <li class="comment-body">
        <% if comment.hidden? || comment.user.hidden? %>
          <% if comment.children.size > 0 %>
            <div class="is-deleted">
              <p><%= t("comments.comment.deleted") %></p>
            </div>
          <% end %>
        <% else %>
          <% if comment.as_administrator? %>
            <%= image_tag("avatar_admin.png", size: 32, class: "admin-avatar float-left") %>
          <% elsif comment.as_moderator? %>
            <%= image_tag("avatar_moderator.png", size: 32, class: "moderator-avatar float-left") %>
          <% else %>
          <% if comment.user.hidden? || comment.user.erased? %>
              <span class="icon-deleted user-deleted"></span>
            <% elsif comment.user.organization? %>
              <%= image_tag("avatar_collective.png", size: 32, class: "avatar float-left") %>
            <% else %>
              <%= avatar_image(comment.user, seed: comment.user_id, size: 32, class: "float-left") %>
            <% end %>
          <% end %>

          <div class="comment-info">

            <% if comment.as_administrator? %>
              <span class="user-name"><%= t("comments.comment.admin") %> #<%= comment.administrator_id%></span>
            <% elsif comment.as_moderator? %>
              <span class="user-name"><%= t("comments.comment.moderator") %> #<%= comment.moderator_id%></span>
            <% else %>

              <% if comment.user.hidden? || comment.user.erased? %>
                <span class="user-name"><%= t("comments.comment.user_deleted") %></span>
              <% else %>
                <span class="user-name"><%= link_to comment.user.name, user_path(comment.user) %></span>
                <% if comment.user.display_official_position_badge? %>
                  &nbsp;&bull;&nbsp;
                  <span class="label round level-<%= comment.user.official_level %>">
                    <%= comment.user.official_position %>
                  </span>
                <% end %>
              <% end %>
              <% if comment.user.verified_organization? %>
                &nbsp;&bull;&nbsp;
                <span class="label round is-association">
                  <%= t("shared.collective") %>
                </span>
              <% end %>
              <% if comment.user_id == comment.commentable.author_id %>
                &nbsp;&bull;&nbsp;
                <span class="label round is-author">
                  <%= t("comments.comment.author") %>
                </span>
              <% end %>

            <% end %>

            &nbsp;&bull;&nbsp;<span><%= l comment.created_at.to_datetime, format: :datetime %></span>
          </div>

          <div class="comment-user
                    <%= user_level_class comment %>
                    <%= comment_author_class comment, comment.commentable.author_id %>">
            <%= simple_format text_with_links(comment.body), {}, sanitize: false %>
          </div>

          <div id="<%= dom_id(comment) %>_reply" class="reply">
{'fraction_non_alphanumeric': 0.16948130277442702, 'fraction_numerical': 0.0033172496984318458, 'mean_word_length': 1.9028446389496718, 'pattern_counts': {'":': 0, '<': 157, '<?xml version=': 0, '>': 159, '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': '5983915', 'n_tokens_mistral': 2092, 'n_tokens_neox': 1843, 'n_words': 329}