<commit_before>var GoogleStrategy = require('passport-google-oauth').OAuth2Strategy;
var FacebookStrategy = require('passport-facebook').Strategy;
var env;
// FOR DEVELOPMENT (check if we are on localhost)
var os = require('os');
if(os.hostname().indexOf("local") > -1)
    env = 'localhost';
else
    env = 'development';

var configAuth    = require(__dirname + '/../config/authentication.json')[env];


module.exports = function(passport, models) {


    // Session Setup

    // serializes user for session<commit_msg>Trying to fix Travis CI Selenium testing.<commit_after>var GoogleStrategy = require('passport-google-oauth').OAuth2Strategy;
var FacebookStrategy = require('passport-facebook').Strategy;
var env;
// FOR DEVELOPMENT (check if we are on localhost)
var os = require('os');
if(os.hostname().indexOf("local") > -1 || process.env.CI) {
    env = 'localhost';
} else {
    env = 'development';
}

var configAuth    = require(__dirname + '/../config/authentication.json')[env];


module.exports = function(passport, models) {


    // Session Setup

    // serializes user for session
{'fraction_non_alphanumeric': 0.14663023679417123, 'fraction_numerical': 0.0036429872495446266, 'mean_word_length': 4.233333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3347894', 'n_tokens_mistral': 335, 'n_tokens_neox': 319, 'n_words': 84}