<commit_before><template>
  <div :class="['list-group', {'editable': editable}]">
    <div class="title">
      <span class="category">{{ title }}</span>
      <slot name="extra-title"></slot>
    </div>
    <ul class="list" @dragover.prevent>
      <template v-for="(item, index) in list">
        <editable-item :item="item" :editable="editable" :key="item.key"
          @modify="(key, value) => modify(index, key, value)"
          @drop.native="drop(item)" @drag="drag(item)" :schedule="schedule"
          :instant="instant" :recoverable="recoverable">
        </editable-item>
        <div class="divider"></div>
      </template>
      <li class="add-item" v-if="editable" @drop="drop(null)">
        <input type="text" class="editor" :placeholder="i18n('Add a to-do#!11')"
          v-model.trim.lazy="input" @keyup.enter="add" ref="creator">
        <div class="facility">
          <span class="operation add autohide" @click.stop="add" v-if="input">
            <span class="icon-plus"></span>
          </span>
          <span class="operation remove autohide" @click.stop="clear" v-if="input">
            <span class="icon-trash"></span>
          </span><commit_msg>Fix bug when removing todo items<commit_after><template>
  <div :class="['list-group', {'editable': editable}]">
    <div class="title">
      <span class="category">{{ title }}</span>
      <slot name="extra-title"></slot>
    </div>
    <ul class="list" @dragover.prevent>
      <template v-for="(item, index) in list">
        <editable-item :item="item" :editable="editable" :key="item.key"
          @modify="(key, value) => modify(index, key, value)" @remove="remove(item)"
          @drop.native="drop(item)" @drag="drag(item)" :schedule="schedule"
          :instant="instant" :recoverable="recoverable">
        </editable-item>
        <div class="divider"></div>
      </template>
      <li class="add-item" v-if="editable" @drop="drop(null)">
        <input type="text" class="editor" :placeholder="i18n('Add a to-do#!11')"
          v-model.trim.lazy="input" @keyup.enter="add" ref="creator">
        <div class="facility">
          <span class="operation add autohide" @click.stop="add" v-if="input">
            <span class="icon-plus"></span>
          </span>
          <span class="operation remove autohide" @click.stop="clear" v-if="input">
            <span class="icon-trash"></span>
          </span>
{'fraction_non_alphanumeric': 0.20365752285951788, 'fraction_numerical': 0.0033250207813798837, 'mean_word_length': 3.0727580372250425, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 57, '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': '5144501', 'n_tokens_mistral': 784, 'n_tokens_neox': 773, 'n_words': 151}