<commit_before><div class="row">

  <div class="large-12 columns">
    <h2>
      <%= @server %>
      &raquo;
      <small><%= params[:host] %></small>
    </h2>
    <table style="width:100%" data-sortable>
      <thead>
        <tr>
          <th style="width:40%">List</th>
          <th class="ralign">Probability</th>
          <th class="ralign">Size</th>
          <th class="ralign">Capacity</th>
          <th class="ralign">Items</th>
        </tr>
      </thead>
      <tbody>
        <% @details.each do |attrs| %>
          <tr>
            <td style="width:40%"><%= attrs[:name] %></td>
            <td class="ralign"><%= attrs[:probability] %>%</td>
            <td class="ralign"><%= attrs[:size].to_human %></td>
            <td class="ralign"><%= attrs[:capacity].to_human %></td>
            <td class="ralign"><%= attrs[:items].to_s.reverse.gsub(/(\d{3})(?=\d)/, '\\1,').reverse %></td>
          </tr>
        <% end %>
      </tbody>
    </table>
  </div>

</div>
<commit_msg>Add data-value attribute to fix sorting of size columns<commit_after><div class="row">

  <div class="large-12 columns">
    <h2>
      <%= @server %>
      &raquo;
      <small><%= params[:host] %></small>
    </h2>
    <table style="width:100%" data-sortable>
      <thead>
        <tr>
          <th style="width:40%">List</th>
          <th class="ralign">Probability</th>
          <th class="ralign">Size</th>
          <th class="ralign">Capacity</th>
          <th class="ralign">Items</th>
        </tr>
      </thead>
      <tbody>
        <% @details.each do |attrs| %>
          <tr>
            <td style="width:40%"><%= attrs[:name] %></td>
            <td class="ralign"><%= attrs[:probability] %>%</td>
            <td class="ralign" data-value="<%= attrs[:size] %>"><%= attrs[:size].to_human %></td>
            <td class="ralign" data-value="<%= attrs[:capacity] %>"><%= attrs[:capacity].to_human %></td>
            <td class="ralign"><%= attrs[:items].to_s.reverse.gsub(/(\d{3})(?=\d)/, '\\1,').reverse %></td>
          </tr>
        <% end %>
      </tbody>
    </table>
  </div>

</div>

{'fraction_non_alphanumeric': 0.23956356736242884, 'fraction_numerical': 0.012333965844402278, 'mean_word_length': 2.138392857142857, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, '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': '4846117', 'n_tokens_mistral': 776, 'n_tokens_neox': 732, 'n_words': 134}