<commit_before><table class="tables">
  <thead>
  <tr>
    <th><%= t 'models.adonis.hostname' %></th>
    <th><%= t 'models.adonis.location' %></th>
    <th><%= t 'models.adonis.status' %></th>
    <th><%= t 'models.adonis.root_password' %></th>
    <th><%= t 'models.adonis.identifier' %></th>
  </tr>
  </thead>
  <tbody>
  <% adonis.each do |a| %>
      <tr>
        <td><%= link_to a.hostname, adonis_path(a) %></td>
        <td><%= a.location.nil? ? '' : a.location.name %></td>
        <td><%= a.status.nil? ? '' : a.status.name %></td>
        <td><%= a.root_password %></td>
        <td><%= link_to a.identifier, adonis_path(a) %></td>
      </tr>
  <% end %>
  </tbody>
</table><commit_msg>Make location and status filterable in adonis#index<commit_after><table class="tables">
  <thead>
  <tr>
    <th><%= t 'models.adonis.hostname' %></th>
    <th><%= t 'models.adonis.location' %></th>
    <th><%= t 'models.adonis.status' %></th>
    <th><%= t 'models.adonis.root_password' %></th>
    <th><%= t 'models.adonis.identifier' %></th>
  </tr>
  </thead>
  <tbody>
  <% adonis.each do |a| %>
      <tr>
        <td><%= link_to a.hostname, adonis_path(a) %></td>
        <td>
          <% if a.location.present? %>
            <%= link_to a.location.name, adonis_index_path(location_id: a.location.id) %>
          <% end %>
        </td>
        <td>
          <% if a.status.present? %>
              <%= link_to a.status.name, adonis_index_path(status_id: a.status.id) %>
          <% end %>
        </td>
        <td><%= a.root_password %></td>
        <td><%= link_to a.identifier, adonis_path(a) %></td>
      </tr>
  <% end %>
  </tbody>
</table>
{'fraction_non_alphanumeric': 0.24036144578313254, 'fraction_numerical': 0.0, 'mean_word_length': 2.3967280163599183, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 91, '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': '6937416', 'n_tokens_mistral': 701, 'n_tokens_neox': 662, 'n_words': 127}