<commit_before><!DOCTYPE html>
<html>
  <head>
    <!-- Firebase App (the core Firebase SDK) must be listed first -->
    <script src="https://www.gstatic.com/firebasejs/7.15.1/firebase-app.js"></script>
    <!-- Add Firebase Authentication -->
    <script src="https://www.gstatic.com/firebasejs/7.15.1/firebase-auth.js"></script>

    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="https://cdn.firebase.com/libs/firebaseui/3.5.2/firebaseui.js"></script>
    <link type="text/css" rel="stylesheet" href="https://cdn.firebase.com/libs/firebaseui/3.5.2/firebaseui.css" />
    <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
    <meta charset="UTF-8">
    <title>Capstone</title>
    <link rel="stylesheet" href="dashboard.css">
    <script src="dashboard.js"></script>

    <script>
      function setRedirect(){
          var params = window.location.search;
          document.getElementById("redirect").href = "/queue/ta.html" + params;
      }
    </script>
  </head>

  <body onload = "setRedirect()"">
    
    <!--Contains the TA email form-->
    <div class="left">
      <h1>Admin Dashboard</h1>
      <div class="centered">
        <div class="ta-form">
          <form>
            <fieldset><legend>Add a TA by Email</legend>
              <label for="TAemail">
                <span>Email <span class="required">*</span></span>
                <input type="text" class="input-field" name="taEmail" value="" /></br>
                <input id="submitButton" type="submit" value="Submit">
              </label>
            </fieldset>
          </form>
        </div>
      </div>
    </div>

    <!--Contains the statistics charts-->
    <div class="right">
      <h1>Site Statistics</h1>
      <div id="bar-chart" style="width: 900px; height: 500px"></div>
      <a href="" id = "redirect" style="text-decoration: none;">go to queue</a>
    </div>

  </body>
</html><commit_msg>Add class code at bottom of page<commit_after><!DOCTYPE html>
<html>
  <head>
    <!-- Firebase App (the core Firebase SDK) must be listed first -->
    <script src="https://www.gstatic.com/firebasejs/7.15.1/firebase-app.js"></script>
    <!-- Add Firebase Authentication -->
    <script src="https://www.gstatic.com/firebasejs/7.15.1/firebase-auth.js"></script>

    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="https://cdn.firebase.com/libs/firebaseui/3.5.2/firebaseui.js"></script>
    <link type="text/css" rel="stylesheet" href="https://cdn.firebase.com/libs/firebaseui/3.5.2/firebaseui.css" />
    <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
    <meta charset="UTF-8">
    <title>Capstone</title>
    <link rel="stylesheet" href="dashboard.css">
    <script src="dashboard.js"></script>

    <script>
      function setRedirect(){
          var params = window.location.search;
          document.getElementById("redirect").href = "/queue/ta.html" + params;
          document.getElementById("classCode").innerText =  params.slice(11);
      }
    </script>
  </head>

  <body onload = "setRedirect()"">
    
    <!--Contains the TA email form-->
    <div class="left">
      <h1>Admin Dashboard</h1>
      <div class="centered">
        <div class="ta-form">
          <form>
            <fieldset><legend>Add a TA by Email</legend>
              <label for="TAemail">
                <span>Email <span class="required">*</span></span>
                <input type="text" class="input-field" name="taEmail" value="" /></br>
                <input id="submitButton" type="submit" value="Submit">
              </label>
            </fieldset>
          </form>
        </div>
      </div>
    </div>

    <!--Contains the statistics charts-->
    <div class="right">
      <h1>Site Statistics</h1>
      <div id="bar-chart" style="width: 900px; height: 500px"></div>
      <br>
      <a href="" id = "redirect" style="text-decoration: none;">go to queue</a>
      <h2 id = "classCode"> </h2>
    </div>

  </body>
</html>
{'fraction_non_alphanumeric': 0.18799019607843137, 'fraction_numerical': 0.013725490196078431, 'mean_word_length': 2.6019417475728157, 'pattern_counts': {'":': 0, '<': 126, '<?xml version=': 0, '>': 126, 'https://': 10, 'lorem ipsum': 0, 'www.': 6, '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': '3721040', 'n_tokens_mistral': 1356, 'n_tokens_neox': 1290, 'n_words': 254}