<commit_before>#use c=1, d=-1 or vise versa
# 45 degree turn = 0.438
# 90 degree turn = 0.835
# 180 degree turn = 1.6478
# 360 degree turn = 3.2835
#at full speed for all times

def draw_l(ud):#it's a little L not a one
    if(lr=="up"):
        threesixty(1, -1, 0.835)
        wait(.2)
        forward(1, 0.4)
        wait(.2)
        threesixty(1, -1, 0.835)
        wait(.2)
        forward(1, 0.8)
        wait(.2)
        backward(1, 0.8)
        wait(.2)
        threesixty(-1, 1, 0.835)
        wait(.2)
        forward(1, 0.4)
        wait(.2)
        threesixty(1, -1, 0.835)

    if(lr=="down"):
        threesixty(1, -1, 0.835)
        wait(.2)
        forward(1, 0.4)
        wait(.2)
        threesixty(1, -1, 0.835)
        wait(.2)
        forward(1, 0.8)
        wait(.2)
        backward(1, 0.8)
        wait(.2)
        threesixty(-1, 1, 0.835)
        wait(.2)
        forward(1, 0.4)
        wait(.2)
        threesixty(1, -1, 0.835)

##everything here is for going to the right so far
##both of these are the same!<commit_msg>Modified draw_l and finished functions<commit_after>#use c=1, d=-1 or vise versa
# 45 degree turn = 0.438
# 90 degree turn = 0.835
# 180 degree turn = 1.6478
# 360 degree turn = 3.2835
#at full speed for all times

def draw_l(ud):#it's a little L not a one
    if(lr=="up"):
        threesixty(-1, 1, 0.835)
        wait(.2)
        forward(1, 0.8)
        wait(.2)
        backward(1, 0.8)
        wait(.2)
        threesixty(1, -1, 0.835)
        wait(.2)
    if(lr=="down"):
        threesixty(1, -1, 0.835)
        wait(.2)
        forward(1, 0.8)
        wait(.2)
        backward(1, 0.8)
        wait(.2)
        threesixty(-1, 1, 0.835)
        wait(.2)

def draw_l_left_and_right(ud, lr):
    threesixty(1, -1, 0.835)
    wait(.2)
    if (lr=="left"):
        backward(1, 0.4)
        wait(.2)
        draw_l(ud)
        forward(1, 0.4)
    elif (lr=="right"):
        forward(1, 0.4)
        wait(.2)
        draw_l(ud)
        backward(1, 0.4)
    wait(.2)
    threesixty(-1, 1, 0.835)

##everything here is for going to the right so far
##both of these are the same!
{'fraction_non_alphanumeric': 0.15905882352941175, 'fraction_numerical': 0.10258823529411765, 'mean_word_length': 1.6775818639798488, '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': '2439565', 'n_tokens_mistral': 998, 'n_tokens_neox': 871, 'n_words': 220}