<commit_before>// require('newrelic');
var requestModule = require('request');
var cheerio = require('cheerio');
var express = require("express");
var moment = require("moment");
var url = require('url');

var swig = require('swig');
var path = require('path');
var _ = require("underscore");
var session = require("express-session");
var q = require('q');

var mongoDbConnection = require('./lib/connection.js');
var util = require('./util');
var PasswordEncrypt = require('./lib/PasswordEncrypt');

var githubEvents = require("./githubEvents");

var MongoStore = require("express-session-mongo");

var app = express();
app.use(express.logger());
app.use(express.bodyParser());
app.use(express.cookieParser());

app.engine('html', swig.renderFile);
app.use(express.static(path.join(__dirname, 'website/public')));
app.set('view engine', 'html');
app.set('view cache', false);
app.set('views', __dirname + '/website/views');
swig.setDefaults({
    cache: false
});
var sessionSecret = process.env.SESSION_SECRET;
app.use(express.favicon());
app.use(session({
    store: new MongoStore({
        db: "quantifieddev",
        ip: "ds035897.mongolab.com",
        port: "35897",
        username: "qdapi",
        password: "<PASSWORD>"<commit_msg>-- Removed favicon<commit_after>// require('newrelic');
var requestModule = require('request');
var cheerio = require('cheerio');
var express = require("express");
var moment = require("moment");
var url = require('url');

var swig = require('swig');
var path = require('path');
var _ = require("underscore");
var session = require("express-session");
var q = require('q');

var mongoDbConnection = require('./lib/connection.js');
var util = require('./util');
var PasswordEncrypt = require('./lib/PasswordEncrypt');

var githubEvents = require("./githubEvents");

var MongoStore = require("express-session-mongo");

var app = express();
app.use(express.logger());
app.use(express.bodyParser());
app.use(express.cookieParser());

app.engine('html', swig.renderFile);
app.use(express.static(path.join(__dirname, 'website/public')));
app.set('view engine', 'html');
app.set('view cache', false);
app.set('views', __dirname + '/website/views');
swig.setDefaults({
    cache: false
});
var sessionSecret = process.env.SESSION_SECRET;
app.use(session({
    store: new MongoStore({
        db: "quantifieddev",
        ip: "ds035897.mongolab.com",
        port: "35897",
        username: "qdapi",
        password: "<PASSWORD>"
{'fraction_non_alphanumeric': 0.19010944466963925, 'fraction_numerical': 0.008917713822456425, 'mean_word_length': 5.1393034825870645, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1471851', 'n_tokens_mistral': 786, 'n_tokens_neox': 754, 'n_words': 172}