<commit_before><template>
  <li class="h-tree-li"
      :class="{'h-tree-li-opened':data.status.opened}">
    <div class="h-tree-show"
      :class="{'h-tree-show-disabled':data.status.disabled}" v-show="!data.status.hide">
      <span class='h-tree-show-expand'>
        <span @click="toggleTree()"
              v-if="data.status.isWait"><template v-if="!data.status.loading"><i class='h-icon-right'></i></template><template v-else><i class='h-icon-loading'></i></template></span>
        <span @click="toggleTree()"
              v-else-if="data.children&&data.children.length>0"><i class='h-icon-right'></i></span>
      </span>
      <Checkbox :disabled="data.status.disabled" v-if="multiple&&data.status.checkable" v-model="data.status.choose" :indeterminate="data.status.indeterminate" @input="choose(data)"></Checkbox>
      <div class='h-tree-show-desc' :class="{'selected': status.selected == data.key}" @click="select">
          <span class="h-tree-show-icon" :class="data.icon" v-if="data.icon"></span>
          <span>{{data.title||'空'}}</span>
      </div><commit_msg>feat: mapping tree status to class<commit_after><template>
  <li class="h-tree-li"
      :class="{'h-tree-li-opened':data.status.opened}">
    <div class="h-tree-show"
      :class="{'h-tree-show-disabled':data.status.disabled, 'h-tree-show-choose': data.status.choose, 'h-tree-show-indeterminate': data.status.indeterminate}" v-show="!data.status.hide">
      <span class='h-tree-show-expand'>
        <span @click="toggleTree()"
              v-if="data.status.isWait"><template v-if="!data.status.loading"><i class='h-icon-right'></i></template><template v-else><i class='h-icon-loading'></i></template></span>
        <span @click="toggleTree()"
              v-else-if="data.children&&data.children.length>0"><i class='h-icon-right'></i></span>
      </span>
      <Checkbox :disabled="data.status.disabled" v-if="multiple&&data.status.checkable" v-model="data.status.choose" :indeterminate="data.status.indeterminate" @input="choose(data)"></Checkbox>
      <div class='h-tree-show-desc' :class="{'selected': status.selected == data.key}" @click="select">
          <span class="h-tree-show-icon" :class="data.icon" v-if="data.icon"></span>
          <span>{{data.title||'空'}}</span>
      </div>
{'fraction_non_alphanumeric': 0.2288840262582057, 'fraction_numerical': 0.00087527352297593, 'mean_word_length': 3.8846153846153846, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 59, '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': '799651', 'n_tokens_mistral': 792, 'n_tokens_neox': 767, 'n_words': 88}