<commit_before><div class="box wide">
  <div class="legend" style="float: right;">
    <% if @message.author_user_id == @user.id %>
      <a href="/messages/sent">Back to Sent Messages</a>
    <% else %>
      <a href="/messages">Back to Messages</a>
    <% end %>
  </div>

  <div class="legend">
    <%= @message.subject %>

    <div class="sublegend">
      Sent from
      <% if @message.author %>
        <a href="/u/<%= @message.author.username %>"><%=
          @message.author.username %></a>
        <% if @message.author.is_admin? %>
          (administrator)
        <% elsif @message.author.is_moderator? %>
          (moderator)
        <% end %>
      <% else %>
        <%= @message.author_username %>
      <% end %>
      to
      <a href="/u/<%= @message.recipient.username %>"><%=
        @message.recipient.username %></a>
      <%= time_ago_in_words_label(@message.created_at) %> ago
    </div>
  </div>
<commit_msg>message view: fix double 'ago'<commit_after><div class="box wide">
  <div class="legend" style="float: right;">
    <% if @message.author_user_id == @user.id %>
      <a href="/messages/sent">Back to Sent Messages</a>
    <% else %>
      <a href="/messages">Back to Messages</a>
    <% end %>
  </div>

  <div class="legend">
    <%= @message.subject %>

    <div class="sublegend">
      Sent from
      <% if @message.author %>
        <a href="/u/<%= @message.author.username %>"><%=
          @message.author.username %></a>
        <% if @message.author.is_admin? %>
          (administrator)
        <% elsif @message.author.is_moderator? %>
          (moderator)
        <% end %>
      <% else %>
        <%= @message.author_username %>
      <% end %>
      to
      <a href="/u/<%= @message.recipient.username %>"><%=
        @message.recipient.username %></a>
      <%= time_ago_in_words_label(@message.created_at) %>
    </div>
  </div>

{'fraction_non_alphanumeric': 0.1997880233174351, 'fraction_numerical': 0.0, 'mean_word_length': 2.335689045936396, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 65, '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': '2864258', 'n_tokens_mistral': 693, 'n_tokens_neox': 614, 'n_words': 115}