<commit_before><!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>Tree Canopy</title>
    <script>
        /**
         * CanvasRenderingContext2D
         */
        var context = null;

        var onLoad = function () {
            var canvas = document.getElementById('_canvas');
            context = canvas.getContext('2d');

            drawTrails();
        };

        var drawTrails = function() {
            context.save();
            context.translate(130, 250);

            drawTreeCanopy(context);

            context.stroke();
            context.restore();
        };

        var drawTreeCanopy = function () {
            // Begin drawing
            context.beginPath();

            // Drawing left side
            context.moveTo(-25, -50);
            context.lineTo(-10, -80);
            context.lineTo(-20, -80);
            context.lineTo(-5, -110);
            context.lineTo(-15, -110);

            // Top of the tree
            context.lineTo(0, -140);

            // Drawing right side
            context.lineTo(15, -110);
            context.lineTo(5, -110);
            context.lineTo(20, -80);
            context.lineTo(10, -80);
            context.lineTo(25, -50);

            // Close the ending lines
            context.closePath();

            // Style definition
            context.lineWidth = 4;
            context.lineJoin = 'round';
            context.strokeStyle = '#663300';
        };

        window.addEventListener('load', onLoad, true);
    </script>
</head>
<body>
<canvas id="_canvas" style="border: 1px solid maroon;"
        width="800" height="600">
    Update your browser to enjoy canvas !
</canvas>
</body>
</html><commit_msg>2D Graphics : Fill shape<commit_after><!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>Tree Canopy</title>
    <script>
        /**
         * CanvasRenderingContext2D
         */
        var context = null;

        var onLoad = function () {
            var canvas = document.getElementById('_canvas');
            context = canvas.getContext('2d');

            drawTrails();
        };

        var drawTrails = function() {
            context.save();
            context.translate(130, 250);

            drawTreeCanopy(context);

            // Stroke
            context.lineWidth = 4;
            context.lineJoin = 'round';
            context.strokeStyle = '#663300';
            context.stroke();

            // Fill
            context.fillStyle = '#339900';
            context.fill();

            context.restore();
        };

        var drawTreeCanopy = function () {
            // Begin drawing
            context.beginPath();

            // Drawing left side
            context.moveTo(-25, -50);
            context.lineTo(-10, -80);
            context.lineTo(-20, -80);
            context.lineTo(-5, -110);
            context.lineTo(-15, -110);

            // Top of the tree
            context.lineTo(0, -140);

            // Drawing right side
            context.lineTo(15, -110);
            context.lineTo(5, -110);
            context.lineTo(20, -80);
            context.lineTo(10, -80);
            context.lineTo(25, -50);

            // Close the ending lines
            context.closePath();
        };

        window.addEventListener('load', onLoad, true);
    </script>
</head>
<body>
<canvas id="_canvas" style="border: 1px solid maroon;"
        width="800" height="600">
    Update your browser to enjoy canvas !
</canvas>
</body>
</html>
{'fraction_non_alphanumeric': 0.13688964154671182, 'fraction_numerical': 0.04092576912221282, 'mean_word_length': 1.5045936395759718, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '1765551', 'n_tokens_mistral': 1068, 'n_tokens_neox': 960, 'n_words': 217}