<commit_before><template>
  <!-- TODO MOVE THIS COMPONENT OUT AFTER STRINGFREEZE -->
  <div>
    <core-table class="user-table">
      <caption class="title">
        {{ title }}
      </caption>

      <thead slot="thead">
        <tr>
          <th class="core-table-icon-col" v-if="selectable">
            <k-checkbox
              @change="selectAll($event)"
              :label="selectAllLabel"
              :showLabel="false"
              :checked="allAreSelected"
            />
          </th>
          <th class="core-table-icon-col"></th>
          <th>{{ $tr('fullName') }}</th>
          <th class="visuallyhidden">{{ $tr('role') }}</th>
          <th>{{ $tr('username') }}</th>
          <th v-if="$scopedSlots.action" class="user-action-button">
            <span class="visuallyhidden">{{ $tr('userActionsColumnHeader') }}</span>
          </th>
        </tr>
      </thead>

      <tbody slot="tbody">
        <tr
          v-for="user in users"
          :key="user.id"
        >
          <td class="core-table-icon-col" v-if="selectable">
            <k-checkbox
              @change="selectUser(user.id, $event)"
              :label="userCheckboxLabel"
              :showLabel="false"
              :checked="userIsSelected(user.id)"
            />

          </td>
          <td class="core-table-icon-col">
            <ui-icon icon="person" />
          </td>
          <td>
            {{ user.full_name }}
            <user-role :role="user.kind" :omitLearner="true" />
          </td>
          <td class="visuallyhidden">
            {{ user.kind }}
          </td>
          <td>{{ user.username }}</td>
          <td v-if="$scopedSlots.action" class="user-action-button">
            <slot name="action" user="user"></slot>
          </td>
        </tr>
      </tbody>
    </core-table>

    <p
      v-if="!users.length"
      class="empty-message"
    >
      {{ emptyMessage }}<commit_msg>Fixing scoped slot in user-table<commit_after><template>
  <!-- TODO MOVE THIS COMPONENT OUT AFTER STRINGFREEZE -->
  <div>
    <core-table class="user-table">
      <caption class="title">
        {{ title }}
      </caption>

      <thead slot="thead">
        <tr>
          <th class="core-table-icon-col" v-if="selectable">
            <k-checkbox
              @change="selectAll($event)"
              :label="selectAllLabel"
              :showLabel="false"
              :checked="allAreSelected"
            />
          </th>
          <th class="core-table-icon-col"></th>
          <th>{{ $tr('fullName') }}</th>
          <th class="visuallyhidden">{{ $tr('role') }}</th>
          <th>{{ $tr('username') }}</th>
          <th v-if="$scopedSlots.action" class="user-action-button">
            <span class="visuallyhidden">{{ $tr('userActionsColumnHeader') }}</span>
          </th>
        </tr>
      </thead>

      <tbody slot="tbody">
        <tr
          v-for="user in users"
          :key="user.id"
        >
          <td class="core-table-icon-col" v-if="selectable">
            <k-checkbox
              @change="selectUser(user.id, $event)"
              :label="userCheckboxLabel"
              :showLabel="false"
              :checked="userIsSelected(user.id)"
            />

          </td>
          <td class="core-table-icon-col">
            <ui-icon icon="person" />
          </td>
          <td>
            {{ user.full_name }}
            <user-role :role="user.kind" :omitLearner="true" />
          </td>
          <td class="visuallyhidden">
            {{ user.kind }}
          </td>
          <td>{{ user.username }}</td>
          <td v-if="$scopedSlots.action" class="user-action-button">
            <slot name="action" :user="user"></slot>
          </td>
        </tr>
      </tbody>
    </core-table>

    <p
      v-if="!users.length"
      class="empty-message"
    >
      {{ emptyMessage }}
{'fraction_non_alphanumeric': 0.18050541516245489, 'fraction_numerical': 0.0, 'mean_word_length': 1.579122340425532, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, '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': '2280791', 'n_tokens_mistral': 1200, 'n_tokens_neox': 1173, 'n_words': 200}