<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><%= content_for?(:title) ? yield(:title) : t('application.name') %></title>
    <%= csrf_meta_tags %>

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

    <%= stylesheet_link_tag "application", :media => "all" %>
  </head>
  <body>

    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <a class="btn btn-navbar" data-target=".nav-collapse" data-toggle="collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
          <%= link_to t('application.name'), root_path, :class => "brand" %>
          <div class="container nav-collapse">
            <ul class="nav">
              <li class="<%='active' if ['homes'].include? controller_name %>"><%= link_to t('homes.show.title'), root_path %></li>
              <li class="<%='active' if ['tournaments', 'invites'].include? controller_name %>"><%= link_to Tournament.model_name.human.pluralize, tournaments_path %></li>
              <li class="<%='active' if ['challenges'].include? controller_name %>"><%= link_to challenges_path do %><%= Challenge.model_name.human.pluralize %> <%= defending_count_badge %><% end %></li>
              <li class="<%='active' if ['games'].include? controller_name %>"><%= link_to games_path do %><%= Game.model_name.human.pluralize %> <%= pending_confirmation_badge %><% end %></li>
            </ul>
            <ul class="nav pull-right">
              <% if user_logged_in? %>
                <li class="dropdown">
                  <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-user"></i><%= current_user.name %><b class="caret"></b></a>
                  <ul class="dropdown-menu">
                    <li><%= link_to t('sessions.logout'), logout_path %></li>
                  </ul>
                </li>
              <% else %>
                <li class="<%='active' if ['sessions'].include? controller_name %>"><%= link_to t('sessions.login'), session_path %></li>
              <% end %>
            </ul>
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>

    <div class="container">
      <% if flash[:notice] %>
        <div class="row">
          <div class="span12">
            <div class="alert">
              <button type="button" class="close" data-dismiss="alert">×</button>
              <%= flash[:notice] %>
            </div>
          </div>
        </div>
      <% end %>
      <div class="row">
        <% if content_for?(:side) %>
          <div class="span3">
            <%= yield :side %>
          </div>
          <div class="span9">
            <%= yield %>
          </div>
        <% else %>
          <div class="span12">
            <%= yield %>
          </div>
        <% end %>
      </div><!--/row-->

    </div> <!-- /container -->

    <footer class="footer">
      <div class="container">
        <ul class="nav nav-pills">
          <li><%= link_to t('application.fork_me.text'), t('application.fork_me.href') %></a></li>
          <li><%= link_to t('application.issues.text'), t('application.issues.href') %></a></li>
        </ul>
      </div>
    </footer>


    <!-- Javascripts
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <%= javascript_include_tag "application" %>

    <% if ENV['LADDER_GOOGLE_ANALYTICS'] %>
      <%= javascript_tag do -%>
        var _gaq=[['_setAccount','<%= ENV['LADDER_GOOGLE_ANALYTICS'] %>'],['_trackPageview']];
        (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
        g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
        s.parentNode.insertBefore(g,s)}(document,'script'));
      <% end -%>
    <% end %>
  </body>
</html><commit_msg>Remove extra closing tags<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><%= content_for?(:title) ? yield(:title) : t('application.name') %></title>
    <%= csrf_meta_tags %>

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

    <%= stylesheet_link_tag "application", :media => "all" %>
  </head>
  <body>

    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <a class="btn btn-navbar" data-target=".nav-collapse" data-toggle="collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
          <%= link_to t('application.name'), root_path, :class => "brand" %>
          <div class="container nav-collapse">
            <ul class="nav">
              <li class="<%='active' if ['homes'].include? controller_name %>"><%= link_to t('homes.show.title'), root_path %></li>
              <li class="<%='active' if ['tournaments', 'invites'].include? controller_name %>"><%= link_to Tournament.model_name.human.pluralize, tournaments_path %></li>
              <li class="<%='active' if ['challenges'].include? controller_name %>"><%= link_to challenges_path do %><%= Challenge.model_name.human.pluralize %> <%= defending_count_badge %><% end %></li>
              <li class="<%='active' if ['games'].include? controller_name %>"><%= link_to games_path do %><%= Game.model_name.human.pluralize %> <%= pending_confirmation_badge %><% end %></li>
            </ul>
            <ul class="nav pull-right">
              <% if user_logged_in? %>
                <li class="dropdown">
                  <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-user"></i><%= current_user.name %><b class="caret"></b></a>
                  <ul class="dropdown-menu">
                    <li><%= link_to t('sessions.logout'), logout_path %></li>
                  </ul>
                </li>
              <% else %>
                <li class="<%='active' if ['sessions'].include? controller_name %>"><%= link_to t('sessions.login'), session_path %></li>
              <% end %>
            </ul>
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>

    <div class="container">
      <% if flash[:notice] %>
        <div class="row">
          <div class="span12">
            <div class="alert">
              <button type="button" class="close" data-dismiss="alert">×</button>
              <%= flash[:notice] %>
            </div>
          </div>
        </div>
      <% end %>
      <div class="row">
        <% if content_for?(:side) %>
          <div class="span3">
            <%= yield :side %>
          </div>
          <div class="span9">
            <%= yield %>
          </div>
        <% else %>
          <div class="span12">
            <%= yield %>
          </div>
        <% end %>
      </div><!--/row-->

    </div> <!-- /container -->

    <footer class="footer">
      <div class="container">
        <ul class="nav nav-pills">
          <li><%= link_to t('application.fork_me.text'), t('application.fork_me.href') %></li>
          <li><%= link_to t('application.issues.text'), t('application.issues.href') %></li>
        </ul>
      </div>
    </footer>


    <!-- Javascripts
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <%= javascript_include_tag "application" %>

    <% if ENV['LADDER_GOOGLE_ANALYTICS'] %>
      <%= javascript_tag do -%>
        var _gaq=[['_setAccount','<%= ENV['LADDER_GOOGLE_ANALYTICS'] %>'],['_trackPageview']];
        (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
        g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
        s.parentNode.insertBefore(g,s)}(document,'script'));
      <% end -%>
    <% end %>
  </body>
</html>
{'fraction_non_alphanumeric': 0.2198548349332709, 'fraction_numerical': 0.00398033247483025, 'mean_word_length': 2.3241245136186772, 'pattern_counts': {'":': 0, '<': 273, '<?xml version=': 0, '>': 277, 'https://': 0, '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': '1673387', 'n_tokens_mistral': 2857, 'n_tokens_neox': 2622, 'n_words': 498}