<commit_before>
Stage = {

    /**
    *
    */
    drawCollisions: function (collisions) {
        $.each(collisions, function (index, value) {
            var row = index;

            $.each(value, function (index, value) {
                if (value == 1) {
                    $('#collisions').append('<div class="collision" style="left: ' + index * 32 + 'px; top: ' + row * 32 + 'px"></div>');
                }
            });
        });
    },

    /**
    *
    */
    drawObjects: function (objects) {
        $.each(objects, function (index, value) {
            var row = index;

            $.each(value, function (index, value) {
                $('#objects').append('<div class="object o' + value + '" style="left: ' + index * 32 + 'px; top: ' + row * 32 + 'px"></div>');
            });
        });
    },

    /**
     *
     */
    drawTiles: function (tiles) {
        $.each(tiles, function (index, value) {
            var row = index;

            $.each(value, function (index, value) {
                $('#tiles').append('<div class="tile t' + value + '" style="left: ' + index * 32 + 'px; top: ' + row * 32 + 'px"></div>');
            });
        });
    }
}<commit_msg>Preventing drawObjects from drawing any empty tiles.<commit_after>
Stage = {

    /**
    *
    */
    drawCollisions: function (collisions) {
        $.each(collisions, function (index, value) {
            var row = index;

            $.each(value, function (index, value) {
                if (value == 1) {
                    $('#collisions').append('<div class="collision" style="left: ' + index * 32 + 'px; top: ' + row * 32 + 'px"></div>');
                }
            });
        });
    },

    /**
    *
    */
    drawObjects: function (objects) {
        $.each(objects, function (index, value) {
            var row = index;

            $.each(value, function (index, value) {
                if (value > 0) {
                    $('#objects').append('<div class="object o' + value + '" style="left: ' + index * 32 + 'px; top: ' + row * 32 + 'px"></div>');
                }
            });
        });
    },

    /**
     *
     */
    drawTiles: function (tiles) {
        $.each(tiles, function (index, value) {
            var row = index;

            $.each(value, function (index, value) {
                $('#tiles').append('<div class="tile t' + value + '" style="left: ' + index * 32 + 'px; top: ' + row * 32 + 'px"></div>');
            });
        });
    }
}
{'fraction_non_alphanumeric': 0.1914722445695897, 'fraction_numerical': 0.01086082059533387, 'mean_word_length': 1.5020120724346075, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 16, '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': '5140681', 'n_tokens_mistral': 775, 'n_tokens_neox': 728, 'n_words': 171}