<commit_before>// Websockets library
var Websockets = (function() {
	var self = this;
	this.io = false;
	var connect = function() {
		var config = require('../../config');
		var port = (config.websocket_port ? config.websocket_port : config.port + 1);
		console.log("Connecting to Socket.io on port", port);
		this.io = require("socket.io").listen((config.websocket_port ? config.websocket_port : config.port + 1));
		this.io.sockets.on('connection', function (s) {
			console.log("Socket.io connection established");
		});
		return this;<commit_msg>Do socket port better<commit_after>// Websockets library
var Websockets = (function() {
	var self = this;
	this.io = false;
	var connect = function() {
		var config = require('../../config');
		var port = (config.websocket_port ? config.websocket_port : parseInt(config.port) + 1);
		console.log("Connecting to Socket.io on port", port);
		this.io = require("socket.io").listen(port);
		this.io.sockets.on('connection', function (s) {
			console.log("Socket.io connection established");
		});
		return this;
{'fraction_non_alphanumeric': 0.16272469252601704, 'fraction_numerical': 0.002838221381267739, 'mean_word_length': 4.263681592039801, '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': '332309', 'n_tokens_mistral': 360, 'n_tokens_neox': 332, 'n_words': 83}