<commit_before>var hapi = require('hapi');
var pg = require('pg');
var routes = require('./routes');
// var updateTask = require('./src/updateTask');

var user = process.env.DBUsername || 'postgres';
var password = process.env.DBPassword || '';
var address = process.env.DBAddress || 'localhost';
var database = process.env.Database || 'tofix';
var path = process.env.UploadPath || '/tmp';
// short term, to prevent the need from building out user authentication until later
var uploadPassword = process.env.UploadPassword;
if (!path) return console.log('env variable UploadPath must be set');
if (!uploadPassword) return console.log('env variable UploadPassword must be set');
// from the db connection
var client;<commit_msg>UploadPath - default<commit_after>var hapi = require('hapi');
var pg = require('pg');
var routes = require('./routes');
// var updateTask = require('./src/updateTask');

var user = process.env.DBUsername || 'postgres';
var password = process.env.DBPassword || '';
var address = process.env.DBAddress || 'localhost';
var database = process.env.Database || 'tofix';
var path = process.env.UploadPath;
// short term, to prevent the need from building out user authentication until later
var uploadPassword = process.env.UploadPassword;
if (!path) return console.log('env variable UploadPath must be set');
if (!uploadPassword) return console.log('env variable UploadPassword must be set');
// from the db connection
var client;
{'fraction_non_alphanumeric': 0.13921433494141972, 'fraction_numerical': 0.0, 'mean_word_length': 5.23175965665236, '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': '4340352', 'n_tokens_mistral': 387, 'n_tokens_neox': 391, 'n_words': 141}