<commit_before>- cls = 'notification'
- if notification.read
  - cls += ' read'

- notification_p = present(notification)

%li.list-group-item.d-flex.flex-column.p-2.webkit-min-height-fit-content{ class: cls, 
                                                                          id: "notification_#{notification.id}" }

  .row.no-gutters
    .col.pl-2
      .row.no-gutters
        = notification_p.link(class: '')

      .row.no-gutters
        %small.text-muted #{notification_p.created_at_in_words} ago

    .col-auto
      = button_to notification_path(notification.id), method: :delete, remote: true,
                  class: 'btn delete px-1 py-0' do
        = inline_svg_tag 'open_iconic/x.svg', class: 'icon'<commit_msg>Fix tests<commit_after>- cls = 'notification'
- if notification.read
  - cls += ' read'

- notification_p = present(notification)

%li.list-group-item.d-flex.flex-column.p-2.webkit-min-height-fit-content{ class: cls,
                                                                          id: "notification_#{notification.id}" }

  .row.no-gutters
    .col.pl-2
      .row.no-gutters
        = notification_p.link(class: '')

      .row.no-gutters
        %small.text-muted #{notification_p.created_at_in_words} ago

    .col-auto
      = button_to notification_path(notification.id), method: :delete, remote: true,
                  class: 'btn delete px-1 py-0' do
        = inline_svg_tag 'open_iconic/x.svg', class: 'icon'
{'fraction_non_alphanumeric': 0.13141683778234087, 'fraction_numerical': 0.0054757015742642025, 'mean_word_length': 1.9775967413441955, '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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5098442', 'n_tokens_mistral': 469, 'n_tokens_neox': 459, 'n_words': 78}