<commit_before><!DOCTYPE html>
<html>
<head>
  <meta charset="utf8">
  <title>中原選課大全</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
  <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
  <![endif]-->
  <!-- <script type="text/javascript">
    function autoheight(textbox) {
      autosize($(textbox));
    }
    function sendVote(id, vote) {
      $.ajax ({
        type:       'post',
        url:        '/courses/'+id+'/vote',
        data:       {upvote: +vote},
        success: function(msg) {
          alert("Vote Succeed.");
        }
      });
    }
  </script> -->
</head>
<body>
<%= render 'common/github' %>

<%= render 'common/navbar' %>

<div class="wrapper">
  <div class="container">
    <%= display_flash! %>

    <%= yield %>
  </div>
</div>

<a href="#" class="totop"><span>Top</span></a>

<%= render 'common/footer' %>

</body>
</html><commit_msg>Fix js function: autoheight() not defined errors<commit_after><!DOCTYPE html>
<html>
<head>
  <meta charset="utf8">
  <title>中原選課大全</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
  <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
  <![endif]-->
  <script type="text/javascript">
    function autoheight(textbox) {
      autosize($(textbox));
    }
  </script>
</head>
<body>
<%= render 'common/github' %>

<%= render 'common/navbar' %>

<div class="wrapper">
  <div class="container">
    <%= display_flash! %>

    <%= yield %>
  </div>
</div>

<a href="#" class="totop"><span>Top</span></a>

<%= render 'common/footer' %>

</body>
</html>
{'fraction_non_alphanumeric': 0.218720152817574, 'fraction_numerical': 0.004775549188156638, 'mean_word_length': 3.5150862068965516, 'pattern_counts': {'":': 0, '<': 70, '<?xml version=': 0, '>': 74, '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': '1198131', 'n_tokens_mistral': 813, 'n_tokens_neox': 762, 'n_words': 134}