<commit_before><nav class="pagination small-buttons">
  <ul role="navigation">
    <li *ngIf="hasPreviousPage()">
        <a [routerLink]="['/', componentName, 'page', (currentPage - 1)]"><i class="fa fa-fw fa-caret-left" aria-hidden="true"></i><span class="sr-only">Previous page</span></a>
    </li>
    <li class="spacer">page {{currentPage}} of {{totalPages}}</li>
    <li *ngIf="hasNextPage()">
      <a [routerLink]="['/', componentName, 'page', (currentPage + 1)]"><i class="fa fa-fw fa-caret-right" aria-hidden="true"></i><span class="sr-only">Next page</span></a>
    </li>
  </ul>
</nav><commit_msg>Add first and last links to pagination<commit_after><nav class="pagination small-buttons">
  <ul role="navigation">
    <li *ngIf="hasPreviousPage()">
      <a [routerLink]="['/', componentName, 'page', 1]"><i class="fa fa-fw fa-angle-double-left" aria-hidden="true"></i> First</a>
    </li>
    <li *ngIf="hasPreviousPage()">
        <a [routerLink]="['/', componentName, 'page', (currentPage - 1)]"><i class="fa fa-fw fa-angle-left" aria-hidden="true"></i> Previous</a>
    </li>
    <li class="spacer">page {{currentPage}} of {{totalPages}}</li>
    <li *ngIf="hasNextPage()">
      <a [routerLink]="['/', componentName, 'page', (currentPage + 1)]">Next <i class="fa fa-fw fa-angle-right" aria-hidden="true"></i></a>
    </li>
    <li *ngIf="hasNextPage()">
      <a [routerLink]="['/', componentName, 'page', totalPages]">Last <i class="fa fa-fw fa-angle-double-right" aria-hidden="true"></i></a>
    </li>
  </ul>
</nav>
{'fraction_non_alphanumeric': 0.24771838331160365, 'fraction_numerical': 0.003259452411994785, 'mean_word_length': 4.385964912280702, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, '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': '2544801', 'n_tokens_mistral': 552, 'n_tokens_neox': 537, 'n_words': 113}