<commit_before><% if table.filters.any? %>
  <%= form_tag '', method: :get do %>
    <% table.filters.each do |filter| %>
      <%= tableficate_filter_tag filter %>
    <% end %>

    <%= submit_tag('Filter') %>
  <% end %>
<% end %>

<% if defined? ::Kaminari %>
  <%= paginate(table.rows, param_name: "#{table.as}[page]") %>
<% elsif defined? ::WillPaginate %>
  <%= will_paginate(table.rows, param_name: "#{table.as}[page]") %>
<% end %>

<%= content_tag(:table, table.options[:html]) do %>
  <thead>
    <tr>
      <% table.columns.each do |column| %>
        <%= tableficate_header_tag column %>
      <% end %><commit_msg>nested param names do not work in Kaminari<commit_after><% if table.filters.any? %>
  <%= form_tag '', method: :get do %>
    <% table.filters.each do |filter| %>
      <%= tableficate_filter_tag filter %>
    <% end %>

    <%= submit_tag('Filter') %>
  <% end %>
<% end %>

<% if defined? ::Kaminari %>
  <%= paginate(table.rows, param_name: "#{table.as}_page") %>
<% elsif defined? ::WillPaginate %>
  <%= will_paginate(table.rows, param_name: "#{table.as}_page") %>
<% end %>

<%= content_tag(:table, table.options[:html]) do %>
  <thead>
    <tr>
      <% table.columns.each do |column| %>
        <%= tableficate_header_tag column %>
      <% end %>
{'fraction_non_alphanumeric': 0.2182385035074045, 'fraction_numerical': 0.0, 'mean_word_length': 3.4895104895104896, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, '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': '1542487', 'n_tokens_mistral': 515, 'n_tokens_neox': 449, 'n_words': 87}