<commit_before>@foreach (session('flash_notification', collect())->toArray() as $message)
  @if ($loop->first)
  <div class="container">
  @endif
  @if ($message['overlay'])
  @include('partials.flashModal', [
    'modalClass' => 'flash-modal',
    'title'      => $message['title'],
    'body'       => $message['message']
  ])
  @else
  <div class="alert alert-{{ array_key_exists('level', $message) ? $message['level'] : '' }}" data-closable>
    {!! $message['message'] !!}
    <button class="close" aria-label="Dismiss alert" data-dismiss="alert" type="button" data-close>
      <span aria-hidden="true">&times;</span>
    </button>
  </div>
  @endif
  @if ($loop->last)
  </div>
  @endif
@endforeach
{{ session()->forget('flash_notification') }}<commit_msg>View: Remove array_key_exists from flash partial<commit_after>@foreach (session('flash_notification', collect())->toArray() as $message)
  @if ($loop->first)
  <div class="container">
  @endif
  @if ($message['overlay'])
  @include('partials.flashModal', [
    'modalClass' => 'flash-modal',
    'title'      => $message['title'],
    'body'       => $message['message']
  ])
  @else
  <div class="alert alert-{{ $message['level'] }}" data-closable>
    {!! $message['message'] !!}
    <button class="close" aria-label="Dismiss alert" data-dismiss="alert" type="button" data-close>
      <span aria-hidden="true">&times;</span>
    </button>
  </div>
  @endif
  @if ($loop->last)
  </div>
  @endif
@endforeach
{{ session()->forget('flash_notification') }}
{'fraction_non_alphanumeric': 0.21805006587615283, 'fraction_numerical': 0.0, 'mean_word_length': 4.3674911660777385, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 33, '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': '4216011', 'n_tokens_mistral': 499, 'n_tokens_neox': 498, 'n_words': 95}