<commit_before>import uuid


def generate_authorization_code():
    return str(uuid.uuid4()).replace('-', '')

def generate_access_token():
    return str(uuid.uuid4()).replace('-', '')<commit_msg>Moved duplicated uuid generation logic to a function<commit_after>import uuid


def generate_authorization_code():
    return generate_uuid_without_dashes()

def generate_access_token():
    return generate_uuid_without_dashes()

def generate_uuid_without_dashes():
	return str(uuid.uuid4()).replace('-', '')
{'fraction_non_alphanumeric': 0.13267326732673268, 'fraction_numerical': 0.005940594059405941, 'mean_word_length': 6.666666666666667, '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': '4579840', 'n_tokens_mistral': 151, 'n_tokens_neox': 150, 'n_words': 31}