<commit_before><% if @recent.any? %>
  <div id="recent-assets" class="assets-row">
    <%= render :partial => 'asset', :collection => @recent, :locals => {:size => :thumb} %>
  </div>

  <% if @assets.any? %>
    <% @assets.in_groups_of(7) do |group| -%>
      <div class="assets-row">
        <%= render :partial => 'asset', :collection => group.compact %>
      </div>
    <% end %>
  <% end %>

<% else %>
  <p class="empty">
    <%=t :'adva.assets.no_files' %>
    <%= link_to t(:'adva.assets.upload'), :action => 'new' %>
  </p>
<% end %>

<%= will_paginate @assets, :id => 'pagination' %><commit_msg>added missing local var for displaying more than 4 assets or so.<commit_after><% if @recent.any? %>
  <div id="recent-assets" class="assets-row">
    <%= render :partial => 'asset', :collection => @recent, :locals => {:size => :thumb} %>
  </div>

  <% if @assets.any? %>
    <% @assets.in_groups_of(7) do |group| -%>
      <div class="assets-row">
        <%= render :partial => 'asset', :collection => group.compact, :locals => {:size => :thumb} %>
      </div>
    <% end %>
  <% end %>

<% else %>
  <p class="empty">
    <%=t :'adva.assets.no_files' %>
    <%= link_to t(:'adva.assets.upload'), :action => 'new' %>
  </p>
<% end %>

<%= will_paginate @assets, :id => 'pagination' %>
{'fraction_non_alphanumeric': 0.24671307037896364, 'fraction_numerical': 0.002320185614849188, 'mean_word_length': 3.2287581699346406, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 57, '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': '3137478', 'n_tokens_mistral': 523, 'n_tokens_neox': 464, 'n_words': 104}