<commit_before>export default {
  data () {
    return {
      isActive: this.value
    }
  },

  props: {
    value: Boolean
  },

  watch: {
    value () {
      this.isActive = this.value
    },
    isActive () {
      this.$emit('input', this.isActive)
    }
  }
}<commit_msg>enhancement for #292<commit_after>export default {
  data () {
    return {
      isActive: this.value
    }
  },

  props: {
    value: {
      required: false
    }
  },

  watch: {
    value () {
      this.isActive = Boolean(this.value)
    },
    isActive () {
      this.$emit('input', this.isActive)
    }
  }
}
{'fraction_non_alphanumeric': 0.1505016722408027, 'fraction_numerical': 0.005016722408026756, 'mean_word_length': 1.8254716981132075, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4406742', 'n_tokens_mistral': 217, 'n_tokens_neox': 208, 'n_words': 35}