<commit_before><!-- Started view render at <%= Time.now  -%> -->
<table class="no-longer-datatable" border="1">

  <thead>
    <tr>
      <th>Model</th>
      <th>Tags</th>
      <th>Group</th>
      <th>Modified</th>
      <th>Modified by</th>
    </tr>
  </thead>
  <tbody>

    <% model_list.sort_by {|n| n.name }.each do |model| %>

    <tr class="<%= cycle('even', 'odd') -%>">
      <td>
        <img src="/browse/display_preview/<%= model.id %>" width="30" height="30" alt="Preview of model '#{model.name}'" />
        <%= link_to model.name, :controller => "browse", :action => "one_model", :id => model.id %><%= render :partial => "browse/preview_image", :locals => {:model => @model} -%>
      </td>
      <td>
        <% if model.tags.empty? %>
        (No tags)
        <% else %>
        <%= model.tags.sort_by {|t| t.name}.map {|t| link_to t.name, :controller => :tags, :action => :one_tag, :id => t.id}.uniq.join(', ') %>
        <% end %>
      </td>

      <td>
        <% if model.group %>
        <%= group_link(model.group) %>
        <% else %>
        (No group)
        <% end %>
      </td>
      <td><%= distance_of_time_in_words(Time.now, model.node_versions.first.updated_at) %> ago</td>
      <td>
        <% @model_people = model.people -%>

        <% if @model_people.length == 1 %>
        <%= person_image(@model_people[0]) %><%= person_link(@model_people[0]) %>
        <% else %>
        <ul>
          <% @model_people.each do |person| %>
          <li><%= person_image(person) %><%= person_link(person) %></li>
          <% end %>
        </ul>
        <% end %>

      </td>
    </tr>

    <% end %>

  </tbody>
</table>

<!-- Ended view render at <%= Time.now  -%> -->
<commit_msg>Cut down listing speed even more<commit_after><!-- Started view render at <%= Time.now  -%> -->
<table class="no-longer-datatable" border="1">

  <thead>
    <tr>
      <th>Model</th>
      <th>Tags</th>
      <th>Group</th>
      <th>Modified</th>
      <th>Modified by</th>
    </tr>
  </thead>
  <tbody>

    <% model_list.sort_by {|n| n.name }.each do |model| %>

    <tr class="<%= cycle('even', 'odd') -%>">
      <td>
        <img src="/browse/display_preview/<%= model.id %>" width="30" height="30" alt="Preview of model '#{model.name}'" />
        <%= link_to model.name, :controller => "browse", :action => "one_model", :id => model.id %><%= render :partial => "browse/preview_image", :locals => {:model => @model} -%>
      </td>
      <td>
        <% if model.tags.empty? %>
        (No tags)
        <% else %>
        <%= model.tags.sort_by {|t| t.name}.map {|t| link_to t.name, :controller => :tags, :action => :one_tag, :id => t.id}.uniq.join(', ') %>
        <% end %>
      </td>

      <td>
        <% if model.group %>
        <%= group_link(model.group) %>
        <% else %>
        (No group)
        <% end %>
      </td>
      <td><%= distance_of_time_in_words(Time.now, model.node_versions.first.updated_at) %> ago</td>
      <td>
        <% model.people.each do |person| %>
        <%= person_image(person) %><%= person_link(person) %><br />
        <% end %>
      </td>
    </tr>

    <% end %>

  </tbody>
</table>

<!-- Ended view render at <%= Time.now  -%> -->

{'fraction_non_alphanumeric': 0.22930927193528314, 'fraction_numerical': 0.004044803982576229, 'mean_word_length': 2.1396484375, 'pattern_counts': {'":': 0, '<': 122, '<?xml version=': 0, '>': 140, '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': '2121791', 'n_tokens_mistral': 1267, 'n_tokens_neox': 1149, 'n_words': 229}