<commit_before>import Analyzer from 'Parser/Core/Analyzer';

class HealingTargetTracker extends Analyzer {
  healingDoneToSelf = 0;
  overHealingDoneToSelf = 0;
  get rawHealingDoneToSelf() {
    return this.healingDoneToSelf + this.overHealingDoneToSelf;
  }

  healingDoneTotal = 0;
  overHealingDoneTotal = 0;
  get rawHealingDoneTotal() {
    return this.healingDoneTotal + this.overHealingDoneTotal;
  }

  on_byPlayer_heal(event) {
    if (event.sourceID === this.owner.playerId) {
      this.healingDoneToSelf += event.amount;
      this.overHealingDoneToSelf += event.overheal | 0;
    }
    this.healingDoneTotal += event.amount;
    this.overHealingDoneTotal += event.overheal | 0;
  }
}

export default HealingTargetTracker;<commit_msg>fixing target id<commit_after>import Analyzer from 'Parser/Core/Analyzer';

class HealingTargetTracker extends Analyzer {
  healingDoneToSelf = 0;
  overHealingDoneToSelf = 0;
  get rawHealingDoneToSelf() {
    return this.healingDoneToSelf + this.overHealingDoneToSelf;
  }

  healingDoneTotal = 0;
  overHealingDoneTotal = 0;
  get rawHealingDoneTotal() {
    return this.healingDoneTotal + this.overHealingDoneTotal;
  }

  on_byPlayer_heal(event) {
    if (event.targetID === this.owner.playerId) {
      this.healingDoneToSelf += event.amount;
      this.overHealingDoneToSelf += event.overheal | 0;
    }
    this.healingDoneTotal += event.amount;
    this.overHealingDoneTotal += event.overheal | 0;
  }
}

export default HealingTargetTracker;
{'fraction_non_alphanumeric': 0.09485637942551771, 'fraction_numerical': 0.008016032064128256, 'mean_word_length': 4.219512195121951, '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': '4263459', 'n_tokens_mistral': 514, 'n_tokens_neox': 496, 'n_words': 87}