<commit_before>- if flash && (flash[:error] || flash[:notice])
  .flash
    - if flash && flash[:error]
      .message.error
        %p= flash[:error]

    - if flash && flash[:notice]
      .message.notice
        %p= flash[:notice]<commit_msg>Don't display empty array flash notices<commit_after>- if flash && (flash[:error] || flash[:notice])
  .flash
    - if flash && flash[:error] && !flash[:error].empty?
      .message.error
        %p= flash[:error]

    - if flash && flash[:notice] && !flash[:notice].empty?
      .message.notice
        %p= flash[:notice]
{'fraction_non_alphanumeric': 0.18165784832451498, 'fraction_numerical': 0.0, 'mean_word_length': 2.736842105263158, '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': '2131881', 'n_tokens_mistral': 178, 'n_tokens_neox': 171, 'n_words': 42}