<commit_before>(function(){
    "use strict";

    var config = {},
        internal = {},
        path = require("path"),
        config = (require((process.argv.length == 3 && process.argv[2] == 'test') ? './configuration.test.json' : './configuration.json'));

    internal.config = config;

    config.get = function(moduleName){
        return internal.config[moduleName];
    };

    // Node.js
    if (typeof module !== 'undefined' && module.exports) {
        module.exports = config;
    }
})();
<commit_msg>Refactored the config module to be an empty container for config values.<commit_after>'use strict';

module.exports = (function(){
    var conf = {
        db: {},
        crypto: {},
        cache: {},
        assets: {},
        logger : {}
    };

    conf.init = function(conf){
        this.db = conf.db;
        this.crypto = conf.crypto;
        this.cache = conf.cache;
        this.assets = conf.assets;
        this.logger = conf.logger;
    };

    return conf;
})();

{'fraction_non_alphanumeric': 0.1646586345381526, 'fraction_numerical': 0.002008032128514056, 'mean_word_length': 2.165079365079365, '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': '3905621', 'n_tokens_mistral': 290, 'n_tokens_neox': 282, 'n_words': 65}