<commit_before>(function(scope) {

function firebugConsole(){
    /** colors for console.log %c */
    var green = "color: green",
        red = "color: red;",
        orange = "color: orange",
        blue = "color: blue",
        normal = "color: normal; font-weight:normal;";


    function _print(){
        console.log.apply(console, arguments);
    };
    this.print = _print;

    function _error(error){
        console.group('%c%s%c: %s',orange,error.type,normal,error.message);
            if (error.stack) console.log(error.stack);
            console.dir(error.error);
        console.groupEnd();
    };
    this.error = _error;

    function _test(test){
        var color = (test.status==='pass')?green:
                    (test.status==='fail')?red:
                    (test.status==='error')?orange:normal;
        
        var args = ['%c%s%c',color,test.status,normal];
        
        if (test.time) {
            args[0] += ' (%c%s%c ms)';
            args.push(blue,test.time,normal);
        };<commit_msg>fix bug with time==0<commit_after>(function(scope) {

function firebugConsole(){
    /** colors for console.log %c */
    var green = "color: green",
        red = "color: red;",
        orange = "color: orange",
        blue = "color: blue",
        normal = "color: normal; font-weight:normal;";


    function _print(){
        console.log.apply(console, arguments);
    };
    this.print = _print;

    function _error(error){
        console.group('%c%s%c: %s',orange,error.type,normal,error.message);
            if (error.stack) console.log(error.stack);
            console.dir(error.error);
        console.groupEnd();
    };
    this.error = _error;

    function _test(test){
        var color = (test.status==='pass')?green:
                    (test.status==='fail')?red:
                    (test.status==='error')?orange:normal;
        
        var args = ['%c%s%c',color,test.status,normal];
        
        if (typeof test.time !== 'undefined') {
            args[0] += ' (%c%s%c ms)';
            args.push(blue,test.time,normal);
        };
{'fraction_non_alphanumeric': 0.17160611854684513, 'fraction_numerical': 0.0014340344168260039, 'mean_word_length': 2.109955423476969, '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': '2711032', 'n_tokens_mistral': 658, 'n_tokens_neox': 641, 'n_words': 119}