<commit_before><h3 class="block-title">
  <span><%=block.title%></span>
</h3>
<div class="statistics-block-data">
  <ul>
    <% if block.is_visible?('user_counter') %>
      <li class="users"><span class="amount"><%= block.users%> </span><span class="label"><%= _('users')%></span></li>
    <% end %>
    <% if block.is_visible?('enterprise_counter') && !block.environment.enabled?('disable_asset_enterprises') %>
      <li class="enterprises"><span class="amount"><%= block.enterprises %> </span><span class="label"><%= _('enterprises')%></span></li>
    <% end %>
    <% if block.is_visible?('product_counter') && block.environment.enabled?('products_for_enterprises') %>
      <li class="products"><span class="amount"><%= block.products%> </span><span class="label"><%= _('products')%></span></li>
    <% end %>
    <% if block.is_visible?('community_counter') %>
      <li class="communities"><span class="amount"><%= block.communities%> </span><span class="label"><%= _('communities')%></span></li>
    <% end %>
    <% if block.is_visible?('category_counter') %>
      <li class="categories"><span class="amount"><%= block.categories%> </span><span class="label"><%= _('categories')%></span></li>
    <% end %>
    <% if block.is_visible?('tag_counter') %>
      <li class="tags"><span class="amount"><%= block.tags%> </span><span class="label"><%= c_('tags')%></span></li>
    <% end %>
    <% if block.is_visible?('comment_counter') %>
      <li class="comments"><span class="amount"><%= block.comments%> </span><span class="label"><%= c_('comments')%></span></li>
    <% end %>
    <% if block.is_visible?('hit_counter') %>
      <li class="hits"><span class="amount"><%= block.hits%> </span><span class="label"><%= _('hits')%></span></li>
    <% end %>

    <% if block.owner.kind_of?(Environment) then %>
      <% block.templates.each do |item|  %>
        <% if block.is_template_counter_active? item.id %>
          <li class="<%= item.name.to_slug%>"><span class="amount"><%= block.template_counter_count(item.id)%> </span><span class="label"><%= item.name%></span></li>
        <% end %>
      <% end %>
    <% end %>
  </ul>
</div>
<commit_msg>Make better number formatting for statistics block<commit_after><h3 class="block-title">
  <span><%=block.title%></span>
</h3>
<div class="statistics-block-data">
  <ul>
    <% if block.is_visible?('user_counter') %>
      <li class="users"><span class="amount"><%= number_to_human(block.users) %> </span><span class="label"><%= _('users')%></span></li>
    <% end %>
    <% if block.is_visible?('enterprise_counter') && !block.environment.enabled?('disable_asset_enterprises') %>
      <li class="enterprises"><span class="amount"><%= number_to_human(block.enterprises) %> </span><span class="label"><%= _('enterprises')%></span></li>
    <% end %>
    <% if block.is_visible?('product_counter') && block.environment.enabled?('products_for_enterprises') %>
      <li class="products"><span class="amount"><%= number_to_human(block.products) %> </span><span class="label"><%= _('products')%></span></li>
    <% end %>
    <% if block.is_visible?('community_counter') %>
      <li class="communities"><span class="amount"><%= number_to_human(block.communities) %> </span><span class="label"><%= _('communities')%></span></li>
    <% end %>
    <% if block.is_visible?('category_counter') %>
      <li class="categories"><span class="amount"><%= number_to_human(block.categories) %> </span><span class="label"><%= _('categories')%></span></li>
    <% end %>
    <% if block.is_visible?('tag_counter') %>
      <li class="tags"><span class="amount"><%= number_to_human(block.tags) %> </span><span class="label"><%= c_('tags')%></span></li>
    <% end %>
    <% if block.is_visible?('comment_counter') %>
      <li class="comments"><span class="amount"><%= number_to_human(block.comments) %> </span><span class="label"><%= c_('comments')%></span></li>
    <% end %>
    <% if block.is_visible?('hit_counter') %>
      <li class="hits"><span class="amount"><%= number_to_human(block.hits) %> </span><span class="label"><%= _('hits')%></span></li>
    <% end %>

    <% if block.owner.kind_of?(Environment) then %>
      <% block.templates.each do |item|  %>
        <% if block.is_template_counter_active? item.id %>
          <li class="<%= item.name.to_slug%>"><span class="amount"><%= number_to_human(block.template_counter_count(item.id)) %> </span><span class="label"><%= item.name%></span></li>
        <% end %>
      <% end %>
    <% end %>
  </ul>
</div>

{'fraction_non_alphanumeric': 0.25309734513274335, 'fraction_numerical': 0.0008849557522123894, 'mean_word_length': 4.686792452830189, 'pattern_counts': {'":': 0, '<': 211, '<?xml version=': 0, '>': 211, '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': '409372', 'n_tokens_mistral': 1592, 'n_tokens_neox': 1454, 'n_words': 228}