<commit_before><%= avatar_image(resource.author, seed: resource.author_id, size: 32, class: 'author-photo') %>

<% if resource.author.hidden? || resource.author.erased? %>
  <i class="icon-deleted author-deleted"></i>
  <span class="author">
      <%= t("shared.author_info.author_deleted") %>
  </span>
<% else %>
  <span class="author">
      <%= link_to resource.author.name, user_path(resource.author) %>
  </span>
  <% if resource.author.official? %>
    &nbsp;&bull;&nbsp;
    <span class="label round level-<%= resource.author.official_level %>">
      <%= resource.author.official_position %>
    </span>
  <% end %>
<% end %>

<% if resource.author.verified_organization? %>
  &nbsp;&bull;&nbsp;
  <span class="label round is-association">
    <%= t("shared.collective") %>
  </span>
<% end %>
<commit_msg>shows author avatar in prop/deb only if not hidden  <commit_after><% if resource.author.hidden? || resource.author.erased? %>
  <i class="icon-deleted author-deleted"></i>
  <span class="author">
      <%= t("shared.author_info.author_deleted") %>
  </span>
<% else %>
  <%= avatar_image(resource.author, seed: resource.author_id, size: 32, class: 'author-photo') %>
  <span class="author">
      <%= link_to resource.author.name, user_path(resource.author) %>
  </span>
  <% if resource.author.official? %>
    &nbsp;&bull;&nbsp;
    <span class="label round level-<%= resource.author.official_level %>">
      <%= resource.author.official_position %>
    </span>
  <% end %>
<% end %>

<% if resource.author.verified_organization? %>
  &nbsp;&bull;&nbsp;
  <span class="label round is-association">
    <%= t("shared.collective") %>
  </span>
<% end %>

{'fraction_non_alphanumeric': 0.19820359281437125, 'fraction_numerical': 0.0023952095808383233, 'mean_word_length': 4.079027355623101, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, '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': '4539155', 'n_tokens_mistral': 615, 'n_tokens_neox': 549, 'n_words': 103}