<commit_before>console.log('Pulse is loaded...');

var RESTClient = require('node-rest-client').Client;
var useEnv     = process.env['PULSE_CONFIG'] != undefined;
var configs    = useEnv ? JSON.parse(process.env['PULSE_CONFIG']) : require('./config/config');
var RPMApi     = require('./lib/rpm_api').API;
var CronJob    = require('cron').CronJob;

process.env['APP_NAME'] = configs.app.name;
if (!useEnv) {
    // Ignore SSL cert errors
    process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
}

/*
	Main<commit_msg>Ignoring SSL errors to allow running on test servers<commit_after>console.log('Pulse is loaded...');

var RESTClient = require('node-rest-client').Client;
var useEnv     = process.env['PULSE_CONFIG'] != undefined;
var configs    = useEnv ? JSON.parse(process.env['PULSE_CONFIG']) : require('./config/config');
var RPMApi     = require('./lib/rpm_api').API;
var CronJob    = require('cron').CronJob;

process.env['APP_NAME'] = configs.app.name;

// Ignore SSL cert errors
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";

/*
	Main
{'fraction_non_alphanumeric': 0.16810758885686838, 'fraction_numerical': 0.0019212295869356388, 'mean_word_length': 4.427083333333333, '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': '28194', 'n_tokens_mistral': 364, 'n_tokens_neox': 357, 'n_words': 69}