<commit_before>import SPELLS from 'common/SPELLS/index';
import { EventType } from 'parser/core/Events';

const thisPlayer = 1;
const enemy = 2;

// Damage taken: amount: 224, absorbed: 16, overkill: 0
export const staggerTicks = [
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 10, timestamp: 1000, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 10, timestamp: 1500, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 10, timestamp: 2000, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 10, timestamp: 2500, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 10, timestamp: 3000, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 1, absorbed: 9, timestamp: 3500, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 10, timestamp: 4000, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 10, timestamp: 4500, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 10, timestamp: 5000, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 10, timestamp: 5500, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 8, absorbed: 7, timestamp: 6000, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 15, timestamp: 6500, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 15, timestamp: 7000, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 15, timestamp: 7500, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 15, timestamp: 8000, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 13, timestamp: 8500, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 13, timestamp: 9000, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 13, timestamp: 9500, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 13, timestamp: 10000, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 13, timestamp: 10500, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
];

// 599 will be removed by the stagger array below when combined
// Damage taken: amount: 1200, absorbed: 599, overkill: 0
export const incomingDamage = [
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 400, timestamp: 1, ability: { guid: 1 } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 400, absorbed: 300, timestamp: 500, ability: { guid: 1 } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 400, absorbed: 299, timestamp: 5700, ability: { guid: 4 } },
];

// Damage taken: amount: 0, absorbed: 0, overkill: 0
export const casts = [
  { type: EventType.Cast, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 100, ability: { guid: SPELLS.GIFT_OF_THE_OX_1.id } },
  { type: EventType.Cast, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 204, ability: { guid: SPELLS.GIFT_OF_THE_OX_1.id } },
  { type: EventType.Cast, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 4700, ability: { guid: SPELLS.GIFT_OF_THE_OX_1.id } },
  { type: EventType.Cast, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 8200, ability: { guid: SPELLS.PURIFYING_BREW.id } },
];

export const dpsCasts = [
  { type: EventType.Cast, sourceID: thisPlayer, targetid: enemy, timestamp: 3500, ability: { guid: SPELLS.BLACKOUT_STRIKE.id } },
  { type: EventType.Cast, sourceID: thisPlayer, targetid: enemy, timestamp: 4500, ability: { guid: SPELLS.KEG_SMASH.id } },
  { type: EventType.Cast, sourceID: thisPlayer, targetid: enemy, timestamp: 4700, ability: { guid: SPELLS.KEG_SMASH.id } },
  { type: EventType.Cast, sourceID: thisPlayer, targetid: enemy, timestamp: 6500, ability: { guid: SPELLS.BLACKOUT_STRIKE.id } },
  { type: EventType.Cast, sourceID: thisPlayer, targetid: enemy, timestamp: 8500, ability: { guid: SPELLS.BLACKOUT_STRIKE.id } },
  { type: EventType.Cast, sourceID: thisPlayer, targetid: enemy, timestamp: 9000, ability: { guid: SPELLS.BLACKOUT_STRIKE.id } },
  { type: EventType.Cast, sourceID: thisPlayer, targetid: enemy, timestamp: 9700, ability: { guid: SPELLS.BREATH_OF_FIRE.id } },
];

// Damage taken: amount: 0, absorbed: 0, overkill: 0
export const isbCasts = [
  { type: EventType.Cast, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 200, ability: { guid: SPELLS.IRONSKIN_BREW.id } },
];

// Damage taken: amount: 0, absorbed: 0, overkill: 0
export const applybuff = [
  { type: EventType.ApplyBuff, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 200, ability: { guid: SPELLS.IRONSKIN_BREW_BUFF.id } },
  { type: EventType.ApplyBuff, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 3500, ability: { guid: SPELLS.BLACKOUT_COMBO_BUFF.id } },
  { type: EventType.ApplyBuff, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 6500, ability: { guid: SPELLS.BLACKOUT_COMBO_BUFF.id } },
  { type: EventType.ApplyBuff, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 8500, ability: { guid: SPELLS.BLACKOUT_COMBO_BUFF.id } },
];

export const refreshBuff = [
  { type: EventType.RefreshBuff, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 9000, ability: { guid: SPELLS.BLACKOUT_COMBO_BUFF.id } },
];

export const removebuff = [
  { type: EventType.RemoveDebuff, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 4500, ability: { guid: SPELLS.BLACKOUT_COMBO_BUFF.id } },
  { type: EventType.RemoveDebuff, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 8200, ability: { guid: SPELLS.BLACKOUT_COMBO_BUFF.id } },
  { type: EventType.RemoveDebuff, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 9700, ability: { guid: SPELLS.BLACKOUT_COMBO_BUFF.id } },
];

// This absorb is used from the damage line
// Damage taken: amount: 0, absorbed: 0, overkill: 0
export const absorbed = [
  { type: EventType.Absorbed, sourceID: enemy, targetid: thisPlayer, amount: 9, timestamp: 3500, ability: { guid: 99999 }, extraAbility: { guid: 1, type: 1 } },
  { type: EventType.Absorbed, sourceID: enemy, targetid: thisPlayer, amount: 7, timestamp: 6000, ability: { guid: 99999 }, extraAbility: { guid: 1, type: 1 } },
];
<commit_msg>Fixer previous PR issue<commit_after>import SPELLS from 'common/SPELLS/index';
import { EventType } from 'parser/core/Events';

const thisPlayer = 1;
const enemy = 2;

