<commit_before><template lang="pug">
  div
    div(v-if="song")
      span {{$route.params.songName}}
      v-data-table(:headers = "headers",
      :items = "song.difficulties",
      :pagination.sync="pagination")
        template(slot="items" scope="props")
          tr
            td {{props.item.rank}}
            td(align="right") {{props.item.level}}
            td(align="right") {{props.item.notes}}
            td(align="right") {{props.item.density}}
            td(align="right") {{props.item.stamina}}
</template>
<script>
  import { mapState } from 'vuex';

  export default {
    data() {
      return {
        headers: [
          { text: 'rank', align: 'left', value: 'rank', sortable: false },
          { text: 'level', align: 'right', value: 'lebel', sortable: false },
          { text: 'notes', align: 'right', value: 'notes', sortable: false },
          { text: '密度', align: 'right', value: 'density', sortable: false },
          { text: 'stamina', align: 'right', value: 'stamina', sortable: false },
        ],
        pagination: {
          sortBy: 'level',
        },
      };
    },
    computed: {
      ...mapState({
        song(state) {
          return state.songs.filter(song => song.title === this.$route.params.songName)[0];
        },
      }),
    },
    mounted() {
      this.$store.dispatch('fetchSongs');
    },
  };<commit_msg>adjust table<commit_after><template lang="pug">
  div
    div(v-if="song")
      span {{$route.params.songName}}
      v-data-table(:headers = "headers",
      :items = "song.difficulties",
      hide-actions,
      :pagination.sync="pagination")
        template(slot="items" scope="props")
          tr
            td {{props.item.rank}}
            td(align="right") {{props.item.level}}
            td(align="right") {{props.item.notes}}
            td(align="right") {{props.item.density}}
            td(align="right") {{props.item.stamina}}
</template>
<script>
  import { mapState } from 'vuex';

  export default {
    data() {
      return {
        headers: [
          { text: 'rank', align: 'left', value: 'rank', sortable: false },
          { text: 'level', align: 'right', value: 'lebel', sortable: false },
          { text: 'notes', align: 'right', value: 'notes', sortable: false },
          { text: '密度', align: 'right', value: 'density', sortable: false },
          { text: 'stamina', align: 'right', value: 'stamina', sortable: false },
        ],
        pagination: {
          sortBy: 'level',
          rowsPerPage: 6,
        },
      };
    },
    computed: {
      ...mapState({
        song(state) {
          return state.songs.filter(song => song.title === this.$route.params.songName)[0];
        },
      }),
    },
    mounted() {
      this.$store.dispatch('fetchSongs');
    },
  };
{'fraction_non_alphanumeric': 0.1866285305684662, 'fraction_numerical': 0.0010725777618877368, 'mean_word_length': 2.1367713004484306, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '5758122', 'n_tokens_mistral': 879, 'n_tokens_neox': 865, 'n_words': 178}