<commit_before>'use strict';

var http = require('http');
var nodeStatic = require('node-static');
var jade = require('jade');

var staticServer = new nodeStatic.Server('./static');
var app = http.createServer(function(req, res, next) {
	// serve index for all app pages
	if (req.url.indexOf('/data.io.js') === -1) {
		if (req.url.indexOf('/js') === -1) {
			// Compile a function
			console.log(1234);
			var index = jade.compileFile(__dirname + '/views/index.jade');
			res.write(index());
			res.end();
		} else {
			staticServer.serve(req, res);
		}
	}
});

var io = require('socket.io')(app);
var data = require('data.io')(io);

require('./resources')(data);

app.listen(3000);<commit_msg>remove unused console.log<commit_after>'use strict';

var http = require('http');
var nodeStatic = require('node-static');
var jade = require('jade');

var staticServer = new nodeStatic.Server('./static');
var app = http.createServer(function(req, res, next) {
	// serve index for all app pages
	if (req.url.indexOf('/data.io.js') === -1) {
		if (req.url.indexOf('/js') === -1) {
			// Compile a function
			var index = jade.compileFile(__dirname + '/views/index.jade');
			res.write(index());
			res.end();
		} else {
			staticServer.serve(req, res);
		}
	}
});

var io = require('socket.io')(app);
var data = require('data.io')(io);

require('./resources')(data);

app.listen(3000);
{'fraction_non_alphanumeric': 0.20682148040638607, 'fraction_numerical': 0.011611030478955007, 'mean_word_length': 4.051282051282051, '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': '686849', 'n_tokens_mistral': 510, 'n_tokens_neox': 472, 'n_words': 106}