<commit_before>%p
  = EpUri.new(e).favicon('small')
  = EpUri.new(e).to_html
  = EpBadge.new(e).to_html
- if defined?(user) && user[:login] == 'yegor256'
  %p
    %a{href: "/flush/#{e.to_h[:id]}", onclick: 'return confirm("Are you sure? The entire history will be destoyed!");'}
      Flush it
%p
  Avail.
  %strong= EpAvailability.new(e).full
  Avg.
  %strong= EpGraph.new(e).avg_full
%p
  - if e.to_h[:flipped]
    Flipped
    %strong
      =ActionView::Base.new.time_ago_in_words(e.to_h[:flipped]) + ' ago'
  Created
  %strong
    =ActionView::Base.new.time_ago_in_words(e.to_h[:created]) + ' ago'
%p
  = EpGraph.new(e).to_html
%p
  More in
  %a{href: "/d/#{e.to_h[:id]}"} JSON
- if e.to_h[:log]
  %p
    %a{onclick: "$('#log').toggle();"} View last failed HTTP log
    %pre#log{style: 'display: none;'}=html_escape(e.to_h[:log])<commit_msg>#104 layout<commit_after>%p
  = EpUri.new(e).favicon('small')
  = EpUri.new(e).to_html
  = EpBadge.new(e).to_html
- if defined?(user) && user[:login] == 'yegor256'
  %p
    %a{href: "/flush/#{e.to_h[:id]}", onclick: 'return confirm("Are you sure? The entire history will be destoyed!");'}
      Flush it
%p
  Avail.
  %strong= EpAvailability.new(e).full
  Avg.
  %strong= EpGraph.new(e).avg_full
%p
  - if e.to_h[:flipped]
    Flipped
    %strong
      =ActionView::Base.new.time_ago_in_words(e.to_h[:flipped]) + ' ago'
  Created
  %strong
    =ActionView::Base.new.time_ago_in_words(e.to_h[:created]) + ' ago'
%p
  = EpGraph.new(e).to_html
%p
  More in
  %a{href: "/d/#{e.to_h[:id]}"} JSON
- if e.to_h[:log]
  %p
    %a{onclick: "$('#log').toggle();"} View last failed HTTP log
  %pre#log{style: 'display: none;'}=html_escape(e.to_h[:log])
{'fraction_non_alphanumeric': 0.20724465558194774, 'fraction_numerical': 0.005344418052256532, 'mean_word_length': 3.8419540229885056, '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': '68381', 'n_tokens_mistral': 733, 'n_tokens_neox': 730, 'n_words': 126}