<commit_before><!DOCTYPE html>
  <head>

    <!-- React -->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react.js"></script>

    <!-- Stores -->
    <script src="/stores/answerStore.js"></script>
    <script src="/stores/questionStore.js"></script>

    <!-- Views -->
    <script src="/views/answerView.js"></script>
    <script src="/views/questionView.js"></script>

    <!-- Dispatcher -->
    <script src="gameDispatcher.js"></script>

  </head>
  <body>

  </body>
</html><commit_msg>created game container put ajax call<commit_after><!DOCTYPE html>
  <head>

    <!-- React -->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/JSXTransformer.js"></script>
    <script src="https://code.jquery.com/jquery-2.1.4.js"></script>


  </head>
  <body>
  <div class="container">
    <div id="game"></div>
  </div>
  
  <script type="text/jsx">
  var Gamebox = React.createClass({
    setInitialState: function(){
      this.state = {
        question: []
      };
    },
    componentDidMount: function(){
      $.ajax({
        url: '/question',
        method: 'GET',
        success: function(data){
          this.state.question = data;
        }.bind(this),
        error: function(xhr, status, err){
          console.error(xhr, status, err.message);
        }.bind(this)
      });
    },
    render: function() {
      return (
        <div className="gamebox">
          <h2>Game</h2>
        </div>
      );
    }
  });

  React.render(
    <Gamebox />, 
    document.getElementById('game')
  );
  </script>


  </body>
</html>
{'fraction_non_alphanumeric': 0.20311563810665068, 'fraction_numerical': 0.01018573996405033, 'mean_word_length': 2.3266932270916336, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, 'https://': 4, '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': '7202132', 'n_tokens_mistral': 585, 'n_tokens_neox': 549, 'n_words': 86}