<commit_before>import os

with open("src/conf.lua.bak") as f:
    conf = f.read()

    conf = conf.replace("t.release           = false",
                        "t.release           = true")
    conf = conf.replace("<KEY>",
                        os.environ["MIXPANEL_TOKEN"])

    with open("src/conf.lua", "w") as g:
        g.write(conf)<commit_msg>Build releases even without MIXPANEL_TOKEN<commit_after>import os

with open("src/conf.lua.bak") as f:
    conf = f.read()

    conf = conf.replace("t.release           = false",
                        "t.release           = true")

    if "MIXPANEL_TOKEN" in os.environ:
        conf = conf.replace("<KEY>",
                            os.environ["MIXPANEL_TOKEN"])

    with open("src/conf.lua", "w") as g:
        g.write(conf)
{'fraction_non_alphanumeric': 0.14522292993630573, 'fraction_numerical': 0.0, 'mean_word_length': 1.7197231833910034, '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': '7425667', 'n_tokens_mistral': 255, 'n_tokens_neox': 249, 'n_words': 51}