<commit_before>var settings = {
};

module.exports = function() {
    return settings;
};

module.exports.init = function(app, express) {
    // PRODUCTION
    if ('production' === app.settings.env) {
        settings = require('./production').init(app, express)();
    }
    // DEVELOPMENT
    if ('development' === app.settings.env) {
        settings = require('./development').init(app, express)();
    }

    return module.exports;
};<commit_msg>Use underscore's extend method to override default settings<commit_after>var _ = require('underscore');

var settings = {
// Default settings
};

module.exports = function() {
    return settings;
};

module.exports.init = function(app, express) {
    // PRODUCTION
    if ('production' === app.settings.env) {
        var _settings = require('./production').init(app, express)();
        settings = _.extend(settings, _settings);
    }
    // DEVELOPMENT
    if ('development' === app.settings.env) {
        var _settings = require('./development').init(app, express)();
        settings = _.extend(settings, _settings);
    }

    return module.exports;
};
{'fraction_non_alphanumeric': 0.16306306306306306, 'fraction_numerical': 0.0, 'mean_word_length': 3.1148148148148147, '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': '5072591', 'n_tokens_mistral': 324, 'n_tokens_neox': 311, 'n_words': 69}