<commit_before><% if @articles.empty? %>
  <tr>
    <td colspan="6">
      <%= t('.no_articles') %>
    </td>
  </tr>
<% end %>
<% for article in @articles %>
  <tr>
    <td>
      <% if article.published? %>
        <%= link_to_permalink(article, article.title, style: 'published') %>
      <% else %>
        <%= link_to(article.title, { controller: '/articles', action: 'preview', id: article.id }, { class: 'unpublished', target: '_new' }) %>
      <% end %>
    </td>
    <td>
      <%= author_link(article) %>
    </td>
    <td>
      <%= l(article.created_at) %>
    </td>
    <td>
      <%= l(article.published_at) if article.published_at %>
    </td>
    <td>
      <% if article.allow_comments? %>
        <%= link_to("#{article.comments.ham.size} #{t(".feedback")}".html_safe, controller: '/admin/feedback', id: article.id, action: 'article') %>
      <% else %>
        -
      <% end %>
    </td>
    <td>
      <%= article.text_filter&.name %>
    </td>
    <td>
      <%= show_actions article %>
    </td>
  </tr>
<% end %>
<%= display_pagination(@articles, 5, 'first', 'last') %><commit_msg>Fix colspans in article list<commit_after><% if @articles.empty? %>
  <tr>
    <td colspan="7">
      <%= t('.no_articles') %>
    </td>
  </tr>
<% end %>
<% for article in @articles %>
  <tr>
    <td>
      <% if article.published? %>
        <%= link_to_permalink(article, article.title, style: 'published') %>
      <% else %>
        <%= link_to(article.title, { controller: '/articles', action: 'preview', id: article.id }, { class: 'unpublished', target: '_new' }) %>
      <% end %>
    </td>
    <td>
      <%= author_link(article) %>
    </td>
    <td>
      <%= l(article.created_at) %>
    </td>
    <td>
      <%= l(article.published_at) if article.published_at %>
    </td>
    <td>
      <% if article.allow_comments? %>
        <%= link_to("#{article.comments.ham.size} #{t(".feedback")}".html_safe, controller: '/admin/feedback', id: article.id, action: 'article') %>
      <% else %>
        -
      <% end %>
    </td>
    <td>
      <%= article.text_filter&.name %>
    </td>
    <td>
      <%= show_actions article %>
    </td>
  </tr>
<% end %>
<%= display_pagination(@articles, 7, 'first', 'last') %>
{'fraction_non_alphanumeric': 0.2234185733512786, 'fraction_numerical': 0.001794526693584567, 'mean_word_length': 2.404580152671756, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, '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': '7148878', 'n_tokens_mistral': 876, 'n_tokens_neox': 780, 'n_words': 152}