<commit_before>import SPELLS from 'common/SPELLS';
import Analyzer from 'parser/core/Analyzer';
import { formatPercentage } from 'common/format';

class Fortitude_RaidBuff extends Analyzer {

  get uptime() {
    return this.selectedCombatant.getBuffUptime(SPELLS.POWER_WORD_FORTITUDE.id) / this.owner.fightDuration;
  }

  get uptimeSuggestionThresholds() {
    return {
      actual: this.uptime,
      isLessThan: {
        minor: .95,
        average: .50,
        major: 0,
      },
      style: 'percentage',
    };
  }

  suggestions(when) {
    when(this.uptimeSuggestionThresholds)
      .addSuggestion((suggest, actual, recommended) => {
        return suggest('Remember to have Power Word: Fortitude always up and recast it on death/resurection.')
          .icon(SPELLS.POWER_WORD_FORTITUDE.icon)<commit_msg>upping average to .9<commit_after>import SPELLS from 'common/SPELLS';
import Analyzer from 'parser/core/Analyzer';
import { formatPercentage } from 'common/format';

class Fortitude_RaidBuff extends Analyzer {

  get uptime() {
    return this.selectedCombatant.getBuffUptime(SPELLS.POWER_WORD_FORTITUDE.id) / this.owner.fightDuration;
  }

  get uptimeSuggestionThresholds() {
    return {
      actual: this.uptime,
      isLessThan: {
        minor: .95,
        average: .90,
        major: 0,
      },
      style: 'percentage',
    };
  }

  suggestions(when) {
    when(this.uptimeSuggestionThresholds)
      .addSuggestion((suggest, actual, recommended) => {
        return suggest('Remember to have Power Word: Fortitude always up and recast it on death/resurection.')
          .icon(SPELLS.POWER_WORD_FORTITUDE.icon)
{'fraction_non_alphanumeric': 0.1050394656952034, 'fraction_numerical': 0.006678809957498482, 'mean_word_length': 3.236503856041131, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1788943', 'n_tokens_mistral': 562, 'n_tokens_neox': 530, 'n_words': 112}