<commit_before><%= content_tag_for(:div, attachment, class: "attachment embedded") do %>
  <%= link_to(attachment.url, class: "title") do %>
    <% if attachment.pdf? %>
      <%= image_tag(attachment.url(:thumbnail), alt: "") %>
    <% else %>
      <%= image_tag('pub-cover.png', alt: "") %>
    <% end %>
    <span class="visuallyhidden">Download </span><%= attachment.title %>
  <% end %>
  <dl class="attachment-metadata">
    <dt>Type</dt>
    <dd class="type"><%= humanized_content_type(attachment.file_extension) %></dd>
    <dt>Size</dt>
    <dd class="file-size"><%= number_to_human_size(attachment.file_size) %></dd>
    <% if attachment.number_of_pages.present? %><commit_msg>Remove extra download information<commit_after><%= content_tag_for(:div, attachment, class: "attachment embedded") do %>
  <%= link_to(attachment.url, class: "title") do %>
    <% if attachment.pdf? %>
      <%= image_tag(attachment.url(:thumbnail), alt: "") %>
    <% else %>
      <%= image_tag('pub-cover.png', alt: "") %>
    <% end %>
    <%= attachment.title %>
  <% end %>
  <dl class="attachment-metadata">
    <dt>Type</dt>
    <dd class="type"><%= humanized_content_type(attachment.file_extension) %></dd>
    <dt>Size</dt>
    <dd class="file-size"><%= number_to_human_size(attachment.file_size) %></dd>
    <% if attachment.number_of_pages.present? %>
{'fraction_non_alphanumeric': 0.21021465581051074, 'fraction_numerical': 0.0, 'mean_word_length': 4.260700389105058, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '5437293', 'n_tokens_mistral': 484, 'n_tokens_neox': 440, 'n_words': 76}