<commit_before><template>
  <v-list-tile>
    <v-list-tile-content>{{text}}</v-list-tile-content>
    <v-list-tile-action>
      <v-btn :loading="loading" :color="color" @click.native="confirmMethod">Run</v-btn>
    </v-list-tile-action>
  </v-list-tile>
</template>

<script>
  export default {
    class: 'Utility',
    props: {
      text: {
        default: '',
        type: String
      },
      method: {
        default: '',
        type: String
      },
      methodParams: {
        default: () => {
          return {}
        },
        type: Object
      },
      confirmMessage: {
        default: '',
        type: String
      }
    },
    data () {
      return {
        loading: false,
        error: false
      }
    },
    computed: {
      color () {
        return this.error ? 'error' : 'primary'
      }
    },
    methods: {<commit_msg>fix prop type<commit_after><template>
  <v-list-tile>
    <v-list-tile-content>{{text}}</v-list-tile-content>
    <v-list-tile-action>
      <v-btn :loading="loading" :color="color" @click.native="confirmMethod">Run</v-btn>
    </v-list-tile-action>
  </v-list-tile>
</template>

<script>
  export default {
    class: 'Utility',
    props: {
      text: {
        default: '',
        type: String
      },
      method: {
        default: '',
        type: String
      },
      methodParams: {
        default: () => {
          return {}
        },
        type: [Object, Function]
      },
      confirmMessage: {
        default: '',
        type: String
      }
    },
    data () {
      return {
        loading: false,
        error: false
      }
    },
    computed: {
      color () {
        return this.error ? 'error' : 'primary'
      }
    },
    methods: {
{'fraction_non_alphanumeric': 0.16513233601841196, 'fraction_numerical': 0.0, 'mean_word_length': 1.5573529411764706, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 27, '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': '6596362', 'n_tokens_mistral': 559, 'n_tokens_neox': 558, 'n_words': 97}