<commit_before>%div.modal-header
  - if use_environments?
    %h3== Client: #{event.client} (#{event.client_attributes['address']}) in #{event.client_attributes['environment']}
  - else
    %h3== Client: #{event.client} (#{event.client_attributes['address']})
  %h3== Check: #{event.check}
%div.modal-body
  %h3 Check Output
  %table.table.table-striped.table-bordered
    %tbody
      %tr
        %td Output
        %td= event.output
      %tr
        %td Occurrences
        %td= event.occurrences
      %tr
        %td Status
        %td= format_status(event.status)
      %tr
        %td Occured
        %td= Time.at(event.issued)
      %tr
        %td Flapping
        %td= event.flapping
      %tr
        %td Check Silenced
        %td{:rel => "#{event.client}_#{event.check}_column_silenced"}= ((event.check_silenced.nil?) ? "No" : Time.at(event.check_silenced["timestamp"]))
      %tr
        %td Client Silenced
        %td{:rel => "#{event.client}_column_silenced"}= ((event.client_silenced.nil?) ? "No" : Time.at(event.client_silenced["timestamp"]))
  %br
  %br
  %h3 Check Attributes
  %table.table.table-striped.table-bordered
    %tbody
      - event.check_attributes.sort.each do |k,v|
        %tr
          %td= k
          %td= anchor_wrap_if_url(v)
  %br
  %br
  %h3 Client Attributes
  %table.table.table-striped.table-bordered
    %tbody
      - event.client_attributes.sort.each do |k,v|
        %tr<commit_msg>more fixes for new stashes api<commit_after>%div.modal-header
  - if use_environments?
    %h3== Client: #{event.client} (#{event.client_attributes['address']}) in #{event.client_attributes['environment']}
  - else
    %h3== Client: #{event.client} (#{event.client_attributes['address']})
  %h3== Check: #{event.check}
%div.modal-body
  %h3 Check Output
  %table.table.table-striped.table-bordered
    %tbody
      %tr
        %td Output
        %td= event.output
      %tr
        %td Occurrences
        %td= event.occurrences
      %tr
        %td Status
        %td= format_status(event.status)
      %tr
        %td Occured
        %td= Time.at(event.issued)
      %tr
        %td Flapping
        %td= event.flapping
      %tr
        %td Check Silenced
        %td{:rel => "#{event.client}_#{event.check}_column_silenced"}= ((event.check_silenced.nil?) ? "No" : Time.at(event.check_silenced["content"]["timestamp"]))
      %tr
        %td Client Silenced
        %td{:rel => "#{event.client}_column_silenced"}= ((event.client_silenced.nil?) ? "No" : Time.at(event.client_silenced["content"]["timestamp"]))
  %br
  %br
  %h3 Check Attributes
  %table.table.table-striped.table-bordered
    %tbody
      - event.check_attributes.sort.each do |k,v|
        %tr
          %td= k
          %td= anchor_wrap_if_url(v)
  %br
  %br
  %h3 Client Attributes
  %table.table.table-striped.table-bordered
    %tbody
      - event.client_attributes.sort.each do |k,v|
        %tr
{'fraction_non_alphanumeric': 0.1514629948364888, 'fraction_numerical': 0.004130808950086058, 'mean_word_length': 2.5965346534653464, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2350133', 'n_tokens_mistral': 1010, 'n_tokens_neox': 1008, 'n_words': 188}