<commit_before>
var express = require('express');
var wbController = require('./controllers/wbController');

// Use 8080 for local development because you might already have apache running on 80
const port = 8080;

var app = express();
var server = require('http').Server(app);
var io = require('socket.io')(server);

var path = require('path');

// Set up template engine
app.set('view engine', 'ejs');

// Static files
app.use(express.static(__dirname + '/public'));
<commit_msg>Changed socket transports to polling<commit_after>
var express = require('express');
var wbController = require('./controllers/wbController');

// Use 8080 for local development because you might already have apache running on 80
const port = process.env.PORT || 8080;

var app = express();
var server = require('http').Server(app);

var io = require('socket.io')(server, {
    'transports': ['polling']
});

var path = require('path');

// Set up template engine
app.set('view engine', 'ejs');

// Static files
app.use(express.static(__dirname + '/public'));

{'fraction_non_alphanumeric': 0.15561959654178675, 'fraction_numerical': 0.01921229586935639, 'mean_word_length': 4.988505747126437, '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': '1952410', 'n_tokens_mistral': 317, 'n_tokens_neox': 295, 'n_words': 101}