// Damage taken: amount: 224, absorbed: 16, overkill: 0
export const staggerTicks = [
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 10, timestamp: 1000, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 10, timestamp: 1500, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 10, timestamp: 2000, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 10, timestamp: 2500, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 10, timestamp: 3000, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 1, absorbed: 9, timestamp: 3500, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 10, timestamp: 4000, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 10, timestamp: 4500, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 10, timestamp: 5000, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 10, timestamp: 5500, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 8, absorbed: 7, timestamp: 6000, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 15, timestamp: 6500, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 15, timestamp: 7000, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 15, timestamp: 7500, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 15, timestamp: 8000, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 13, timestamp: 8500, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 13, timestamp: 9000, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 13, timestamp: 9500, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 13, timestamp: 10000, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 13, timestamp: 10500, ability: { guid: SPELLS.STAGGER_TAKEN.id } },
];

// 599 will be removed by the stagger array below when combined
// Damage taken: amount: 1200, absorbed: 599, overkill: 0
export const incomingDamage = [
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 400, timestamp: 1, ability: { guid: 1 } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 400, absorbed: 300, timestamp: 500, ability: { guid: 1 } },
  { type: EventType.Damage, sourceID: enemy, targetid: thisPlayer, amount: 400, absorbed: 299, timestamp: 5700, ability: { guid: 4 } },
];

// Damage taken: amount: 0, absorbed: 0, overkill: 0
export const casts = [
  { type: EventType.Cast, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 100, ability: { guid: SPELLS.GIFT_OF_THE_OX_1.id } },
  { type: EventType.Cast, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 204, ability: { guid: SPELLS.GIFT_OF_THE_OX_1.id } },
  { type: EventType.Cast, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 4700, ability: { guid: SPELLS.GIFT_OF_THE_OX_1.id } },
  { type: EventType.Cast, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 8200, ability: { guid: SPELLS.PURIFYING_BREW.id } },
];

export const dpsCasts = [
  { type: EventType.Cast, sourceID: thisPlayer, targetid: enemy, timestamp: 3500, ability: { guid: SPELLS.BLACKOUT_STRIKE.id } },
  { type: EventType.Cast, sourceID: thisPlayer, targetid: enemy, timestamp: 4500, ability: { guid: SPELLS.KEG_SMASH.id } },
  { type: EventType.Cast, sourceID: thisPlayer, targetid: enemy, timestamp: 4700, ability: { guid: SPELLS.KEG_SMASH.id } },
  { type: EventType.Cast, sourceID: thisPlayer, targetid: enemy, timestamp: 6500, ability: { guid: SPELLS.BLACKOUT_STRIKE.id } },
  { type: EventType.Cast, sourceID: thisPlayer, targetid: enemy, timestamp: 8500, ability: { guid: SPELLS.BLACKOUT_STRIKE.id } },
  { type: EventType.Cast, sourceID: thisPlayer, targetid: enemy, timestamp: 9000, ability: { guid: SPELLS.BLACKOUT_STRIKE.id } },
  { type: EventType.Cast, sourceID: thisPlayer, targetid: enemy, timestamp: 9700, ability: { guid: SPELLS.BREATH_OF_FIRE.id } },
];

// Damage taken: amount: 0, absorbed: 0, overkill: 0
export const isbCasts = [
  { type: EventType.Cast, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 200, ability: { guid: SPELLS.IRONSKIN_BREW.id } },
];

// Damage taken: amount: 0, absorbed: 0, overkill: 0
export const applybuff = [
  { type: EventType.ApplyBuff, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 200, ability: { guid: SPELLS.IRONSKIN_BREW_BUFF.id } },
  { type: EventType.ApplyBuff, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 3500, ability: { guid: SPELLS.BLACKOUT_COMBO_BUFF.id } },
  { type: EventType.ApplyBuff, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 6500, ability: { guid: SPELLS.BLACKOUT_COMBO_BUFF.id } },
  { type: EventType.ApplyBuff, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 8500, ability: { guid: SPELLS.BLACKOUT_COMBO_BUFF.id } },
];

export const refreshBuff = [
  { type: EventType.RefreshBuff, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 9000, ability: { guid: SPELLS.BLACKOUT_COMBO_BUFF.id } },
];

export const removebuff = [
  { type: EventType.RemoveBuff, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 4500, ability: { guid: SPELLS.BLACKOUT_COMBO_BUFF.id } },
  { type: EventType.RemoveBuff, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 8200, ability: { guid: SPELLS.BLACKOUT_COMBO_BUFF.id } },
  { type: EventType.RemoveBuff, sourceID: thisPlayer, targetid: thisPlayer, timestamp: 9700, ability: { guid: SPELLS.BLACKOUT_COMBO_BUFF.id } },
];

// This absorb is used from the damage line
// Damage taken: amount: 0, absorbed: 0, overkill: 0
export const absorbed = [
  { type: EventType.Absorbed, sourceID: enemy, targetid: thisPlayer, amount: 9, timestamp: 3500, ability: { guid: 99999 }, extraAbility: { guid: 1, type: 1 } },
  { type: EventType.Absorbed, sourceID: enemy, targetid: thisPlayer, amount: 7, timestamp: 6000, ability: { guid: 99999 }, extraAbility: { guid: 1, type: 1 } },
];

{'fraction_non_alphanumeric': 0.1362940275650842, 'fraction_numerical': 0.039259362383405265, 'mean_word_length': 5.295793163891323, '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': '1368063', 'n_tokens_mistral': 5455, 'n_tokens_neox': 4923, 'n_words': 1345}