<commit_before><article class="document_view">
  <%= render partial: "standard_elements", locals: { document: document } %>

  <p>Publication date: <span class="publication_date"><%= document.publication_date.to_s(:long_ordinal) %></span></p>
  <p>Unique reference: <span class="unique_reference"><%= document.unique_reference %></span></p>
  <p>ISBN: <span class="isbn"><%= document.isbn %></span></p>
  <p>Research? <span class="research"><%= yes_or_no(document.research?) %></span></p>
  <p>Corporate Publication? <span class="corporate_publication"><%= yes_or_no(document.corporate_publication?) %></span></p>
  <p>Order URL: <%= order_link(document) %></p>

  <%= render partial: "documents/attachments", locals: { document: document }  %>

  <%= render partial: "authors", locals: { document: document } %>
</article><commit_msg>move attachments on the admin document view so the layout doesn't break<commit_after><article class="document_view">
  <%= render partial: "standard_elements", locals: { document: document } %>

  <p>Publication date: <span class="publication_date"><%= document.publication_date.to_s(:long_ordinal) %></span></p>
  <p>Unique reference: <span class="unique_reference"><%= document.unique_reference %></span></p>
  <p>ISBN: <span class="isbn"><%= document.isbn %></span></p>
  <p>Research? <span class="research"><%= yes_or_no(document.research?) %></span></p>
  <p>Corporate Publication? <span class="corporate_publication"><%= yes_or_no(document.corporate_publication?) %></span></p>
  <p>Order URL: <%= order_link(document) %></p>
  <%= render partial: "authors", locals: { document: document } %>

  <h3>Attachments:</h3>
  <%= render partial: "documents/attachments", locals: { document: document }  %>
</article>
{'fraction_non_alphanumeric': 0.2027412906910337, 'fraction_numerical': 0.001142204454597373, 'mean_word_length': 6.71806167400881, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, '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': '7479243', 'n_tokens_mistral': 602, 'n_tokens_neox': 552, 'n_words': 117}