<commit_before><% torrent = details -%>

<div class="torrentDetails">
  <p>
    Published <%= time_ago_in_words(torrent.published_at) %>,
    fetched <%= time_ago_in_words(torrent.created_at) %> ago.
  </p>

  <p>
    <%= link_to "permalink", torrent %> |
    <%= link_to "source", torrent.guid %> |
    <%= link_to "download", torrent.link %>
  </p>
</div>
<commit_msg>A single timestamp in torrent details.<commit_after><% torrent = details -%>

<div class="torrentDetails">
  <p>
    <% if torrent.created_at <= 2.days.ago -%>
      <%= link_to(torrent.published_at.to_date.to_s(:short), torrent) %> |
    <% else -%>
      <%= link_to(time_ago_in_words(torrent.created_at) + " ago", torrent) %> |
    <% end -%>
    <%= link_to "source", torrent.guid %> |
    <%= link_to "download", torrent.link %>
  </p>
</div>

{'fraction_non_alphanumeric': 0.2017114914425428, 'fraction_numerical': 0.0012224938875305623, 'mean_word_length': 3.5, 'pattern_counts': {'":': 0, '<': 28, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4536721', 'n_tokens_mistral': 340, 'n_tokens_neox': 304, 'n_words': 53}