<commit_before><%# Link to the "Next" page
  - available local variables
    url:           url to the next page
    current_page:  a page object for the currently displayed page
    num_pages:     total number of pages
    per_page:      number of items to fetch per page
    remote:        data-remote
-%>
<% text = "Next page <span>#{current_page + 1} of #{num_pages}</span>".html_safe %>
<li class="next"><%= link_to_unless current_page.last?, text, url %>
<link rel="next" type="application/json" href="<%= filter_json_url(page: current_page + 1, format: :json) %>">
</li>
<commit_msg>JSON format already present in helper, remove<commit_after><%# Link to the "Next" page
  - available local variables
    url:           url to the next page
    current_page:  a page object for the currently displayed page
    num_pages:     total number of pages
    per_page:      number of items to fetch per page
    remote:        data-remote
-%>
<% text = "Next page <span>#{current_page + 1} of #{num_pages}</span>".html_safe %>
<li class="next"><%= link_to_unless current_page.last?, text, url %>
<link rel="next" type="application/json" href="<%= filter_json_url(page: current_page + 1) %>">
</li>

{'fraction_non_alphanumeric': 0.13032581453634084, 'fraction_numerical': 0.003341687552213868, 'mean_word_length': 3.5900383141762453, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '2350135', 'n_tokens_mistral': 379, 'n_tokens_neox': 364, 'n_words': 128}