<commit_before>/*jshint node: true*/
/*global require, __dirname*/
/*global _gpfFinishLoading*/ // Ends the loading (declared in boot.js)
/*global _gpfNodeFS*/ // Node FS module
(function () {
    "use strict";

    require("./sources.js"); // Get sources
    var
        sources = gpf.sources().split(","),
        length = sources.length,
        idx,
        src,
        concat = [];

    // Enumerate all sources and concatenate them
    for (idx = 0; idx < length; ++idx) {
        src = sources[idx];
        if (!src) {
            break;
        }
        src = __dirname + "/" + src + ".js";
        concat.push(_gpfNodeFS.readFileSync(src).toString());
    }

    /*jslint evil: true*/
    eval(concat.join("\n"));
    /*jslint evil: false*/

    // Trigger finish loading
    _gpfFinishLoading();

}());
<commit_msg>Can't use require for node<commit_after>/*jshint node: true*/
/*global gpfSourcesPath*/ // Global source path
/*global _gpfNodeFS*/ // Node FS module
/*global _gpfFinishLoading*/ // Ends the loading (declared in boot.js)
(function () {
    "use strict";

    // Get sources
    /*jslint evil: true*/
    eval(_gpfNodeFS.readFileSync(gpfSourcesPath + "sources.js").toString());
    /*jslint evil: false*/

    var
        sources = gpf.sources().split(","),
        length = sources.length,
        idx,
        src,
        concat = [];

    // Enumerate all sources and concatenate them
    for (idx = 0; idx < length; ++idx) {
        src = sources[idx];
        if (!src) {
            break;
        }
        src = gpfSourcesPath + src + ".js";
        concat.push(_gpfNodeFS.readFileSync(src).toString());
    }

    /*jslint evil: true*/
    eval(concat.join("\n"));
    /*jslint evil: false*/

    // Trigger finish loading
    _gpfFinishLoading();

}());

{'fraction_non_alphanumeric': 0.16015625, 'fraction_numerical': 0.0011160714285714285, 'mean_word_length': 2.1678445229681977, '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': '4179120', 'n_tokens_mistral': 579, 'n_tokens_neox': 556, 'n_words': 145}