<commit_before>"use strict";

require(__dirname + '/../' + 'constants');

if (collection === undefined) {
    process.exit();
}
logger.info(collection);
/*
 * choices of collection to be filled
 */
var possibleListeners = [
    'basicPokemonDetail'
];

// when the choices of collection to be filled doesn't match, then exit the process
if (possibleListeners.indexOf(collection) < 0) {
    process.exit();
}

database.connect(function (db) {
    db.on('open', function () {
        // builder basic pokemon details
        const builder = require(__base + 'app/controllers/filler/' + collection);
        builder.insertToDb(function () {
            process.exit();
        });

    })
});
<commit_msg>renamed possibleListeners to possibleCollections<commit_after>"use strict";

require(__dirname + '/../' + 'constants');

if (collection === undefined) {
    process.exit();
}
logger.info(collection);
/*
 * choices of collection to be filled
 */
var possibleCollections = [
    'basicPokemonDetail'
];

// when the choices of collection to be filled doesn't match, then exit the process
if (possibleCollections.indexOf(collection) < 0) {
    process.exit();
}

database.connect(function (db) {
    db.on('open', function () {
        // builder basic pokemon details
        const builder = require(__base + 'app/controllers/filler/' + collection);
        builder.insertToDb(function () {
            process.exit();
        });

    })
});

{'fraction_non_alphanumeric': 0.14414414414414414, 'fraction_numerical': 0.001386001386001386, 'mean_word_length': 3.1734104046242773, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6463777', 'n_tokens_mistral': 403, 'n_tokens_neox': 401, 'n_words': 105}