<commit_before><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>Comeals</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/pretty-checkbox/2.2.1/pretty.min.css">
    <%= javascript_include_tag 'application' %>
    <script src="https://js.pusher.com/4.1/pusher.min.js"></script>
    <%= javascript_pack_tag 'manifest' %>
    <%= javascript_pack_tag 'vendor' %>
    <%= stylesheet_pack_tag 'vendor' %>
    <%= javascript_pack_tag 'app' %>
    <%= stylesheet_pack_tag 'app' %>
    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

      ga('create', 'UA-105981750-1', 'auto');
      ga('send', 'pageview');

    </script>
  </head>

  <body>
    <div id="site">
      <div id="main">
        <%= yield %>
      </div>
      <div id="calendar"></div>
      <div id="footer"></div>
    </div>
    <%= render 'partials/data' %>
    <%= javascript_pack_tag 'footer' %>
  </body>
</html>
<commit_msg>Only load GA in production<commit_after><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>Comeals</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/pretty-checkbox/2.2.1/pretty.min.css">
    <%= javascript_include_tag 'application' %>
    <script src="https://js.pusher.com/4.1/pusher.min.js"></script>
    <%= javascript_pack_tag 'manifest' %>
    <%= javascript_pack_tag 'vendor' %>
    <%= stylesheet_pack_tag 'vendor' %>
    <%= javascript_pack_tag 'app' %>
    <%= stylesheet_pack_tag 'app' %>
    <% if Rails.env.produciton? %>
      <script>
        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
        (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
        m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
        })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

        ga('create', 'UA-105981750-1', 'auto');
        ga('send', 'pageview');

      </script>
    <% end %>

  </head>

  <body>
    <div id="site">
      <div id="main">
        <%= yield %>
      </div>
      <div id="calendar"></div>
      <div id="footer"></div>
    </div>
    <%= render 'partials/data' %>
    <%= javascript_pack_tag 'footer' %>
  </body>
</html>

{'fraction_non_alphanumeric': 0.22713668107748586, 'fraction_numerical': 0.015297638842700367, 'mean_word_length': 3.6064318529862174, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, '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': '3209038', 'n_tokens_mistral': 1232, 'n_tokens_neox': 1130, 'n_words': 135}