<commit_before>( function( w ) {

    w.cookieMonster = {

        bake: function( name, value, days ) {
            var expires = '';
            if ( days ) {
                var date = new Date();
                date.setTime( date.getTime() + ( days * 86400000 ) );// 24 * 60 * 60 * 1000
                expires = [ '; expires=', date.toGMTString() ].join( '' );
            }
            document.cookie = [ name, '=', value, expires, '; path=/' ].join( '' );
        },

        fetch: function( name ) {
            var cookies = this.fetchAll();
            if ( cookies[name] ) {
                return cookies[name];
            }
            return false;
        },

        fetchAll: function() {
            var cookies = {};
            this.openJar( function( name, value ) {
                cookies[name] = value;
            } );
            return cookies;
        },

        eat: function( name ) {
            this.bake( name, '', -1 );
        },

        eatAll: function() {
            this.openJar( function( name ) {
                this.eat( name );
            } );
        },

        openJar: function( fn ) {
            var jar = document.cookie.split( /[;,] / );
            var jar_size = jar.length;
            if ( jar_size > 1 ) {
                fn = fn || false;
                var cookie;
                var name;
                var value;
                for ( var i = 0; i < jar_size; i++ ) {<commit_msg>`fetchAll()`: Return false instead of empty object when finding no cookies<commit_after>( function( w ) {

    w.cookieMonster = {

        bake: function( name, value, days ) {
            var expires = '';
            if ( days ) {
                var date = new Date();
                date.setTime( date.getTime() + ( days * 86400000 ) );// 24 * 60 * 60 * 1000
                expires = [ '; expires=', date.toGMTString() ].join( '' );
            }
            document.cookie = [ name, '=', value, expires, '; path=/' ].join( '' );
        },

        fetch: function( name ) {
            var cookies = this.fetchAll();
            if ( cookies[name] ) {
                return cookies[name];
            }
            return false;
        },

        fetchAll: function() {
            var cookies = {};
            this.openJar( function( name, value ) {
                cookies[name] = value;
            } );
            for ( var c in cookies ) {
                return cookies;
            }
            return false;
        },

        eat: function( name ) {
            this.bake( name, '', -1 );
        },

        eatAll: function() {
            this.openJar( function( name ) {
                this.eat( name );
            } );
        },

        openJar: function( fn ) {
            var jar = document.cookie.split( /[;,] / );
            var jar_size = jar.length;
            if ( jar_size > 1 ) {
                fn = fn || false;
                var cookie;
                var name;
                var value;
                for ( var i = 0; i < jar_size; i++ ) {
{'fraction_non_alphanumeric': 0.13582677165354332, 'fraction_numerical': 0.013779527559055118, 'mean_word_length': 1.1114958448753463, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5585156', 'n_tokens_mistral': 903, 'n_tokens_neox': 819, 'n_words': 217}