<commit_before><template>
  <div class="tag-input-container"
       tabindex="-1"
       :class="{ focus: focusIndex !== -2 }"
       @keyup.up="minusIndex"
       @keyup.down="plusIndex"
       @keyup.left="moveLeft"
       @keyup.right="moveRight"
       @keyup.enter.prevent="select"
       @focus="setFocus">
    <tag-input v-model="keyword"
               v-if="!readonly"
               :index="-1"
               :focus-index="focusIndex"
               :selected="selected"
               :on-focus="onFocus"
               :on-blur="stopHandleInput">
    </tag-input>
    <template v-for="(tagItem, index) in tagsToShow">
      <tag :key="index"
           :tag="tagItem.tag"
           :index="index"
           :readonly="readonly || tagItem.readonly"
           @remove-tag="removeTag">
      </tag>
      <tag-input v-model="keyword"
                 v-if="!readonly"
                 :index="index"
                 :focus-index="focusIndex"
                 :selected="selected"
                 :on-focus="onFocus"
                 :on-blur="stopHandleInput"
                 @delete="removeTag">
      </tag-input>
    </template>
    <spinner class="spinner" v-if="requestCount && !simple && spinner"></spinner>
    <ul v-show="items.length && keyword && searching"
        class="search-result-container"
        :style="'max-height:' + height + 'px'"
        @scroll="onScroll">
      <li v-for="(item, index) in items"
          :key="index"
          class="search-result-item"
          @click="selectItem(index)"<commit_msg>fix: simple => simpleMode<commit_after><template>
  <div class="tag-input-container"
       tabindex="-1"
       :class="{ focus: focusIndex !== -2 }"
       @keyup.up="minusIndex"
       @keyup.down="plusIndex"
       @keyup.left="moveLeft"
       @keyup.right="moveRight"
       @keyup.enter.prevent="select"
       @focus="setFocus">
    <tag-input v-model="keyword"
               v-if="!readonly"
               :index="-1"
               :focus-index="focusIndex"
               :selected="selected"
               :on-focus="onFocus"
               :on-blur="stopHandleInput">
    </tag-input>
    <template v-for="(tagItem, index) in tagsToShow">
      <tag :key="index"
           :tag="tagItem.tag"
           :index="index"
           :readonly="readonly || tagItem.readonly"
           @remove-tag="removeTag">
      </tag>
      <tag-input v-model="keyword"
                 v-if="!readonly"
                 :index="index"
                 :focus-index="focusIndex"
                 :selected="selected"
                 :on-focus="onFocus"
                 :on-blur="stopHandleInput"
                 @delete="removeTag">
      </tag-input>
    </template>
    <spinner class="spinner" v-if="requestCount && !simpleMode && spinner"></spinner>
    <ul v-show="items.length && keyword && searching"
        class="search-result-container"
        :style="'max-height:' + height + 'px'"
        @scroll="onScroll">
      <li v-for="(item, index) in items"
          :key="index"
          class="search-result-item"
          @click="selectItem(index)"
{'fraction_non_alphanumeric': 0.16420308483290488, 'fraction_numerical': 0.0019280205655526992, 'mean_word_length': 1.8770794824399262, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 30, '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': '5812351', 'n_tokens_mistral': 937, 'n_tokens_neox': 918, 'n_words': 139}