<commit_before><div class="page-header">
  <span class="glyphicon glyphicon-stats"></span>
  Bounced by Type
</div>

<% columns = 6 %>
<% @bounced_by_type.sort_by(&:first).each_slice(columns) do |chunk| %>
  <section>
    <% columns.times.map {|i| chunk[i] }.each do |reason, count_by_destination| %>
      <%= content_tag :div, class: "col-sm-#{12 / columns}" do %>
        <% if reason.present? %>
          <%= content_tag(:div, nil, id: "bounced_by_#{reason}") %>
        <% end %>
      <% end %>
    <% end %>
  </section>

  <% chunk.each do |reason, count_by_destination| %>
    <% count_by_destination = count_by_destination.sort_by(&:last).reverse %>
    <%= javascript_tag do %><commit_msg>Small fix<commit_after><div class="page-header">
  <span class="glyphicon glyphicon-stats"></span>
  Bounced by Type
</div>

<% columns = 4 %>
<% @bounced_by_type.sort_by(&:first).each_slice(columns) do |chunk| %>
  <section>
    <% columns.times.map {|i| chunk[i] }.each do |reason, count_by_destination| %>
      <%= content_tag :div, class: "col-sm-#{12 / columns}" do %>
        <% if reason.present? %>
          <%= content_tag(:div, nil, id: "bounced_by_#{reason}") %>
        <% end %>
      <% end %>
    <% end %>
  </section>

  <% chunk.each do |reason, count_by_destination| %>
    <% count_by_destination = count_by_destination.sort_by(&:last).reverse %>
    <%= javascript_tag do %>
{'fraction_non_alphanumeric': 0.19456366237482117, 'fraction_numerical': 0.004291845493562232, 'mean_word_length': 3.483974358974359, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '4428301', 'n_tokens_mistral': 537, 'n_tokens_neox': 481, 'n_words': 93}