<commit_before>ruby:
  alert_classes =
    case type
    when 'notice', 'success'
      'alert-success alert-autoclose-slow'
    when 'alert', 'danger'
      'alert-danger alert-autoclose-fast'
    when 'warning'
      'alert-warning'
    when 'info'
      'alert-info'
    end

li.alert.alert-dismissable[class=alert_classes]
  button.close[type="button" data-dismiss="alert" aria-hidden="true"]
    | &times
  strong = type.to_s.capitalize
  '<commit_msg>Added missing support for flash[:error]<commit_after>ruby:
  alert_classes =
    case type
    when 'notice', 'success'
      'alert-success alert-autoclose-slow'
    when 'alert', 'danger', 'error'
      'alert-danger alert-autoclose-fast'
    when 'warning'
      'alert-warning'
    when 'info'
      'alert-info'
    end

li.alert.alert-dismissable[class=alert_classes]
  button.close[type="button" data-dismiss="alert" aria-hidden="true"]
    | &times
  strong = type.to_s.capitalize
  '
{'fraction_non_alphanumeric': 0.13487881981032665, 'fraction_numerical': 0.0, 'mean_word_length': 3.279279279279279, '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': '800441', 'n_tokens_mistral': 335, 'n_tokens_neox': 317, 'n_words': 61}