<commit_before>const WebSocketServer = require('ws').Server;
const Rx = require('rx');
const wss = new WebSocketServer({ port: 8080 });
<commit_msg>Configure port number through environment variable.<commit_after>const WebSocketServer = require('ws').Server;
const Rx = require('rx');

const PORT = process.env.PORT || 8080;
const wss = new WebSocketServer({ port: PORT });

console.log('Server listening on', PORT);

{'fraction_non_alphanumeric': 0.14388489208633093, 'fraction_numerical': 0.019184652278177457, 'mean_word_length': 6.464285714285714, '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': '6666596', 'n_tokens_mistral': 126, 'n_tokens_neox': 117, 'n_words': 37}