<commit_before>/*#ifndef(UMD)*/
(function () { /* Begin of privacy scope */
    "use strict";
/*#endif*/

    /*
     * Detect host & define global context
     */
    var
        _host,
        _context;

    // Microsoft cscript / wscript
    if ("undefined" !== typeof WScript) {
        _host = "wscript";
        _context = (function () {return this; }).apply(null, []);

        // Define console APIs
        _context.console = {
            log: function (t) {WScript.Echo("    " + t);},
            info: function (t) {WScript.Echo("[?] " + t);},
            warn: function (t) {WScript.Echo("/!\\ " + t);},
            error: function (t) {WScript.Echo("(X) " + t);}
        };

    // Nodejs
    } else if ("undefined" !== typeof module && module.exports) {
        _host = "nodejs";
        _context = global;

    // Browser
    } else if ("undefined" !== typeof window) {
        _host = "browser";
        _context = window;

    // Default: unknown
    } else {
        _host = "unknown";<commit_msg>WScript may not define Array::indexOf<commit_after>/*#ifndef(UMD)*/
(function () { /* Begin of privacy scope */
    "use strict";
/*#endif*/

    /*
     * Detect host & define global context
     */
    var
        _host,
        _context;

    // Microsoft cscript / wscript
    if ("undefined" !== typeof WScript) {
        _host = "wscript";
        _context = (function () {return this; }).apply(null, []);

        // Define console APIs
        _context.console = {
            log: function (t) {WScript.Echo("    " + t);},
            info: function (t) {WScript.Echo("[?] " + t);},
            warn: function (t) {WScript.Echo("/!\\ " + t);},
            error: function (t) {WScript.Echo("(X) " + t);}
        };

        // Ugly but necessary extensions
        if (undefined === Array.prototype.indexOf) {
            // Introduced with JavaScript 1.5
            Array.prototype.indexOf = function (value) {
                var idx = this.length;
                while (idx--) {
                    if (this[idx] === value) {
                        return idx;
                    }
                }
                return -1;
            };
        }

    // Nodejs
    } else if ("undefined" !== typeof module && module.exports) {
        _host = "nodejs";
        _context = global;

    // Browser
    } else if ("undefined" !== typeof window) {
        _host = "browser";
        _context = window;

    // Default: unknown
    } else {
        _host = "unknown";
{'fraction_non_alphanumeric': 0.1596, 'fraction_numerical': 0.0012, 'mean_word_length': 1.5810113519091846, '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': '7596699', 'n_tokens_mistral': 747, 'n_tokens_neox': 723, 'n_words': 191}