<commit_before>module ConversationHelper
  def flash_class(level)
    case level.to_sym
      when :notice then "alert alert-info"
      when :success then "alert alert-success"
      when :error then "alert alert-error"
      when :alert then "alert alert-error"
    end
  end

  def flash_icon_class(level)
    case level.to_sym
      when :notice then "ss-info"
      when :success then "ss-check"
      when :error then "ss-alert"
      when :alert then "ss-alert"
    end
  end
end
<commit_msg>Fix bootstrap error class<commit_after>module ConversationHelper
  def flash_class(level)
    case level.to_sym
      when :notice then "alert alert-info"
      when :success then "alert alert-success"
      when :error then "alert alert-danger"
      when :alert then "alert alert-danger"
    end
  end

  def flash_icon_class(level)
    case level.to_sym
      when :notice then "ss-info"
      when :success then "ss-check"
      when :error then "ss-alert"
      when :alert then "ss-alert"
    end
  end
end

{'fraction_non_alphanumeric': 0.08102766798418973, 'fraction_numerical': 0.0, 'mean_word_length': 2.724264705882353, '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': '1863936', 'n_tokens_mistral': 319, 'n_tokens_neox': 313, 'n_words': 105}