<commit_before>var express = require('express');
    mongooseAuth = require('mongoose-auth');
var everyauth = require('./node_modules/mongoose-auth/node_modules/everyauth');
everyauth.debug = true;
var RedisStore = require('connect-redis')(express);

require('./models/db_connect');

// TODO Figure out how to include the mongooseAuth.middleware() without instatiating a User before
User = require('./models/user');

var app = module.exports = express.createServer(
  express.bodyParser(),
  express.methodOverride(),
  express.cookieParser(),<commit_msg>Disbale everyauth log in production<commit_after>var express = require('express');
    mongooseAuth = require('mongoose-auth');
var everyauth = require('./node_modules/mongoose-auth/node_modules/everyauth');
everyauth.debug = process.env.NODE_ENV === 'production' ? false : true;
var RedisStore = require('connect-redis')(express);

require('./models/db_connect');

// TODO Figure out how to include the mongooseAuth.middleware() without instatiating a User before
User = require('./models/user');

var app = module.exports = express.createServer(
  express.bodyParser(),
  express.methodOverride(),
  express.cookieParser(),
{'fraction_non_alphanumeric': 0.14152542372881355, 'fraction_numerical': 0.0, 'mean_word_length': 5.826589595375722, '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': '2660700', 'n_tokens_mistral': 328, 'n_tokens_neox': 335, 'n_words': 78}