<commit_before>function ZoneServiceMock () {
  function noop () { }

  this.spec = {
    onScheduleTask: noop,
    onInvokeTask: noop,
    onCancelTask: noop
  }

  this.zone = {}
  this.get = function (key) {
    return this.zone[key]
  }
  this.set = function (key, value) {
    this.zone[key] = value
  }
  this.runOuter = function (fn) {
    return fn()
  }
  this.zone.run = function (callback, applyThis, applyArgs, source) {
    callback.apply(applyThis, applyArgs)
  }

  this.runInOpbeatZone = function (fn, applyThis, applyArgs) {
    fn.apply(applyThis, applyArgs)
  }
}
module.exports = ZoneServiceMock
<commit_msg>fix(ZoneServiceMock): return value from run functions<commit_after>function ZoneServiceMock () {
  function noop () { }

  this.spec = {
    onScheduleTask: noop,
    onInvokeTask: noop,
    onCancelTask: noop
  }

  this.zone = {}
  this.get = function (key) {
    return this.zone[key]
  }
  this.set = function (key, value) {
    this.zone[key] = value
  }
  this.runOuter = function (fn) {
    return fn()
  }
  this.zone.run = function (callback, applyThis, applyArgs, source) {
    return callback.apply(applyThis, applyArgs)
  }

  this.runInOpbeatZone = function (fn, applyThis, applyArgs) {
    return fn.apply(applyThis, applyArgs)
  }
}
module.exports = ZoneServiceMock

{'fraction_non_alphanumeric': 0.1246177370030581, 'fraction_numerical': 0.0, 'mean_word_length': 3.2777777777777777, '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': '1351481', 'n_tokens_mistral': 455, 'n_tokens_neox': 448, 'n_words': 97}