<commit_before>settings = {
    "app": {
        "title": "Ekklesia Portal Dev",
        "instance_name": "ekklesia_portal",
        "insecure_development_mode": False,
        "internal_login_enabled": True,
        "custom_footer_url": None,
        "tos_url": None,
        "faq_url": None,
        "imprint_url": None
    },
    "database": {
        "uri": "postgresql+psycopg2://ekklesia_portal:ekklesia_portal@127.0.0.1/ekklesia_portal"
    }
}<commit_msg>default settings: generate random key, secure cookies off<commit_after>import random, string
letters = string.ascii_lowercase

settings = {
    "app": {
        "title": "Ekklesia Portal Dev",
        "instance_name": "ekklesia_portal",
        "insecure_development_mode": False,
        "internal_login_enabled": True,
        "custom_footer_url": None,
        "tos_url": None,
        "faq_url": None,
        "imprint_url": None
    },
    "database": {
        "uri": "postgresql+psycopg2://ekklesia_portal:ekklesia_portal@127.0.0.1/ekklesia_portal"
    },
    "browser_session": {
        "secret_key": "".join(random.choice(letters) for x in range(32)),
        "cookie_secure": False
    }
}
{'fraction_non_alphanumeric': 0.13929492691315562, 'fraction_numerical': 0.013757523645743766, 'mean_word_length': 2.8929765886287626, 'pattern_counts': {'":': 25, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '7045186', 'n_tokens_mistral': 408, 'n_tokens_neox': 406, 'n_words': 67}