<commit_before><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><%= ENV['SITENAME'] %></title>
    <%= csrf_meta_tags %>

    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
    <!--[if lt IE 9]>
      <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.js" type="text/javascript"></script>
    <![endif]-->

    <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,400italic,600italic|Source+Code+Pro:400,600' rel='stylesheet' type='text/css'>
    <link href='https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css' rel='stylesheet' type='text/css'>
    <%= stylesheet_link_tag ENV['MODE'], :media => "all" %>
    <%= javascript_include_tag "application" %>
    <% if ENV['BUGSNAG_JS_KEY'] %>
      <script
        src="//d2wy8f7a9ursnm.cloudfront.net/bugsnag-2.min.js"
        data-apikey="<%= ENV['BUGSNAG_JS_KEY'] %>">
      </script>
    <% end %>
    <% if ENV['OMNIAUTH'] == "persona" %>
      <script src="https://login.persona.org/include.js" type="text/javascript"></script>
      <script type='text/javascript'>
        function loginViaEmail() {
          navigator.id.get(gotAssertion,
          {
            backgroundColor: "#34495e",
            siteName: "<%= ENV['SITENAME'] %>"
          });
        }

        function gotAssertion(assertion) {
          if (typeof assertion !== 'undefined') {
            $('#assertion').val(assertion);
            $('#persona_form').submit();
          } else {
            window.location = "#{root_path}"
          }
        }

        $(function() {
          $('#sign_in_button').click(function() {
            loginViaEmail();
            return false;
          });
        });
      </script>
    <% end %>
  </head>

  <body>
    <%= render partial: "layouts/#{ENV['MODE']}/header" -%>
    <% if user_signed_in? %><commit_msg>safely load assets from CDN<commit_after><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><%= ENV['SITENAME'] %></title>
    <%= csrf_meta_tags %>

    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
    <!--[if lt IE 9]>
      <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.js" type="text/javascript"></script>
    <![endif]-->

    <link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,400italic,600italic|Source+Code+Pro:400,600' rel='stylesheet' type='text/css'>
    <link href='//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css' rel='stylesheet' type='text/css'>
    <%= stylesheet_link_tag ENV['MODE'], :media => "all" %>
    <%= javascript_include_tag "application" %>
    <% if ENV['BUGSNAG_JS_KEY'] %>
      <script
        src="//d2wy8f7a9ursnm.cloudfront.net/bugsnag-2.min.js"
        data-apikey="<%= ENV['BUGSNAG_JS_KEY'] %>">
      </script>
    <% end %>
    <% if ENV['OMNIAUTH'] == "persona" %>
      <script src="//login.persona.org/include.js" type="text/javascript"></script>
      <script type='text/javascript'>
        function loginViaEmail() {
          navigator.id.get(gotAssertion,
          {
            backgroundColor: "#34495e",
            siteName: "<%= ENV['SITENAME'] %>"
          });
        }

        function gotAssertion(assertion) {
          if (typeof assertion !== 'undefined') {
            $('#assertion').val(assertion);
            $('#persona_form').submit();
          } else {
            window.location = "#{root_path}"
          }
        }

        $(function() {
          $('#sign_in_button').click(function() {
            loginViaEmail();
            return false;
          });
        });
      </script>
    <% end %>
  </head>

  <body>
    <%= render partial: "layouts/#{ENV['MODE']}/header" -%>
    <% if user_signed_in? %>
{'fraction_non_alphanumeric': 0.19705521472392637, 'fraction_numerical': 0.021595092024539877, 'mean_word_length': 2.584872471416007, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 75, 'https://': 2, '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': '1198123', 'n_tokens_mistral': 1492, 'n_tokens_neox': 1382, 'n_words': 198}