<commit_before>/*globals QUnit, test, asyncTest
 */

(function(global) {
    var log = function(s) {
        if (global.console) {
            console.log(s);
        }
    };

    /**
     * Simple wrapper function to register test with the qunitRunner
     * @param name
     * @param test
     */
    var registerTest = function(name, test) {
        global.QUnitRunner.registerTest(name, test);
    };

    var __hasProp = Object.prototype.hasOwnProperty,
        __extends = function(child, parent) {
            for (var key in parent) {
                if (__hasProp.call(parent, key)) {
                    child[key] = parent[key];
                }
            }

            function CTor() {
                this.constructor = child;
            }
            if (parent.prototype) {
                CTor.prototype = parent.prototype;
                child.prototype = new CTor();
                child.__super__ = parent.prototype;
            }
            return child;
        };

    var QUnitRunner = function() {};

    QUnitRunner.prototype.setupTests = function() {
        
        // global tests
        var globalTests = this.config.globalTests || [];

        // pages
        this.pages = [];
        this.pagesToTest = [];

        // tests scripts
        this.tests = {};<commit_msg>refactoring<commit_after>/*globals QUnit, test, asyncTest
 */

(function(global) {


    var utils = {
            log: function(s) {
                if (global.console) {
                    console.log(s);
                }
            },
            __hasProp: Object.prototype.hasOwnProperty,
            __extends: function(child, parent) {
                for (var key in parent) {
                    if (__hasProp.call(parent, key)) {
                        child[key] = parent[key];
                    }
                }

                function CTor() {
                    this.constructor = child;
                }
                if (parent.prototype) {
                    CTor.prototype = parent.prototype;
                    child.prototype = new CTor();
                    child.__super__ = parent.prototype;
                }
                return child;
            }
        },
        log = utils.log,
        __hasProp = utils.__hasProp,
        __extends = utils.__extends;

    /**
     * Simple wrapper function to register test with the qunitRunner
     * @param name
     * @param test
     */
    var registerTest = function(name, test) {
        global.QUnitRunner.registerTest(name, test);
    };

    var QUnitRunner = function() {};

    QUnitRunner.prototype.setupTests = function() {
        
        // global tests
        var globalTests = this.config.globalTests || [];

        // pages
        this.pages = [];
        this.pagesToTest = [];

        // tests scripts
        this.tests = {};
{'fraction_non_alphanumeric': 0.10725552050473186, 'fraction_numerical': 0.0, 'mean_word_length': 1.3241042345276872, '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': '7193740', 'n_tokens_mistral': 757, 'n_tokens_neox': 723, 'n_words': 160}