<commit_before>{% load i18n %}
{% if items.has_other_pages %}
  <ul class="pagination">
    {% if items.has_previous %}
      <li><a href="?page={{ items.previous_page_number }}">«</a></li>
    {% endif %}
    <li><a href="">{{ items.number }}</a></li>
    <li><a>of</a></li>
    <li><a href="?page={{ items.paginator.num_pages }}">{{ items.paginator.num_pages }}</a></li>
    {% if items.has_next %}
      <li><a href="?page={{ items.next_page_number }}">»</a></li>
    {% endif %}
  </div>
{% endif %}<commit_msg>This is better, but still kind of stupid<commit_after>{% load i18n %}
{% if items.has_other_pages %}
  <ul class="pagination">
    {% if items.has_previous %}
      <li><a href="?page={{ items.previous_page_number }}">«</a></li>
    {% else %}
      <li class="disabled"><a href="#">«</a></li>
    {% endif %}
    {% for page in items.paginator.page_range %}
      {% if page == items.number %}
        <li class="current page active"><a href="#">{{ page }}</a></li>
      {% else %}
        <li><a href="?page={{ page }}">{{ page }}</a></li>
      {% endif %}
    {% endfor %}
    {% if items.has_next %}
      <li><a href="?page={{ items.next_page_number }}">»</a></li>
    {% else %}
      <li class="disabled"><a href="#">»</a></li>
    {% endif %}
  </div>
{% endif %}
{'fraction_non_alphanumeric': 0.26164596273291924, 'fraction_numerical': 0.003105590062111801, 'mean_word_length': 3.092063492063492, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, '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': '6323247', 'n_tokens_mistral': 507, 'n_tokens_neox': 459, 'n_words': 101}