<commit_before>var appInfo = JSON.parse(process.env.VCAP_APPLICATION || '{}');

var service_url = '{????}';
var service_username = '{????}';
var service_password = '{????}';

if (process.env.VCAP_SERVICES) {
    var services = JSON.parse(process.env.VCAP_SERVICES);
    var service_name = 'question_and_answer';
    if (services[service_name]) {
	var service_instance_name = services[service_name][0].name;
	var service_instance_plan = services[service_name][0].plan;
	var svc = services[service_name][0].credentials;
	service_url = svc.url;
	service_username = svc.username;
	service_password = <PASSWORD>;
    } else {
	console.log('Service ' + service_name + ' is not in the VCAP_SERVICES.');
    }
} else {
    console.log('No VAP_SERVICES found in ENV.');
}

console.log(service_instance_name + '(' + service_instance_plan + '): ' + service_username + ':XXXX@' + service_url);

var auth = 'Basic ' + new Buffer(service_username + ':' + service_password).toString('base64');

exports.host = process.env.VCAP_APP_HOST || 'localhost';
exports.port = process.env.VCAP_APP_PORT || 3000;

exports.url = service_url;
exports.username = service_username;
exports.password = <PASSWORD>;
exports.auth = auth;<commit_msg>Remove unnecessary variables<commit_after>var appInfo = JSON.parse(process.env.VCAP_APPLICATION || '{}');

var service_url = '{????}';
var service_username = '{????}';
var service_password = '{????}';

if (process.env.VCAP_SERVICES) {
    var services = JSON.parse(process.env.VCAP_SERVICES);
    var service_name = 'question_and_answer';
    if (services[service_name]) {
	var service_instance_name = services[service_name][0].name;
	var service_instance_plan = services[service_name][0].plan;
	var svc = services[service_name][0].credentials;
	service_url = svc.url;
	service_username = svc.username;
	service_password = <PASSWORD>;
    } else {
	console.log('Service ' + service_name + ' is not in the VCAP_SERVICES.');
    }
} else {
    console.log('No VCAP_SERVICES found in ENV.');
}

console.log(service_instance_name + '(' + service_instance_plan + '): ' + service_username + ':XXXX@' + service_url);

var auth = 'Basic ' + new Buffer(service_username + ':' + service_password).toString('base64');

exports.url = service_url;
exports.username = service_username;
exports.password = <PASSWORD>;
exports.auth = auth;
{'fraction_non_alphanumeric': 0.15568862275449102, 'fraction_numerical': 0.005988023952095809, 'mean_word_length': 5.390710382513661, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '719665', 'n_tokens_mistral': 789, 'n_tokens_neox': 767, 'n_words': 141}