<commit_before><div class="mod-versions-list">
  <a ui-sref="kct.saveManager.modDetail({modId : modVersionsListCtrl.mod.$id})"><span class="glyphicon glyphicon-chevron-left return-label"></span>&nbsp;Return to mod details</a>
  <fieldset class="row no-gutters">
    <legend>Versions of {{modVersionsListCtrl.mod.title}}</legend>
    <form class="form-inline col-xs-12">
      <div class="form-group">
        <label>Search</label>
        <input ng-model="modVersionsListCtrl.customQuery" type="text" class="form-control" />
      </div>
      <div class="form-group">
        <label>Mods per page</label>
        <select ng-model="modVersionsListCtrl.tableConfig.itemsPerPage" ng-options="o as o for o in [1, 2, 5, 10, 20, 50]" class="form-control"></select>
      </div>
      <div class="checkbox-inline">
        <label>
          <input type="checkbox" ng-model="modVersionsListCtrl.tableConfig.fillLastPage" />
          <span>Fill</span>
        </label>
      </div>
    </form>
    <table kct-table
           kct-table-paginated
           kct-table-list="modVersionsListCtrl.filteredModVersions"
           kct-table-config="modVersionsListCtrl.tableConfig"
           class="table table-striped table-condensed table-responsive">
      <caption>Results ({{modVersionsListCtrl.filteredModVersions.length || 0}})</caption>
      <thead></thead>
      <tbody>
        <td kct-table-title="Version" kct-table-attribute="$id" kct-table-sortable kct-table-initial-sorting="desc">
          {{item.$id | replaceChars:'_':'.'}}
        </td>
        <td kct-table-implicit kct-table-attribute="desc" kct-table-sortable kct-table-title="Description"></td>
        <td kct-table-title="Known dependencies">{{item.deps | length}}</td>
        <td kct-table-title="Details">
          <a ui-sref="kct.saveManager.modVersionDetails({modId : modVersionsListCtrl.mod.$id, modVersionId : item.$id})" class="btn btn-primary btn-xs" role="button">Details</a>
        </td>
      </tbody>
    </table>
    <div class="col-sm-12">
      <kct-table-pagination kct-table-config="modVersionsListCtrl.tableConfig" rotate="false" boundary-links="true"></kct-table-pagination>
    </div>
    <div class="col-sm-6">
      <a ui-sref="kct.saveManager.modVersionDetails({modId : modVersionsListCtrl.mod.$id, modVersionId : modVersionsListCtrl.creationKey})" class="btn btn-primary btn-block">Add a version</a>
    </div>
  </fieldset>
  <pre>{{modVersionsListCtrl.filteredModVersions | json}}</pre>
</div>
<commit_msg>removed tests<commit_after><div class="mod-versions-list">
  <a ui-sref="kct.saveManager.modDetail({modId : modVersionsListCtrl.mod.$id})"><span class="glyphicon glyphicon-chevron-left return-label"></span>&nbsp;Return to mod details</a>
  <fieldset class="row no-gutters">
    <legend>Versions of {{modVersionsListCtrl.mod.title}}</legend>
    <form class="form-inline col-xs-12">
      <div class="form-group">
        <label>Search</label>
        <input ng-model="modVersionsListCtrl.customQuery" type="text" class="form-control" />
      </div>
      <div class="form-group">
        <label>Mods per page</label>
        <select ng-model="modVersionsListCtrl.tableConfig.itemsPerPage" ng-options="o as o for o in [1, 2, 5, 10, 20, 50]" class="form-control"></select>
      </div>
    </form>
    <table kct-table
           kct-table-paginated
           kct-table-list="modVersionsListCtrl.filteredModVersions"
           kct-table-config="modVersionsListCtrl.tableConfig"
           class="table table-striped table-condensed table-responsive">
      <caption>Results ({{modVersionsListCtrl.filteredModVersions.length || 0}})</caption>
      <thead></thead>
      <tbody>
        <td kct-table-title="Version" kct-table-attribute="$id" kct-table-sortable kct-table-initial-sorting="desc">
          {{item.$id | replaceChars:'_':'.'}}
        </td>
        <td kct-table-implicit kct-table-attribute="desc" kct-table-sortable kct-table-title="Description"></td>
        <td kct-table-title="Known dependencies">{{item.deps | length}}</td>
        <td kct-table-title="Details">
          <a ui-sref="kct.saveManager.modVersionDetails({modId : modVersionsListCtrl.mod.$id, modVersionId : item.$id})" class="btn btn-primary btn-xs" role="button">Details</a>
        </td>
      </tbody>
    </table>
    <div class="col-sm-12">
      <kct-table-pagination kct-table-config="modVersionsListCtrl.tableConfig" rotate="false" boundary-links="true"></kct-table-pagination>
    </div>
    <div class="col-sm-6">
      <a ui-sref="kct.saveManager.modVersionDetails({modId : modVersionsListCtrl.mod.$id, modVersionId : modVersionsListCtrl.creationKey})" class="btn btn-primary btn-block">Add a version</a>
    </div>
  </fieldset>
  <pre>{{modVersionsListCtrl.filteredModVersions | json}}</pre>
</div>

{'fraction_non_alphanumeric': 0.16895833333333332, 'fraction_numerical': 0.00625, 'mean_word_length': 3.529245283018868, 'pattern_counts': {'":': 0, '<': 112, '<?xml version=': 0, '>': 112, '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': '5835615', 'n_tokens_mistral': 1630, 'n_tokens_neox': 1564, 'n_words': 248}