<commit_before><!DOCTYPE html>
<html lang="en">

  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Personal site">
    <meta name="author" content="<NAME>">

    <link rel="stylesheet" type="text/css" href="temp_assets/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="assets/css/gradsleuth.css">
    <!-- Remove this call in production!-->
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet" type="text/css">
  </head>

  <body>


    <!-- Fixed navbar -->
    <nav class="navbar navbar-default" role="navigation">
      <div class="container-fluid" style="margin-bottom:90px">
        <div class="navbar-header"> 
          <a class="navbar-brand" href="#">
          <!-- TODO Change image height in smaller viewports-->
          <img src="assets/img/gradsleuth_logo.png" alt="GradSleuth" height=90></a>
        </div>
      </div>
    </nav>

    <div class="container cta">

      <div class="row search-row">

        <div class="col-md-12 topic-input">
          <form class="form-inline" role="form">

            <span class="h1 topic-invitation">I want to study...</span>
            <div class="form-group">

              <label class="sr-only" for="topic1">Topic of interest</label>

              <!-- make this a normal form then incorporate bootstrap -->
              <div class="input-group">

                <input type="text" class="form-control" id="topic1" 
                  onkeydown="if (event.keycode == 13) document.getElementById('topicButton').click()"
                  placeholder="liver organogenesis">

                <span class="input-group-btn">
                  <button id="topicButton" class="btn btn-primary topic"
                      onclick="processTopic('click!')">Search</button>
                </span>
              </div><!-- .input-group -->

            </div>
          </form>
        </div>
      </div>

    <footer>
        <a href="#">About Gradsleuth</a>
    </footer>

    </div>
    


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src='temp_assets/jquery.js'></script>
    <script src="temp_assets/bootstrap.js"></script>
    <script src='assets/js/index.js'></script>

    <script>
    var processTopic = function(e) {
      alert(e)
    }

    </script>
  </body>
</html><commit_msg>Log user's topic query to console.<commit_after><!DOCTYPE html>
<html lang="en">

  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Personal site">
    <meta name="author" content="<NAME>">

    <link rel="stylesheet" type="text/css" href="temp_assets/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="assets/css/gradsleuth.css">
    <!-- Remove this call in production!-->
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet" type="text/css">
  </head>

  <body>


    <!-- Fixed navbar -->
    <nav class="navbar navbar-default" role="navigation">
      <div class="container-fluid" style="margin-bottom:90px">
        <div class="navbar-header"> 
          <a class="navbar-brand" href="#">
          <!-- TODO Change image height in smaller viewports-->
          <img src="assets/img/gradsleuth_logo.png" alt="GradSleuth" height=90></a>
        </div>
      </div>
    </nav>

    <div class="container cta">

      <div class="row search-row">

        <div class="col-md-12 topic-input">
          <form class="form-inline" role="form">

            <span class="h1 topic-invitation">I want to study...</span>
            <div class="form-group">

              <label class="sr-only" for="topic1">Topic of interest</label>

              <!-- make this a normal form then incorporate bootstrap -->
              <div class="input-group">

                <input type="text" class="form-control" id="topic1" 
                  onkeydown="if (event.keycode == 13) document.getElementById('topicButton').click()"
                  placeholder="liver organogenesis">

                <span class="input-group-btn">
                  <button id="topicButton" class="btn btn-primary topic"
                      onclick="processTopic(document.getElementById('topic1').value)">Search</button>
                </span>
              </div><!-- .input-group -->

            </div>
          </form>
        </div>
      </div>

    <footer>
        <a href="#">About Gradsleuth</a>
    </footer>

    </div>
    


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src='temp_assets/jquery.js'></script>
    <script src="temp_assets/bootstrap.js"></script>
    <script src='assets/js/index.js'></script>

    <script>
    var processTopic = function(e) {
      console.log(e);
    }

    </script>
  </body>
</html>
{'fraction_non_alphanumeric': 0.18692861311028983, 'fraction_numerical': 0.006418984633339817, 'mean_word_length': 2.374015748031496, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 131, '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': '7163682', 'n_tokens_mistral': 1573, 'n_tokens_neox': 1468, 'n_words': 324}