<commit_before>let serviceMixin = {
  props: {
    contextId: {
      type: String,
      default: ''
    },
    service: {
      type: String,
      default: ''
    }
  },
  methods: {
    getService () {
      return this._service
    },
    getServicePath () {
      return this._service ? this._service.path : ''
    },
    loadService () {
      // Create a new mixin promise if required
      const path = this.$api.getServicePath(this.service, this.contextId)
      const serviceChanged = this.getServicePath() !== path
      if (serviceChanged) {
        this._service = this.$api.service(path)
        if (!this._service) {
          throw new Error('Cannot retrieve target service ' + this.service)
        }<commit_msg>Changed default context value in service mixin to target contextual service WIP https://github.com/kalisio/aktnmap/issues/52<commit_after>let serviceMixin = {
  props: {
    contextId: {
      type: String,
      default: undefined
    },
    service: {
      type: String,
      default: ''
    }
  },
  methods: {
    getService () {
      return this._service
    },
    getServicePath () {
      return this._service ? this._service.path : ''
    },
    loadService () {
      // Create a new mixin promise if required
      const path = this.$api.getServicePath(this.service, this.contextId)
      const serviceChanged = this.getServicePath() !== path
      if (serviceChanged) {
        this._service = this.$api.service(path)
        if (!this._service) {
          throw new Error('Cannot retrieve target service ' + this.service)
        }
{'fraction_non_alphanumeric': 0.11660329531051965, 'fraction_numerical': 0.0012674271229404308, 'mean_word_length': 2.275933609958506, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '7039592', 'n_tokens_mistral': 449, 'n_tokens_neox': 445, 'n_words': 109}