<commit_before><% if constant_listing.size > 0 || object.constants.size > 0 %>
  <h2>Constant Summary</h2>
  <% if constant_listing.size > 0 %>
    <dl class="constants">
      <% constant_listing.each do |cnst| %>
        <dt id="<%= anchor_for(cnst) %>" class="<%= cnst.has_tag?(:deprecated) ? 'deprecated' : '' %>"><%= cnst.name %> =
          <%= yieldall :object => cnst %>
        </dt>
        <dd><pre class="code"><%= format_constant cnst.value %></pre></dd>
      <% end %>
    </dl>
  <% end %>
<% end %><commit_msg>Avoid empty constant listing section<commit_after><% if constant_listing.size > 0 %>
  <h2>Constant Summary</h2>
  <dl class="constants">
    <% constant_listing.each do |cnst| %>
      <dt id="<%= anchor_for(cnst) %>" class="<%= cnst.has_tag?(:deprecated) ? 'deprecated' : '' %>"><%= cnst.name %> =
        <%= yieldall :object => cnst %>
      </dt>
      <dd><pre class="code"><%= format_constant cnst.value %></pre></dd>
    <% end %>
  </dl>
<% end %>
{'fraction_non_alphanumeric': 0.2288911495422177, 'fraction_numerical': 0.008138351983723296, 'mean_word_length': 3.1872340425531913, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 49, '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': '5557568', 'n_tokens_mistral': 387, 'n_tokens_neox': 351, 'n_words': 70}