<commit_before>const path = require('path');
const express = require('express');
const { Server } = require('http');
const socketIO = require('socket.io');

const actions = require('./app/actions');

const DEFAULT_PORT = 5000;

const app = express();
const server = Server(app); // eslint-disable-line new-cap
const io = socketIO(server);

app.set('port', (process.env.PORT || DEFAULT_PORT));

app.use('/', express.static(path.join(__dirname, '../public')));

server.listen(app.get('port'), function() {
  console.log('Simple node chat is running on port', app.get('port'));
});
<commit_msg>remove deconstructing pattern in server.js<commit_after>const path = require('path');
const express = require('express');
const http = require('http');
const socketIO = require('socket.io');

const actions = require('./app/actions');

const DEFAULT_PORT = 5000;

const app = express();
const server = http.Server(app); // eslint-disable-line new-cap
const io = socketIO(server);

app.set('port', (process.env.PORT || DEFAULT_PORT));

app.use('/', express.static(path.join(__dirname, '../public')));

server.listen(app.get('port'), function() {
  console.log('Simple node chat is running on port', app.get('port'));
});

{'fraction_non_alphanumeric': 0.1933884297520661, 'fraction_numerical': 0.006611570247933884, 'mean_word_length': 5.475935828877005, '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': '4174422', 'n_tokens_mistral': 369, 'n_tokens_neox': 360, 'n_words': 94}