<commit_before>//server.js

//set up -------------
// get all the tools we need

var express			= require('express');
var app				= express();
var port			= process.env.PORT || 8080;
var mongoose		= require('mongoose');
var passport		= require('passport');
var flash			= require('connect-flash');

var morgan			= require('morgan');
var cookieParser	= require('cookie-parser');
var bodyParser		= require('body-parser');
var session			= require('express-session');

var configDB		= require('./config/database.js');

var temp_voting_records	= require('./app/models/DB_votes.js')

var io 				= require('socket.io');
var chat_room;



//////////////

var express = require('express'),
    app = express(),
    server = require('http').createServer(app),
    io = require('socket.io').listen(server),

server.listen(process.env.PORT || 3000);

//////////////





//configuration --------------
mongoose.connect(configDB.url);//connect to db

var db = mongoose.connection;
db.on('error', console.error.bind(console, 'connection error:'));
db.once('open', function (callback) {<commit_msg>fixing errors to deploy 2<commit_after>//server.js

//set up -------------
// get all the tools we need

var express			= require('express');
var app				= express();
var port			= process.env.PORT || 8080;
var mongoose		= require('mongoose');
var passport		= require('passport');
var flash			= require('connect-flash');

var morgan			= require('morgan');
var cookieParser	= require('cookie-parser');
var bodyParser		= require('body-parser');
var session			= require('express-session');

var configDB		= require('./config/database.js');

var temp_voting_records	= require('./app/models/DB_votes.js')

var io 				= require('socket.io');
var chat_room;




//configuration --------------
mongoose.connect(configDB.url);//connect to db

var db = mongoose.connection;
db.on('error', console.error.bind(console, 'connection error:'));
db.once('open', function (callback) {
{'fraction_non_alphanumeric': 0.2002058672156459, 'fraction_numerical': 0.0066906845084920225, 'mean_word_length': 3.542056074766355, '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': '1134190', 'n_tokens_mistral': 642, 'n_tokens_neox': 609, 'n_words': 145}