<commit_before><template>
  <div>
    <div class="card">
      <div class="card-table">
        <div class="content">
          <table class="table is-fullwidth is-striped">
            <thead>
            <tr>
              <td>BitBucket Id</td>
              <td>Slack Id</td>
              <td>Actions</td>
            </tr>
            </thead>
            <tbody>
            <tr>
              <td>
                <input class="input is-small" placeholder="BitBucket Id" v-model="newUser.bitBucketId">
              </td>
              <td>
                <input class="input is-small" placeholder="Slack Id" v-model="newUser.slackId">
              </td>
              <td>
                <a class="button is-small is-primary"
                   v-bind:disabled="!newUser.slackId">Test Slack ID</a>
                <a class="button is-small is-success"
                   v-bind:disabled="!newUser.bitBucketId || !newUser.slackId"
                   @click="addUserMapping">Add</a>
                <span class="tag is-rounded is-success" v-if="newUser.status == 'success'">Success</span>
                <span class="tag is-rounded is-danger" v-if="newUser.status == 'error'">Error</span>
              </td>
            </tr>
            <tr v-for="user in users" v-bind:class="{ 'is-selected': user.unsaved }">
              <td>{{user.bitBucketId}}</td>
              <td>{{user.slackId}}</td>
              <td>
                <a class="button is-small is-primary">Test Slack ID</a>
                <a class="button is-small is-info"
                   @click="testUserMapping(user)"
                   v-if="!user.unsaved"
                   v-bind:class="{ 'is-loading': user.loading }">
                  Test Mapping
                </a>
                <a class="button is-small is-danger"
                   @click="removeUserMapping(user)">
                  Remove
                </a>
                <span class="tag is-rounded is-success" v-if="user.status == 'success'">Success</span>
                <span class="tag is-rounded is-danger" v-if="user.status == 'error'">Error</span>
              </td>
            </tr><commit_msg>Cleanup<commit_after><template>
  <div>
    <div class="card">
      <div class="card-table">
        <div class="content">
          <table class="table is-fullwidth is-striped">
            <thead>
            <tr>
              <td>BitBucket Id</td>
              <td>Slack Id</td>
              <td>Actions</td>
            </tr>
            </thead>
            <tbody>
            <tr>
              <td>
                <input class="input is-small" placeholder="BitBucket Id" v-model="newUser.bitBucketId">
              </td>
              <td>
                <input class="input is-small" placeholder="Slack Id" v-model="newUser.slackId">
              </td>
              <td>
                <a class="button is-small"
                   v-bind:disabled="!newUser.slackId"
                   v-bind:class="{
                     'is-loading': newUser.loading ,
                     'is-success': newUser.status == 'success',
                     'is-danger': newUser.status == 'error'
                   }">Test Slack ID</a>
                <a class="button is-small is-success"
                   v-bind:disabled="!newUser.bitBucketId || !newUser.slackId"
                   @click="addUserMapping">Add</a>
              </td>
            </tr>
            <tr v-for="user in users" v-bind:class="{ 'is-selected': user.unsaved }">
              <td>{{user.bitBucketId}}</td>
              <td>{{user.slackId}}</td>
              <td>
                <a class="button is-small">Test Slack ID</a>
                <a class="button is-small"
                   @click="testUserMapping(user)"
                   v-if="!user.unsaved"
                   v-bind:class="{
                     'is-loading': user.loading ,
                     'is-success': user.status == 'success',
                     'is-danger': user.status == 'error'
                   }">
                  Test Mapping
                </a>
                <a class="button is-small is-danger"
                   @click="removeUserMapping(user)">
                  Remove
                </a>
              </td>
            </tr>
{'fraction_non_alphanumeric': 0.14784442361761949, 'fraction_numerical': 0.0, 'mean_word_length': 1.2647214854111406, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 101, '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': '4202094', 'n_tokens_mistral': 1251, 'n_tokens_neox': 1168, 'n_words': 222}