<commit_before>'use strict';


// Variables
var Hapi = require('hapi');
var fs = require('fs');
var Inert = require('inert');
var Vision = require('vision');
var async = require('async');
var HapiSwagger = require('hapi-swagger');
var Pack = require('./package');
var appConfig = require('./config/Config.json');
var mongoose = require('mongoose');
var pluginList = [];
var path = require('path');
var hapiRole = require('./custom_modules/hapi-role-manager');
var serverTasks = [];

// Constant variables
const _ENV_NAME = process.env.NAME || 'development';
const _APP_CONFIG = appConfig[_ENV_NAME];
const _PORT = process.env.PORT || _APP_CONFIG.server.port;
const _HOST = process.env.HOST || _APP_CONFIG.server.host;

// Global Variables
global._APP_DIR = __dirname;
global.Model = {};

// Create a server with a host and port
var server = new Hapi.Server();
server.connection({
    host: _HOST,
    port: _PORT,
    routes: {
        cors: _APP_CONFIG.server.allowCrossDomain
    }<commit_msg>update port text on ap.js<commit_after>'use strict';

// Variables
var Hapi = require('hapi');
var fs = require('fs');
var Inert = require('inert');
var Vision = require('vision');
var async = require('async');
var HapiSwagger = require('hapi-swagger');
var Pack = require('./package');
var appConfig = require('./config/Config.json');
var mongoose = require('mongoose');
var pluginList = [];
var path = require('path');
var hapiRole = require('./custom_modules/hapi-role-manager');
var serverTasks = [];

// Constant variables
const _ENV_NAME = process.env.NAME || 'development';
const _APP_CONFIG = appConfig[_ENV_NAME];
const _PORT = process.env.PORT || _APP_CONFIG.server.port;
const _HOST = process.env.HOST || _APP_CONFIG.server.host;

// Global Variables
global._APP_DIR = __dirname;
global.Model = {};

// Create a server with a host and port
var server = new Hapi.Server();
server.connection({
    host: process.env.HOST || _HOST,
    port: process.env.PORT || _PORT,
    routes: {
        cors: _APP_CONFIG.server.allowCrossDomain
    }
{'fraction_non_alphanumeric': 0.15531602155805976, 'fraction_numerical': 0.0, 'mean_word_length': 4.533875338753387, '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': '1701706', 'n_tokens_mistral': 632, 'n_tokens_neox': 629, 'n_words': 170}