<commit_before><div class="tool-category-links">
<% categories.each do |category| %>
    <h4 class="tool-category-links__heading"><%= link_to category.title, category.path %></h4>
    <p>
      <%= category.contents.map do |sub_category|
          link_to sub_category.title, sub_category.path,
                  class: "tool-category-links__link"
        end.join(', ').html_safe
      %>
    </p>
<% end %>
</div><commit_msg>Switch to heading helper for accessible headings<commit_after><div class="tool-category-links">
<% categories.each do |category| %>
    <%= heading_tag(level: 4, class: 'tool-category-links__heading') do %>
      <%= link_to category.title, category.path %>
    <% end %>
    <p>
      <%= category.contents.map do |sub_category|
          link_to sub_category.title, sub_category.path,
                  class: "tool-category-links__link"
        end.join(', ').html_safe
      %>
    </p>
<% end %>
</div>
{'fraction_non_alphanumeric': 0.16274089935760172, 'fraction_numerical': 0.0032119914346895075, 'mean_word_length': 2.879668049792531, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '4497776', 'n_tokens_mistral': 315, 'n_tokens_neox': 294, 'n_words': 58}