<commit_before><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <title>CS 4414: Autograding</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="<NAME>">
    <link rel="icon" type="image/png" href="http://www.rust-class.org/static/images/logo.png" />  
    <link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,700' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="http://rust-class.org/theme/css/bootstrap.min.css" type="text/css" />
    <link href="static/css/style.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    body {
        padding-top: 60px;
        padding-bottom: 40px;
    }
    .sidebar-nav {
        padding: 9px 0;
    }
    .tag-1 {
        font-size: 13pt;
    }
    .tag-2 {
        font-size: 10pt;
    }
    .tag-2 {
        font-size: 8pt;
    }
    .tag-4 {
        font-size: 6pt;
    }
    .about {
        font-size: 8pt;
        font-color: "gray";
    }
    </style>
    <link href="http://rust-class.org/theme/css/bootstrap-responsive.min.css" rel="stylesheet">
    <link href="http://rust-class.org/theme/css/font-awesome.css" rel="stylesheet">
    <link href="http://rust-class.org/theme/css/pygments.css" rel="stylesheet">
    <link rel="shortcut icon" href="http://rust-class.org/theme/images/favicon.ico">
    <link rel="apple-touch-icon" href="http://rust-class.org/theme/images/apple-touch-icon.png">
    <link rel="apple-touch-icon" sizes="72x72" href="http://rust-class.org/theme/images/apple-touch-icon-72x72.png">
    <link rel="apple-touch-icon" sizes="114x114" href="http://rust-class.org/theme/images/apple-touch-icon-114x114.png">
    <link href="http://rust-class.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="cs4414: Operating Systems ATOM Feed" />

</head>
<body>
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <a class="brand" href="http://rust-class.org/index.html">cs4414: Operating Systems</a>
          <div class="nav-collapse">
            <ul class="nav">
                <li><a href="http://rust-class.org/pages/syllabus.html">Syllabus</a></li>
                <li><a href="http://rust-class.org/pages/forum.html">Forum</a></li>
                <ul class="nav pull-right">
                    <li><a href="http://rust-class.org/archives.html"><i class="icon-th-list"></i>Archives</a></li>
                </ul>
            </ul>
        </div><!--/.nav-collapse -->
        <div class="container-fluid">
            <div class="nav-collapse">
        <ul class="pull-right nav">
                <li style="margin-right: 20px"><p id="persona_email" class="navbar-text">Not logged in</p></li>
                <li style="margin-top: 5px"><input id="persona_in" type="button" style = "color: rgb(223, 173, 68)" value="Log in"/></li>
            </ul>
        </div>
    </div>
    </div>
</div>
</div>

<div class="container-fluid">
  <section id="content" class="body">
    <h1 class="entry-title">Autograder Submission</h1>
    <form name="grading-info" id="graderinfo" action="" onsubmit="javascript:grade(assignment.options[assignment.selectedIndex].value, repo.value); return false;">
        <select name="assignment">
            <option value="PS1">Problem Set 1</option>
            <option value="PS2">Problem Set 2</option>
            <option value="PS3">Problem Set 3</option>
            <option value="PS4">Problem Set 4</option>
        </select>
        <input type="text" name="repo" onfocus="if(this.value == 'Git Repository URL') { this.value = ''; }" value="Git Repository URL"/>
        <input id="starttest" type="button" onclick="grade(assignment.options[assignment.selectedIndex].value, repo.value)" style = "color: rgb(223, 173, 68)" value="Begin Grading"/>
        </form>
        <div id="grade-results">
        </div>
        <div id="past-results">
        </div>
	<div id='leaderboard'>
	</div>
    </section>
    <hr>
    <footer>
        <div id="footer">
            <address id="about">
              <a href="http://www.cs.virginia.edu">University of Virginia Computer Science</a><br>
              <a href="http://www.rust-class.org/">cs4414: Operating Systems</a>, Spring 2014<br>      
              <p align="right"><font color="grey" size="-2"> Site built using <a href="http://pelican.notmyidea.org/">Pelican</a>.  Theme uses <a href="http://twitter.github.com/bootstrap/">Bootstrap</a>,
               and <a href="http://fortawesome.github.com/Font-Awesome/">Font-Awesome</a>.</p>
           </address><!-- /#about -->
       </div>
   </footer>
</div><!--/.fluid-container-->
<script src="http://rust-class.org/theme/js/jquery-1.7.2.min.js"></script>
<script src="http://rust-class.org/theme/js/bootstrap.min.js"></script>
<script src="https://login.persona.org/include.js"></script>
<script type="text/javascript" src="static/js/grade.js"></script>
    <script type="text/javascript">
	$(document).ready(function(){
	    jQuery.get('http://127.0.0.1:9080/leaderboard.html', function(data) {
		$('#leaderboard').append(data);
	    });
	});
    </script>
