<commit_before><h2>High Scores</h2>
<table class="table">
  <tr>
    <th>Reconstructor</th>
    <th>Reconstructions</th>
  </tr>
  <% entries = data.reject { |entry| entry[:reconstructor].blank? } %>
  <% entries.sort_by { |entry| -entry[:count] }.each do |entry| %>
    <tr>
      <td>
        <%= entry[:reconstructor] %>
      </td>
      <td>
        <%= entry[:count] %>
      </td>
    </tr>
  <% end %>
</table><commit_msg>show total reconstructions<commit_after><% entries = data.reject { |entry| entry[:reconstructor].blank? } %>
<h2>High Scores</h2>
<table class="table">
  <tr>
    <th>Reconstructor</th>
    <th>Reconstructions</th>
  </tr>

  <tr>
    <td>
      <b>Total</b>
    </td>
    <td>
      <b><%= entries.inject(0) { |sum, entry| sum + entry[:count] } %></b>
    </td>
  </tr>

  <% entries.sort_by { |entry| -entry[:count] }.each do |entry| %>
    <tr>
      <td>
        <%= entry[:reconstructor] %>
      </td>
      <td>
        <%= entry[:count] %>
      </td>
    </tr>
  <% end %>

</table>
{'fraction_non_alphanumeric': 0.23114593535749264, 'fraction_numerical': 0.004897159647404506, 'mean_word_length': 2.4180602006688963, 'pattern_counts': {'":': 0, '<': 56, '<?xml version=': 0, '>': 56, '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': '1270477', 'n_tokens_mistral': 417, 'n_tokens_neox': 391, 'n_words': 72}