<commit_before>"""Configure your bot here.

By default, all settings should be set as environment parameters which are read
into the key below.
"""
import os


USERNAME = os.environ.get('FLOWBOT_USERNAME', '')
PASSWORD = os.environ.get('FLOWBOT_PASSWORD', '')

_org_id = os.environ.get('FLOWBOT_ORG_ID', '')
if _org_id.isdigit():
    ORG_ID = int(_org_id)
else:
    ORG_ID = None

DB_CHANNEL_NAME = os.environ.get('FLOWBOT_DB_CHANNEL_NAME', '')

# Prefetch keys trigger loading of db records into memory at startup. This way
# we don't have to do a message search of the db channel every request.
# Example evn:
#     export FLOWBOT_PREFETCH_KEYS=hello,world

_prefetch_keys = os.environ.get('FLOWBOT_PREFETCH_KEYS', '')<commit_msg>Whoops, orgID is a string not a num.<commit_after>"""Configure your bot here.

By default, all settings should be set as environment parameters which are read
into the key below.
"""
import os


USERNAME = os.environ.get('FLOWBOT_USERNAME', '')
PASSWORD = <PASSWORD>('<PASSWORD>', '')
ORG_ID = os.environ.get('FLOWBOT_ORG_ID', '')
DB_CHANNEL_NAME = os.environ.get('FLOWBOT_DB_CHANNEL_NAME', '')

# Prefetch keys trigger loading of db records into memory at startup. This way
# we don't have to do a message search of the db channel every request.
# Example evn:
#     export FLOWBOT_PREFETCH_KEYS=hello,world

_prefetch_keys = os.environ.get('FLOWBOT_PREFETCH_KEYS', '')
{'fraction_non_alphanumeric': 0.11198288159771755, 'fraction_numerical': 0.0, 'mean_word_length': 5.126637554585153, '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': '6025191', 'n_tokens_mistral': 486, 'n_tokens_neox': 485, 'n_words': 142}