</body>
</html><commit_msg>Put down the right server address in grade.html. you have to change this to test leaderboard stuff on a local machine :)<commit_after><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <title>CS 4414: Autograding</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="<NAME>">
    <link rel="icon" type="image/png" href="http://www.rust-class.org/static/images/logo.png" />  
    <link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,700' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="http://rust-class.org/theme/css/bootstrap.min.css" type="text/css" />
    <link href="static/css/style.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    body {
        padding-top: 60px;
        padding-bottom: 40px;
    }
    .sidebar-nav {
        padding: 9px 0;
    }
    .tag-1 {
        font-size: 13pt;
    }
    .tag-2 {
        font-size: 10pt;
    }
    .tag-2 {
        font-size: 8pt;
    }
    .tag-4 {
        font-size: 6pt;
    }
    .about {
        font-size: 8pt;
        font-color: "gray";
    }
    </style>
    <link href="http://rust-class.org/theme/css/bootstrap-responsive.min.css" rel="stylesheet">
    <link href="http://rust-class.org/theme/css/font-awesome.css" rel="stylesheet">
    <link href="http://rust-class.org/theme/css/pygments.css" rel="stylesheet">
    <link rel="shortcut icon" href="http://rust-class.org/theme/images/favicon.ico">
    <link rel="apple-touch-icon" href="http://rust-class.org/theme/images/apple-touch-icon.png">
    <link rel="apple-touch-icon" sizes="72x72" href="http://rust-class.org/theme/images/apple-touch-icon-72x72.png">
    <link rel="apple-touch-icon" sizes="114x114" href="http://rust-class.org/theme/images/apple-touch-icon-114x114.png">
    <link href="http://rust-class.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="cs4414: Operating Systems ATOM Feed" />

</head>
<body>
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <a class="brand" href="http://rust-class.org/index.html">cs4414: Operating Systems</a>
          <div class="nav-collapse">
            <ul class="nav">
                <li><a href="http://rust-class.org/pages/syllabus.html">Syllabus</a></li>
                <li><a href="http://rust-class.org/pages/forum.html">Forum</a></li>
                <ul class="nav pull-right">
                    <li><a href="http://rust-class.org/archives.html"><i class="icon-th-list"></i>Archives</a></li>
                </ul>
            </ul>
        </div><!--/.nav-collapse -->
        <div class="container-fluid">
            <div class="nav-collapse">
        <ul class="pull-right nav">
                <li style="margin-right: 20px"><p id="persona_email" class="navbar-text">Not logged in</p></li>
                <li style="margin-top: 5px"><input id="persona_in" type="button" style = "color: rgb(223, 173, 68)" value="Log in"/></li>
            </ul>
        </div>
    </div>
    </div>
</div>
</div>

<div class="container-fluid">
  <section id="content" class="body">
    <h1 class="entry-title">Autograder Submission</h1>
    <form name="grading-info" id="graderinfo" action="" onsubmit="javascript:grade(assignment.options[assignment.selectedIndex].value, repo.value); return false;">
        <select name="assignment">
            <option value="PS1">Problem Set 1</option>
            <option value="PS2">Problem Set 2</option>
            <option value="PS3">Problem Set 3</option>
            <option value="PS4">Problem Set 4</option>
        </select>
        <input type="text" name="repo" onfocus="if(this.value == 'Git Repository URL') { this.value = ''; }" value="Git Repository URL"/>
        <input id="starttest" type="button" onclick="grade(assignment.options[assignment.selectedIndex].value, repo.value)" style = "color: rgb(223, 173, 68)" value="Begin Grading"/>
        </form>
        <div id="grade-results">
        </div>
        <div id="past-results">
        </div>
	<div id='leaderboard'>
	</div>
    </section>
    <hr>
    <footer>
        <div id="footer">
            <address id="about">
              <a href="http://www.cs.virginia.edu">University of Virginia Computer Science</a><br>
              <a href="http://www.rust-class.org/">cs4414: Operating Systems</a>, Spring 2014<br>      
              <p align="right"><font color="grey" size="-2"> Site built using <a href="http://pelican.notmyidea.org/">Pelican</a>.  Theme uses <a href="http://twitter.github.com/bootstrap/">Bootstrap</a>,
               and <a href="http://fortawesome.github.com/Font-Awesome/">Font-Awesome</a>.</p>
           </address><!-- /#about -->
       </div>
   </footer>
</div><!--/.fluid-container-->
<script src="http://rust-class.org/theme/js/jquery-1.7.2.min.js"></script>
<script src="http://rust-class.org/theme/js/bootstrap.min.js"></script>
<script src="https://login.persona.org/include.js"></script>
<script type="text/javascript" src="static/js/grade.js"></script>
    <script type="text/javascript">
	$(document).ready(function(){
	    jQuery.get('http://172.16.17.32:9080/leaderboard.html', function(data) {
		$('#leaderboard').append(data);
	    });
	});
    </script>
</body>
</html>
{'fraction_non_alphanumeric': 0.20063161805684562, 'fraction_numerical': 0.02108489689764072, 'mean_word_length': 2.845357142857143, 'pattern_counts': {'":': 0, '<': 265, '<?xml version=': 0, '>': 265, 'https://': 2, 'lorem ipsum': 0, 'www.': 6, 'xml': 4}, 'pii_count': 2, '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': '4383292', 'n_tokens_mistral': 3796, 'n_tokens_neox': 3552, 'n_words': 600}