<commit_before>
def factorial(n):
    res = 1
    for i in range(2, n+1):
        res *= i
    return res

def binomial(n,k):
    if k > n:
        return 0
    if n-k < k:
        k = n-k
    res = 1
    for i in range(1,k+1):
        res = res * (n - (k - i)) // i
    return res

def catalan(n):
    return binomial(2*n,n)//n+1<commit_msg>Fix catalan since me is dumb<commit_after>
def factorial(n):
    res = 1
    for i in range(2, n+1):
        res *= i
    return res

def binomial(n,k):
    if k > n:
        return 0
    if n-k < k:
        k = n-k
    res = 1
    for i in range(1,k+1):
        res = res * (n - (k - i)) // i
    return res

def catalan(n):
    return binomial(2*n,n)//(n+1)
{'fraction_non_alphanumeric': 0.14835948644793154, 'fraction_numerical': 0.025677603423680456, 'mean_word_length': 1.6, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6477820', 'n_tokens_mistral': 301, 'n_tokens_neox': 286, 'n_words': 92}