<commit_before><template>
  <table :class="[{'vuetable': true}, css.tableClass]">
    <thead>
      <tr>
        <template v-for="field in fields">
          <template v-if="field.visible">
            <template v-if="isSpecialField(field.name)">
              <th v-if="extractName(field.name) == '__checkbox'" :class="[field.titleClass || '']">
                <input type="checkbox" @change="toggleAllCheckboxes(field.name, $event)">
              </th>
              <th v-if="extractName(field.name) == '__component'"
                  @click="orderBy(field, $event)"
                  :class="[field.titleClass, {'sortable': isSortable(field)}]"
                  v-html="field.title || ''">
                  <i v-if="isCurrentSortField(field) && field.title"
                     :class="sortIcon(field)"
                     :style="{opacity: sortIconOpacity(field)}"></i>
              </th>
              <th v-if="notIn(extractName(field.name), ['__checkbox', '__component'])"
                  :id="'_' + extractArgs(field.name)" class="[field.titleClass || '']" v-html="field.title || ''">
              </th>
            </template>
            <template v-else>
              <th @click="orderBy(field, $event)"
                :id="'_' + field.name"
                :class="[field.titleClass,  {'sortable': isSortable(field)}]"><commit_msg>Fix sort icon for component field type<commit_after><template>
  <table :class="[{'vuetable': true}, css.tableClass]">
    <thead>
      <tr>
        <template v-for="field in fields">
          <template v-if="field.visible">
            <template v-if="isSpecialField(field.name)">
              <th v-if="extractName(field.name) == '__checkbox'" :class="[field.titleClass || '']">
                <input type="checkbox" @change="toggleAllCheckboxes(field.name, $event)">
              </th>
              <th v-if="extractName(field.name) == '__component'"
                  @click="orderBy(field, $event)"
                  :class="[field.titleClass, {'sortable': isSortable(field)}]">
                  {{ field.title || '' }}
                  <i v-if="isCurrentSortField(field) && field.title"
                     :class="sortIcon(field)"
                     :style="{opacity: sortIconOpacity(field)}"></i>
              </th>
              <th v-if="notIn(extractName(field.name), ['__checkbox', '__component'])"
                  :id="'_' + extractArgs(field.name)" class="[field.titleClass || '']" v-html="field.title || ''">
              </th>
            </template>
            <template v-else>
              <th @click="orderBy(field, $event)"
                :id="'_' + field.name"
                :class="[field.titleClass,  {'sortable': isSortable(field)}]">
{'fraction_non_alphanumeric': 0.18567251461988304, 'fraction_numerical': 0.0, 'mean_word_length': 2.0276548672566372, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, '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': '940545', 'n_tokens_mistral': 819, 'n_tokens_neox': 787, 'n_words': 125}