<commit_before>var colors = require('colors');
var port = 3000;

global.app = {};

require('./config')();

app.tasks = require('./tasks');
app.models = require('./models');
app.controllers = require('./controllers')();

app.routing.listen(port);

console.log(('datastructor running on port ' + port).green);<commit_msg>redirect all traffic to index.html<commit_after>var colors = require('colors');
var port = 3000;

global.app = {};

require('./config')();

app.tasks = require('./tasks');
app.models = require('./models');
app.controllers = require('./controllers')();

app.routing.get('*', function (req, res) {
  res.sendFile(__dirname + '/public/index.html');
});
app.routing.listen(port);

console.log(('datastructor running on port ' + port).green);
{'fraction_non_alphanumeric': 0.2156084656084656, 'fraction_numerical': 0.010582010582010581, 'mean_word_length': 5.256198347107438, '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': '1815773', 'n_tokens_mistral': 241, 'n_tokens_neox': 235, 'n_words': 49}