<commit_before>from .models import SiteConfig


site_config = None


def get_site_config():
    global site_config
    if not site_config:
        site_config = SiteConfig.load()
    return site_config


def get_active_event():
    return get_site_config().active_event


def get_active_cfp():
    return get_active_event().get_active_cfp()
<commit_msg>Remove too eager caching<commit_after>from .models import SiteConfig


def get_site_config():
    return SiteConfig.load()


def get_active_event():
    return get_site_config().active_event


def get_active_cfp():
    return get_active_event().get_active_cfp()

{'fraction_non_alphanumeric': 0.08292682926829269, 'fraction_numerical': 0.0, 'mean_word_length': 4.651376146788991, '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': '2172355', 'n_tokens_mistral': 200, 'n_tokens_neox': 191, 'n_words': 44}