<commit_before>// Requirements
var http = require('http');
var express = require('express');
var ejs = require('ejs');
var path = require('path');
var MongoClient = require('mongodb').MongoClient;
var assert = require('assert');
var CollectionDriver = require('./collectionDriver').CollectionDriver;
var bodyParser = require('body-parser');
var sessions = require('client-sessions');
var app = express();

// Express settings
app.set('port', process.env.PORT || 8080);
app.use(express.static(path.join(__dirname, '../client')));
app.use(bodyParser.json());
app.set('views', __dirname + '/../client');
app.engine('html', ejs.renderFile);
app.set('view engine', 'html');

// Sets up our session variable definitions
app.use(sessions({<commit_msg>Change node server to port 3000<commit_after>// Requirements
var http = require('http');
var express = require('express');
var ejs = require('ejs');
var path = require('path');
var MongoClient = require('mongodb').MongoClient;
var assert = require('assert');
var CollectionDriver = require('./collectionDriver').CollectionDriver;
var bodyParser = require('body-parser');
var sessions = require('client-sessions');
var app = express();

// Express settings
app.set('port', process.env.PORT || 3000);
app.use(express.static(path.join(__dirname, '../client')));
app.use(bodyParser.json());
app.set('views', __dirname + '/../client');
app.engine('html', ejs.renderFile);
app.set('view engine', 'html');

// Sets up our session variable definitions
app.use(sessions({
{'fraction_non_alphanumeric': 0.18857901726427623, 'fraction_numerical': 0.00796812749003984, 'mean_word_length': 6.1761904761904765, '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': '2528207', 'n_tokens_mistral': 448, 'n_tokens_neox': 430, 'n_words': 114}