<commit_before>(function(){
    var body = document.getElementsByTagName('body')[0];

    var canvas = document.createElement('canvas');
    canvas.width = 640;
    canvas.height= 640;
    body.appendChild(canvas);

    context = canvas.getContext('2d');
    context.fillRect(0, 0, canvas.width, canvas.height);
})();<commit_msg>draw stage 1 koch curve<commit_after>(function(){
    var body = document.getElementsByTagName('body')[0];

    var canvas = document.createElement('canvas');
    canvas.width = 640;
    canvas.height= 640;
    body.appendChild(canvas);

    context = canvas.getContext('2d');
    context.fillRect(0, 0, canvas.width, canvas.height);

    context.save();
    context.translate(0, canvas.height);
    context.scale(1, -1);

    context.save();
    context.translate(0, 10);

    context.strokeStyle = 'white';
    context.beginPath();
    context.moveTo(0, 0);
    context.lineTo(canvas.width/3, 0);
    context.lineTo(canvas.width/2, canvas.width/3 * Math.sqrt(3)/2);
    context.lineTo(2*canvas.width/3, 0);
    context.lineTo(canvas.width, 0);
    context.stroke();

    context.restore();

    context.restore();
})();
{'fraction_non_alphanumeric': 0.16869565217391305, 'fraction_numerical': 0.03391304347826087, 'mean_word_length': 3.659919028340081, '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': '1291080', 'n_tokens_mistral': 391, 'n_tokens_neox': 362, 'n_words': 65}