<commit_before>import React from 'react';

import Analyzer from 'Parser/Core/Analyzer';
import SPELLS from 'common/SPELLS/index';
import SpellIcon from 'common/SpellIcon';
import { formatNumber, formatPercentage } from 'common/format';

import SpellLink from 'common/SpellLink';
import Enemies from 'Parser/Core/Modules/Enemies';

import {findByBossId} from 'Raids/index';
import ExpandableStatisticBox from 'Main/ExpandableStatisticBox';

class MitigationCheck extends Analyzer{
  static dependencies = {
    enemies: Enemies,
  };

  checks = [];
  buffCheck = [];
  debuffCheck = [];
  checksPassedMap = new Map();
  checksFailedMap = new Map();


  constructor(...args) {
    super(...args);
    const boss = findByBossId(this.owner.boss.id);
    if(boss.fight.softMitigationChecks){
      this.checks = Object.values(boss.fight.softMitigationChecks);
      if(this.checks === undefined){<commit_msg>Fix build issue.<commit_after>import React from 'react';

import Analyzer from 'Parser/Core/Analyzer';
import SPELLS from 'common/SPELLS/index';
import SpellIcon from 'common/SpellIcon';
import { formatNumber, formatPercentage } from 'common/format';

import SpellLink from 'common/SpellLink';
import Enemies from 'Parser/Core/Modules/Enemies';

import {findByBossId} from 'Raids/index';
import ExpandableStatisticBox from 'Interface/Others/ExpandableStatisticBox';

class MitigationCheck extends Analyzer{
  static dependencies = {
    enemies: Enemies,
  };

  checks = [];
  buffCheck = [];
  debuffCheck = [];
  checksPassedMap = new Map();
  checksFailedMap = new Map();


  constructor(...args) {
    super(...args);
    const boss = findByBossId(this.owner.boss.id);
    if(boss.fight.softMitigationChecks){
      this.checks = Object.values(boss.fight.softMitigationChecks);
      if(this.checks === undefined){
{'fraction_non_alphanumeric': 0.12506856829402085, 'fraction_numerical': 0.0, 'mean_word_length': 4.647058823529412, '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': '7578092', 'n_tokens_mistral': 594, 'n_tokens_neox': 574, 'n_words': 129}