<commit_before><% level ||= 0 %>
<% disable_actions ||= false %>
<% watched_posts = thread_info[:watched_posts] %>
<% author = thread_info[:authors][post.author_id][:user] %>
<% attachments = thread_info[:attachments][post.id].values %>

<div class="post post-nest-<%= level %>">
  <div class="post-author">
    <p class="author-name"><%= h post.used_alias %> <span class="author-uid">(<a href="/users/<%= post.author_id %>"><%= h thread_info[:authors][post.author_id][:uid] %></a>)</span></p>
    <p class="author-membership"><%= author.title %></p>
    <% if author.avatar? %>
      <p class="author-avatar"><img src="<%= author.avatar_url %>" alt="<%= t.users.avatar_alt %>"/></p>
    <% end %>
    <p class="author-registered"><%= t.users.registered %>: <%= l author.created_at %></p>
    <p class="author-posts"><%= t.users.posts %>:<commit_msg>Don't show main user name for Guest posts.<commit_after><% level ||= 0 %>
<% disable_actions ||= false %>
<% watched_posts = thread_info[:watched_posts] %>
<% author = thread_info[:authors][post.author_id][:user] %>
<% author_uid = thread_info[:authors][post.author_id][:uid] %>
<% attachments = thread_info[:attachments][post.id].values %>

<div class="post post-nest-<%= level %>">
  <div class="post-author">
    <p class="author-name"><%= h post.used_alias %>
      <% unless author_uid == Chessboard::User::GUEST_UID %>
	<span class="author-uid">(<a href="/users/<%= post.author_id %>"><%= h author_uid %></a>)</span></p>
      <% end %>
    <p class="author-membership"><%= author.title %></p>
    <% if author.avatar? %>
      <p class="author-avatar"><img src="<%= author.avatar_url %>" alt="<%= t.users.avatar_alt %>"/></p>
    <% end %>
    <p class="author-registered"><%= t.users.registered %>: <%= l author.created_at %></p>
    <p class="author-posts"><%= t.users.posts %>:
{'fraction_non_alphanumeric': 0.2487751769188895, 'fraction_numerical': 0.0010887316276537834, 'mean_word_length': 4.74375, 'pattern_counts': {'":': 0, '<': 72, '<?xml version=': 0, '>': 72, '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': '2526453', 'n_tokens_mistral': 707, 'n_tokens_neox': 627, 'n_words': 115}