<commit_before><!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title><%= t ".title" %></title>

    <meta name="viewport" content="width=device-width,initial-scale=1">

    <%= stylesheet_link_tag "application", :media => "all" %>
    <%= javascript_include_tag "application" %>
    <%= csrf_meta_tags %>

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <%= yield(:head) %>
  </head>

  <body data-controller="<%= controller_path %>" data-action="<%= action_name %>"<% if content_for? :body_id %> id="<%= yield(:body_id) %>"<% end %>>
    <header>
      <h1><%= link_to t(".forum_name"), root_path %></h1>
      <p><%= t ".welcome_message" %></p>
    </header>

    <div id="main">
      <%= yield %>
    </div>

    <nav id="navigation"><commit_msg>added container for flashes<commit_after><!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title><%= t ".title" %></title>

    <meta name="viewport" content="width=device-width,initial-scale=1">

    <%= stylesheet_link_tag "application", :media => "all" %>
    <%= javascript_include_tag "application" %>
    <%= csrf_meta_tags %>

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <%= yield(:head) %>
  </head>

  <body data-controller="<%= controller_path %>" data-action="<%= action_name %>"<% if content_for? :body_id %> id="<%= yield(:body_id) %>"<% end %>>
    <header>
      <h1><%= link_to t(".forum_name"), root_path %></h1>
      <p><%= t ".welcome_message" %></p>
    </header>

    <div id="main">
      <div id="alerts-container">
      <% flash.each do |name,msg| %>
        <div class="alert alert-<%= name == :notice ? "success" : "error" %>">
          <%= msg %>
        </div>
      <% end %>
      </div>


      <%= yield %>
    </div>

    <nav id="navigation">
{'fraction_non_alphanumeric': 0.23031784841075795, 'fraction_numerical': 0.010757946210268949, 'mean_word_length': 3.003913894324853, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 85, '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': '7542603', 'n_tokens_mistral': 802, 'n_tokens_neox': 722, 'n_words': 150}