<commit_before><template>
  <div>
    <el-row>
      <el-col :span="4">left</el-col>
      <el-col :span="20">
        <my-content :files="children"></my-content>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import storage from '../storage.js'
import MyContent from './MyContent.vue'

export default {
  name: 'my-body',
  data () {
    return {
      children: []
    }
  },
  mounted () {
    storage.rootFiles(entries => {
      this.children = entries
    })
  },
  components: {
    MyContent
  }
}
</script>

<style scoped>
</style>
<commit_msg>convert from entries to children<commit_after><template>
  <div>
    <el-row>
      <el-col :span="4">left</el-col>
      <el-col :span="20">
        <my-content :files="children"></my-content>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import storage from '../storage.js'
import MyContent from './MyContent.vue'

export default {
  name: 'my-body',
  data () {
    return {
      children: []
    }
  },
  mounted () {
    storage.rootFiles(entries => {
      const l = entries.map(x => {
        return {
          name: x.name
        }
      })
      this.children = l
    })
  },
  components: {
    MyContent
  }
}
</script>

<style scoped>
</style>

{'fraction_non_alphanumeric': 0.18372280419016923, 'fraction_numerical': 0.004834810636583401, 'mean_word_length': 2.1443037974683543, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 38, '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': '6254899', 'n_tokens_mistral': 446, 'n_tokens_neox': 443, 'n_words': 88}