<commit_before>$(function() {

    var GammaSettings = {
            // order is important!
            viewport : [ {
                width : 1200,
                columns : 4
            }, {
                width : 900,
                columns : 4
            }, {
                width : 500,
                columns : 3
            }, { 
                width : 320,
                columns : 2
            }, { 
                width : 0,
                columns : 2
            } ]
    };

    Gamma.init( GammaSettings, function(){ /* callback */} );
  
  
    //hack to reload window since Gamma Gallery breaks on page resize
    var rtime = new Date(1, 1, 2000, 12,00,00);
    var timeout = false;
    var delta = 200;
    $(window).resize(function() {
        if($(window).width() >= 500){
            rtime = new Date();
            if (timeout === false) {
                timeout = true;
                setTimeout(resizeend, delta);
            }
        }
    });

    function resizeend() {
        if (new Date() - rtime < delta) {
            setTimeout(resizeend, delta);
        } else {
            timeout = false;
            location.reload();<commit_msg>switched resizing even larger<commit_after>$(function() {

    var GammaSettings = {
            // order is important!
            viewport : [ {
                width : 1200,
                columns : 4
            }, {
                width : 900,
                columns : 4
            }, {
                width : 500,
                columns : 3
            }, { 
                width : 320,
                columns : 2
            }, { 
                width : 0,
                columns : 2
            } ]
    };

    Gamma.init( GammaSettings, function(){ /* callback */} );
  
  
    //hack to reload window since Gamma Gallery breaks on page resize
    var rtime = new Date(1, 1, 2000, 12,00,00);
    var timeout = false;
    var delta = 200;
    $(window).resize(function() {
        if($(window).width() >= 900){
            rtime = new Date();
            if (timeout === false) {
                timeout = true;
                setTimeout(resizeend, delta);
            }
        }
    });

    function resizeend() {
        if (new Date() - rtime < delta) {
            setTimeout(resizeend, delta);
        } else {
            timeout = false;
            location.reload();
{'fraction_non_alphanumeric': 0.11531986531986532, 'fraction_numerical': 0.031144781144781145, 'mean_word_length': 1.0705574912891986, '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': '4281772', 'n_tokens_mistral': 704, 'n_tokens_neox': 591, 'n_words': 164}