<commit_before># get_joke needs nothing
# get_til needs nothing
# get_quote needs nothing

import praw

def get_joke():
    try:
        pribt "joking"
        r = praw.Reddit(user_agent='example')
        r = r.get_random_submission('jokes')
        title =  r.title
        text = r.selftext
        if((len(text) + 3 + len(title) )> 160):
            text = text.encode('ascii','ignore')
            title = title.encode('ascii','ignore')
            return "Your a joke"
        else:
            return title + ( (" - " + text) if len(text) !=0 else "")
    except:
        return "www.zombo.com"
def get_til():
    try:
        print "TILLLL"
        r = praw.Reddit(user_agent='example')
        r = r.get_random_submission('TIL')
        title =  r.title
        if((len(title))> 160):
            return "TIL you're stupid"
        else:
            title = title.encode('ascii','ignore')
            return title
    except:
        return "www.zombo.com"
def get_quote():
    try:
        print "DICKENS"
        r = praw.Reddit(user_agent='example')<commit_msg>typos<commit_after># get_joke needs nothing
# get_til needs nothing
# get_quote needs nothing

import praw

def get_joke():
    try:
        print "joking"
        r = praw.Reddit(user_agent='example')
        r = r.get_random_submission('jokes')
        title =  r.title
        text = r.selftext
        if((len(text) + 3 + len(title) )> 160):
            text = text.encode('ascii','ignore')
            title = title.encode('ascii','ignore')
            return "Your a joke"
        else:
            return title + ( (" - " + text) if len(text) !=0 else "")
    except:
        return "www.zombo.com"
def get_til():
    try:
        print "TILLLL"
        r = praw.Reddit(user_agent='example')
        r = r.get_random_submission('TIL')
        title =  r.title
        if((len(title))> 160):
            return "TIL you're stupid"
        else:
            title = title.encode('ascii','ignore')
            return title
    except:
        return "www.zombo.com"
def get_quote():
    try:
        print "DICKENS"
        r = praw.Reddit(user_agent='example')
{'fraction_non_alphanumeric': 0.13283442469597756, 'fraction_numerical': 0.007483629560336763, 'mean_word_length': 1.950344827586207, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '5843596', 'n_tokens_mistral': 712, 'n_tokens_neox': 687, 'n_words': 159}