<commit_before><!DOCTYPE html>
<html>
<head>
  <title>TheHive</title>
  <%= stylesheet_link_tag    'application', media: 'all' %>
  <%= javascript_include_tag 'application' %>
  <%= csrf_meta_tags %>
</head>
<body>
<% if flash[:error]%>
  <% flash[:error].each do |error| %>
    <div><%= error %></div>
  <% end %>
<% end %>
<%= render 'layouts/header' %>
<%= yield %>

</body>
</html>
<commit_msg>Display flash success messages<commit_after><!DOCTYPE html>
<html>
<head>
  <title>TheHive</title>
  <%= stylesheet_link_tag    'application', media: 'all' %>
  <%= javascript_include_tag 'application' %>
  <%= csrf_meta_tags %>
</head>
<body>
<div class="flash">
  <% if flash[:success]%>
    <div class="success"><%= flash[:success] %></div>
  <% end %>
  <% if flash[:error]%>
    <% flash[:error].each do |error| %>
      <div class="error"><%= error %></div>
    <% end %>
  <% end %>
</div>
<%= render 'layouts/header' %>
<%= yield %>

</body>
</html>

{'fraction_non_alphanumeric': 0.24267782426778242, 'fraction_numerical': 0.0, 'mean_word_length': 4.201086956521739, 'pattern_counts': {'":': 0, '<': 52, '<?xml version=': 0, '>': 52, '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': '3090021', 'n_tokens_mistral': 402, 'n_tokens_neox': 355, 'n_words': 72}