<commit_before># Generated from Scratch SWF source by src/extract_blocks.py

# commands:Array
commands = [
 ['move %n steps', ' ', 1, 'forward:', 10],
 ['turn @turnRight %n degrees', ' ', 1, 'turnRight:', 15],
 ['turn @turnLeft %n degrees', ' ', 1, 'turnLeft:', 15],
 ['--'],
 ['point in direction %d.direction', ' ', 1, 'heading:', 90],
 ['point towards %m.spriteOrMouse', ' ', 1, 'pointTowards:', ''],
 ['--'],
 ['go to x:%n y:%n', ' ', 1, 'gotoX:y:'],
 ['go to %m.spriteOrMouse', ' ', 1, 'gotoSpriteOrMouse:', 'mouse-pointer'],
 ['glide %n secs to x:%n y:%n', ' ', 1, 'glideSecs:toX:y:elapsed:from:'],
 ['--'],
 ['change x by %n', ' ', 1, 'changeXposBy:', 10],
 ['set x to %n', ' ', 1, 'xpos:', 0],
 ['change y by %n', ' ', 1, 'changeYposBy:', 10],
 ['set y to %n', ' ', 1, 'ypos:', 0],
 ['--'],
 ['if on edge, bounce', ' ', 1, 'bounceOffEdge'],
 ['-'],
 ['set rotation style %m.rotationStyle', ' ', 1, 'setRotationStyle', 'left-right'],
 ['--'],
 ['x position', 'r', 1, 'xpos'],
 ['y position', 'r', 1, 'ypos'],
 ['direction', 'r', 1, 'heading'],
 ['say %s for %n secs', ' ', 2, 'say:duration:elapsed:from:', 'Hello!', 2],
 ['say %s', ' ', 2, 'say:', 'Hello!'],
 ['think %s for %n secs', ' ', 2, 'think:duration:elapsed:from:', 'Hmm...', 2],
 ['think %s', ' ', 2, 'think:', 'Hmm...'],
 ['-'],
 ['show', ' ', 2, 'show'],
 ['hide', ' ', 2, 'hide'],
 ['-'],
 ['switch costume to %m.costume', ' ', 2, 'lookLike:', 'costume1'],
 ['next costume', ' ', 2, 'nextCostume'],
 ['switch backdrop to %m.backdrop', ' ', 2, 'startScene', 'backdrop1'],
 ['-'],
 ['change %m.effect effect by %n', ' ', 2, 'changeGraphicEffect:by:', 'color', 25],
 ['set %m.effect effect to %n', ' ', 2, 'setGraphicEffect:to:', 'color', 0],
 ['clear graphic effects', ' ', 2, 'filterReset'],
 ['-'],
 ['change size by %n', ' ', 2, 'changeSizeBy:', 10],
 ['set size to %n%', ' ', 2, 'setSizeTo:', 100],
 ['-'],
 ['go to front', ' ', 2, 'comeToFront'],
 ['go back %n layers', ' ', 2, 'goBackByLayers:', 1],
 ['-'],
 ['costume #', 'r', 2, 'costumeIndex'],
 ['backdrop name', 'r', 2, 'sceneName'],
 ['size', 'r', 2, 'scale'],
 ['switch backdrop to %m.backdrop', ' ', 102, 'startScene', 'backdrop1'],
 ['switch backdrop to %m.backdrop and wait', ' ', 102, 'startSceneAndWait', 'backdrop1'],
 ['next backdrop', ' ', 102, 'nextScene'],
 ['-'],
 ['change %m.effect effect by %n', ' ', 102, 'changeGraphicEffect:by:', 'color', 25],
 ['set %m.effect effect to %n', ' ', 102, 'setGraphicEffect:to:', 'color', 0],
 ['clear graphic effects', ' ', 102, 'filterReset'],
 ['-'],
 ['backdrop name', 'r', 102, 'sceneName'],
 ['backdrop #', 'r', 102, 'backgroundIndex'],
 ['play sound %m.sound', ' ', 3, 'playSound:', 'pop'],
 ['play sound %m.sound until done', ' ', 3, 'doPlaySoundAndWait', 'pop'],
 ['stop all sounds', ' ', 3, 'stopAllSounds'],
 ['-'],
 ['play drum %d.drum for %n beats', ' ', 3, 'playDrum', 1, 0.2],
 ['rest for %n beats', ' ', 3, 'rest:elapsed:from:', 0.2],
 ['-'],
 ['play note %d.note for %n beats', ' ', 3, 'noteOn:duration:elapsed:from:', 60, 0.5],
 ['set instrument to %d.instrument', ' ', 3, 'instrument:', 1],
 ['-'],
 ['change volume by %n', ' ', 3, 'changeVolumeBy:', -10],
 ['set volume to %n%', ' ', 3, 'setVolumeTo:', 100],
 ['volume', 'r', 3, 'volume'],
 ['-'],
 ['change tempo by %n', ' ', 3, 'changeTempoBy:', 20],
 ['set tempo to %n bpm', ' ', 3, 'setTempoTo:', 60],
 ['tempo', 'r', 3, 'tempo'],
 ['clear', ' ', 4, 'clearPenTrails'],
 ['-'],
 ['stamp', ' ', 4, 'stampCostume'],
 ['-'],
 ['pen down', ' ', 4, 'putPenDown'],
 ['pen up', ' ', 4, 'putPenUp'],
 ['-'],
 ['set pen color to %c', ' ', 4, 'penColor:'],
 ['change pen color by %n', ' ', 4, 'changePenHueBy:'],
 ['set pen color to %n', ' ', 4, 'setPenHueTo:', 0],
 ['-'],
 ['change pen shade by %n', ' ', 4, 'changePenShadeBy:'],
 ['set pen shade to %n', ' ', 4, 'setPenShadeTo:', 50],
 ['-'],
 ['change pen size by %n', ' ', 4, 'changePenSizeBy:', 1],
 ['set pen size to %n', ' ', 4, 'penSize:', 1],
 ['-'],
 ['clear', ' ', 104, 'clearPenTrails'],
 ['when @greenFlag clicked', 'h', 5, 'whenGreenFlag'],
 ['when %m.key key pressed', 'h', 5, 'whenKeyPressed', 'space'],
 ['when this sprite clicked', 'h', 5, 'whenClicked'],
 ['when backdrop switches to %m.backdrop', 'h', 5, 'whenSceneStarts', 'backdrop1'],
 ['--'],
 ['when %m.triggerSensor > %n', 'h', 5, 'whenSensorGreaterThan', 'loudness', 10],
 ['--'],
 ['when I receive %m.broadcast', 'h', 5, 'whenIReceive', ''],
 ['broadcast %m.broadcast', ' ', 5, 'broadcast:', ''],
 ['broadcast %m.broadcast and wait', ' ', 5, 'doBroadcastAndWait', ''],
 ['wait %n secs', ' ', 6, 'wait:elapsed:from:', 1],
 ['-'],
 ['for i=1,%n,1 do', 'c', 6, 'doRepeat', 10],#repeat %n
 ['forever', 'cf', 6, 'doForever'],
 ['-'],
 ['if %b then', 'c', 6, 'doIf'],
 ['if %b then', 'e', 6, 'doIfElse'],
 ['wait until %b', ' ', 6, 'doWaitUntil'],
 ['repeat until %b', 'c', 6, 'doUntil'],
 ['-'],
 ['stop %m.stop', 'f', 6, 'stopScripts', 'all'],
 ['-'],
 ['when I start as a clone', 'h', 6, 'whenCloned'],
 ['create clone of %m.spriteOnly', ' ', 6, 'createCloneOf'],
 ['delete this clone', 'f', 6, 'deleteClone'],
 ['-'],
 ['wait %n secs', ' ', 106, 'wait:elapsed:from:', 1],
 ['-'],
 ['for i=1,%n,1 do', 'c', 106, 'doRepeat', 10],#repeat %n
 ['forever', 'cf', 106, 'doForever'],
 ['-'],
 ['if %b then', 'c', 106, 'doIf'],
 ['if %b then', 'e', 106, 'doIfElse'],
 ['wait until %b', ' ', 106, 'doWaitUntil'],
 ['repeat until %b', 'c', 106, 'doUntil'],
 ['-'],
 ['stop %m.stop', 'f', 106, 'stopScripts', 'all'],
 ['-'],
 ['create clone of %m.spriteOnly', ' ', 106, 'createCloneOf'],
 ['touching %m.touching?', 'b', 7, 'touching:', ''],
 ['touching color %c?', 'b', 7, 'touchingColor:'],<commit_msg>Add forever command.<commit_after># Generated from Scratch SWF source by src/extract_blocks.py

# commands:Array
commands = [
 ['move %n steps', ' ', 1, 'forward:', 10],
 ['turn @turnRight %n degrees', ' ', 1, 'turnRight:', 15],
 ['turn @turnLeft %n degrees', ' ', 1, 'turnLeft:', 15],
 ['--'],
 ['point in direction %d.direction', ' ', 1, 'heading:', 90],
 ['point towards %m.spriteOrMouse', ' ', 1, 'pointTowards:', ''],
 ['--'],
 ['go to x:%n y:%n', ' ', 1, 'gotoX:y:'],
 ['go to %m.spriteOrMouse', ' ', 1, 'gotoSpriteOrMouse:', 'mouse-pointer'],
 ['glide %n secs to x:%n y:%n', ' ', 1, 'glideSecs:toX:y:elapsed:from:'],
 ['--'],
 ['change x by %n', ' ', 1, 'changeXposBy:', 10],
 ['set x to %n', ' ', 1, 'xpos:', 0],
 ['change y by %n', ' ', 1, 'changeYposBy:', 10],
 ['set y to %n', ' ', 1, 'ypos:', 0],
 ['--'],
 ['if on edge, bounce', ' ', 1, 'bounceOffEdge'],
 ['-'],
 ['set rotation style %m.rotationStyle', ' ', 1, 'setRotationStyle', 'left-right'],
 ['--'],
 ['x position', 'r', 1, 'xpos'],
 ['y position', 'r', 1, 'ypos'],
 ['direction', 'r', 1, 'heading'],
 ['say %s for %n secs', ' ', 2, 'say:duration:elapsed:from:', 'Hello!', 2],
 ['say %s', ' ', 2, 'say:', 'Hello!'],
 ['think %s for %n secs', ' ', 2, 'think:duration:elapsed:from:', 'Hmm...', 2],
 ['think %s', ' ', 2, 'think:', 'Hmm...'],
 ['-'],
 ['show', ' ', 2, 'show'],
 ['hide', ' ', 2, 'hide'],
 ['-'],
 ['switch costume to %m.costume', ' ', 2, 'lookLike:', 'costume1'],
 ['next costume', ' ', 2, 'nextCostume'],
 ['switch backdrop to %m.backdrop', ' ', 2, 'startScene', 'backdrop1'],
 ['-'],
 ['change %m.effect effect by %n', ' ', 2, 'changeGraphicEffect:by:', 'color', 25],
 ['set %m.effect effect to %n', ' ', 2, 'setGraphicEffect:to:', 'color', 0],
 ['clear graphic effects', ' ', 2, 'filterReset'],
 ['-'],
 ['change size by %n', ' ', 2, 'changeSizeBy:', 10],
 ['set size to %n%', ' ', 2, 'setSizeTo:', 100],
 ['-'],
 ['go to front', ' ', 2, 'comeToFront'],
 ['go back %n layers', ' ', 2, 'goBackByLayers:', 1],
 ['-'],
 ['costume #', 'r', 2, 'costumeIndex'],
 ['backdrop name', 'r', 2, 'sceneName'],
 ['size', 'r', 2, 'scale'],
 ['switch backdrop to %m.backdrop', ' ', 102, 'startScene', 'backdrop1'],
 ['switch backdrop to %m.backdrop and wait', ' ', 102, 'startSceneAndWait', 'backdrop1'],
 ['next backdrop', ' ', 102, 'nextScene'],
 ['-'],
 ['change %m.effect effect by %n', ' ', 102, 'changeGraphicEffect:by:', 'color', 25],
 ['set %m.effect effect to %n', ' ', 102, 'setGraphicEffect:to:', 'color', 0],
 ['clear graphic effects', ' ', 102, 'filterReset'],
 ['-'],
 ['backdrop name', 'r', 102, 'sceneName'],
 ['backdrop #', 'r', 102, 'backgroundIndex'],
 ['play sound %m.sound', ' ', 3, 'playSound:', 'pop'],
 ['play sound %m.sound until done', ' ', 3, 'doPlaySoundAndWait', 'pop'],
 ['stop all sounds', ' ', 3, 'stopAllSounds'],
 ['-'],
 ['play drum %d.drum for %n beats', ' ', 3, 'playDrum', 1, 0.2],
 ['rest for %n beats', ' ', 3, 'rest:elapsed:from:', 0.2],
 ['-'],
 ['play note %d.note for %n beats', ' ', 3, 'noteOn:duration:elapsed:from:', 60, 0.5],
 ['set instrument to %d.instrument', ' ', 3, 'instrument:', 1],
 ['-'],
 ['change volume by %n', ' ', 3, 'changeVolumeBy:', -10],
 ['set volume to %n%', ' ', 3, 'setVolumeTo:', 100],
 ['volume', 'r', 3, 'volume'],
 ['-'],
 ['change tempo by %n', ' ', 3, 'changeTempoBy:', 20],
 ['set tempo to %n bpm', ' ', 3, 'setTempoTo:', 60],
 ['tempo', 'r', 3, 'tempo'],
 ['clear', ' ', 4, 'clearPenTrails'],
 ['-'],
 ['stamp', ' ', 4, 'stampCostume'],
 ['-'],
 ['pen down', ' ', 4, 'putPenDown'],
 ['pen up', ' ', 4, 'putPenUp'],
 ['-'],
 ['set pen color to %c', ' ', 4, 'penColor:'],
 ['change pen color by %n', ' ', 4, 'changePenHueBy:'],
 ['set pen color to %n', ' ', 4, 'setPenHueTo:', 0],
 ['-'],
 ['change pen shade by %n', ' ', 4, 'changePenShadeBy:'],
 ['set pen shade to %n', ' ', 4, 'setPenShadeTo:', 50],
 ['-'],
 ['change pen size by %n', ' ', 4, 'changePenSizeBy:', 1],
 ['set pen size to %n', ' ', 4, 'penSize:', 1],
 ['-'],
 ['clear', ' ', 104, 'clearPenTrails'],
 ['when @greenFlag clicked', 'h', 5, 'whenGreenFlag'],
 ['when %m.key key pressed', 'h', 5, 'whenKeyPressed', 'space'],
 ['when this sprite clicked', 'h', 5, 'whenClicked'],
 ['when backdrop switches to %m.backdrop', 'h', 5, 'whenSceneStarts', 'backdrop1'],
 ['--'],
 ['when %m.triggerSensor > %n', 'h', 5, 'whenSensorGreaterThan', 'loudness', 10],
 ['--'],
 ['when I receive %m.broadcast', 'h', 5, 'whenIReceive', ''],
 ['broadcast %m.broadcast', ' ', 5, 'broadcast:', ''],
 ['broadcast %m.broadcast and wait', ' ', 5, 'doBroadcastAndWait', ''],
 ['wait %n secs', ' ', 6, 'wait:elapsed:from:', 1],
 ['-'],
 ['for i=1,%n,1 do', 'c', 6, 'doRepeat', 10],#repeat %n
 ['while(true)do', 'cf', 6, 'doForever'],#forever
 ['-'],
 ['if %b then', 'c', 6, 'doIf'],
 ['if %b then', 'e', 6, 'doIfElse'],
 ['wait until %b', ' ', 6, 'doWaitUntil'],
 ['repeat until %b', 'c', 6, 'doUntil'],
 ['-'],
 ['stop %m.stop', 'f', 6, 'stopScripts', 'all'],
 ['-'],
 ['when I start as a clone', 'h', 6, 'whenCloned'],
 ['create clone of %m.spriteOnly', ' ', 6, 'createCloneOf'],
 ['delete this clone', 'f', 6, 'deleteClone'],
 ['-'],
 ['wait %n secs', ' ', 106, 'wait:elapsed:from:', 1],
 ['-'],
 ['for i=1,%n,1 do', 'c', 106, 'doRepeat', 10],#repeat %n
 ['while(true)do', 'cf', 106, 'doForever'],#forever
 ['-'],
 ['if %b then', 'c', 106, 'doIf'],
 ['if %b then', 'e', 106, 'doIfElse'],
 ['wait until %b', ' ', 106, 'doWaitUntil'],
 ['repeat until %b', 'c', 106, 'doUntil'],
 ['-'],
 ['stop %m.stop', 'f', 106, 'stopScripts', 'all'],
 ['-'],
 ['create clone of %m.spriteOnly', ' ', 106, 'createCloneOf'],
 ['touching %m.touching?', 'b', 7, 'touching:', ''],
 ['touching color %c?', 'b', 7, 'touchingColor:'],
{'fraction_non_alphanumeric': 0.3080243107548666, 'fraction_numerical': 0.03593763762882057, 'mean_word_length': 4.511650485436893, 'pattern_counts': {'":': 0, '<': 3, '<?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': '667240', 'n_tokens_mistral': 4825, 'n_tokens_neox': 4418, 'n_words': 1261}