<commit_before>/**
 * Created by ar on 7/16/15.
 */
var database={
    connectionURL:"mysql://root@localhost/test"
};
module.exports.database=database;<commit_msg>Adding database credentials as parameters<commit_after>/**
 * Created by ar on 7/16/15.
 */

var dbuser = "root";
var dbpass = "";

process.argv.forEach(function (val, index, array) {
    //console.log(index + ': ' + val);
    var parts = val.split("=");
    if (parts[0] == "dbuser") {
        dbuser = parts[1];
    } else if (parts[0] == "dbpass") {
        dbpass = parts[1];
    }
});

var database={
    connectionURL:"mysql://" + dbuser + ":" + dbpass + "@localhost/idservice"
};
module.exports.database=database;
{'fraction_non_alphanumeric': 0.191800878477306, 'fraction_numerical': 0.020497803806734993, 'mean_word_length': 3.356687898089172, 'pattern_counts': {'":': 1, '<': 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': '3899095', 'n_tokens_mistral': 237, 'n_tokens_neox': 227, 'n_words': 51}