<commit_before>var static = require('node-static');

/* setup static page server */
var port = process.env.OPENSHIFT_NODEJS_PORT;
var host = process.env.OPENSHIFT_NODEJS_IP;

var fileServer = new static.Server("./public");
var http = require('http');
http.createServer(function (request, response) {
  request.addListener('end', function () {
    fileServer.serve(request, response);
  }).resume();
}).listen(port, host, function() {
  console.log("Static page server started on " + port);
});


/* setup PeerJS server */
var PeerServer = require('peer').PeerServer;
var server = new PeerServer({port:9000, path: '/mclassroom'});
<commit_msg>Revert "Start PeerJS server"<commit_after>var static = require('node-static');

/* setup static page server */
var port = process.env.OPENSHIFT_NODEJS_PORT;
var host = process.env.OPENSHIFT_NODEJS_IP;

var fileServer = new static.Server("./public");
var http = require('http');
http.createServer(function (request, response) {
  request.addListener('end', function () {
    fileServer.serve(request, response);
  }).resume();
}).listen(port, host, function() {
  console.log("Static page server started on " + port);
});


/* setup PeerJS server */
//var PeerServer = require('peer').PeerServer;
//var server = new PeerServer({port:9000, path: '/mclassroom'});

{'fraction_non_alphanumeric': 0.1642363775901765, 'fraction_numerical': 0.0061396776669224865, 'mean_word_length': 5.20952380952381, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7601977', 'n_tokens_mistral': 404, 'n_tokens_neox': 392, 'n_words': 101}