<commit_before><section ng-hide="snapshotList.length == 0">
  <table class="grid-list">
    <thead>
      <tr class="grid-list-header">
        <th>ID</th>
        <th class="column">Sha</th>
        <th class="column">Created</th>
        <th class="column">Status</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="snapshot in snapshotList">
        <td>
          <a ng-click="showDetails(snapshot)">{{snapshot.id}}</a>
        </td>
        <td class="column" ng-if="snapshot.source.revision.sha">
          {{snapshot.source.revision.sha.substr(12)}}
        </td>
        <td class="column" ng-if="!snapshot.source.revision.sha">
          &mdash;
        </td>
        <td class="column"><span time-since="snapshot.dateCreated"></span></td>
        <td class="column" ng-if="snapshot.status.id == 'active'">
          <a ng-if="snapshot.id == currentSnapshotId"
             ng-click="deactivateSnapshot(snapshot.id)">Deactivate</a>
          <a ng-if="snapshot.id != currentSnapshotId"
             ng-click="activateSnapshot(snapshot.id)">Activate</a>
        </td>
        <td class="column" ng-if="snapshot.status.id != 'active'">
          <em>{{snapshot.status.name}}</em>
        </td>
      </tr>
    </tbody>
  </table>

  <ul class="pager">
    <li class="previous" ng-class="snapshotPaginator.previousPage === null ? 'disabled' : ''">
      <a ng-click="snapshotPaginator.loadPreviousPage()">&larr; Previous</a>
    </li>
    <li class="next" ng-class="snapshotPaginator.nextPage === null ? 'disabled' : ''">
      <a ng-click="snapshotPaginator.loadNextPage()">Next &rarr;</a>
    </li><commit_msg>Fix SHA display in snapshot page<commit_after><section ng-hide="snapshotList.length == 0">
  <table class="grid-list">
    <thead>
      <tr class="grid-list-header">
        <th>ID</th>
        <th class="column">Sha</th>
        <th class="column">Created</th>
        <th class="column">Status</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="snapshot in snapshotList">
        <td>
          <a ng-click="showDetails(snapshot)">{{snapshot.id}}</a>
        </td>
        <td class="column" ng-if="snapshot.source.revision.sha">
          {{snapshot.source.revision.sha.substr(0, 12)}}
        </td>
        <td class="column" ng-if="!snapshot.source.revision.sha">
          &mdash;
        </td>
        <td class="column"><span time-since="snapshot.dateCreated"></span></td>
        <td class="column" ng-if="snapshot.status.id == 'active'">
          <a ng-if="snapshot.id == currentSnapshotId"
             ng-click="deactivateSnapshot(snapshot.id)">Deactivate</a>
          <a ng-if="snapshot.id != currentSnapshotId"
             ng-click="activateSnapshot(snapshot.id)">Activate</a>
        </td>
        <td class="column" ng-if="snapshot.status.id != 'active'">
          <em>{{snapshot.status.name}}</em>
        </td>
      </tr>
    </tbody>
  </table>

  <ul class="pager">
    <li class="previous" ng-class="snapshotPaginator.previousPage === null ? 'disabled' : ''">
      <a ng-click="snapshotPaginator.loadPreviousPage()">&larr; Previous</a>
    </li>
    <li class="next" ng-class="snapshotPaginator.nextPage === null ? 'disabled' : ''">
      <a ng-click="snapshotPaginator.loadNextPage()">Next &rarr;</a>
    </li>
{'fraction_non_alphanumeric': 0.19725609756097562, 'fraction_numerical': 0.002134146341463415, 'mean_word_length': 2.665921787709497, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 103, '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': '5095709', 'n_tokens_mistral': 1072, 'n_tokens_neox': 1086, 'n_words': 167}