<commit_before>import os
from datetime import timedelta

class Config(object):
    DEBUG = False
    SECRET_KEY = os.environ['SECRET_KEY']
    BASE_URL = os.environ['BASE_URL']
    ACCESS_CONTROL_ALLOW_ORIGIN = os.environ['ACCESS_CONTROL_ALLOW_ORIGIN']
    OAUTH2_PROVIDER_TOKEN_EXPIRES_IN = int(os.environ['OAUTH2_PROVIDER_TOKEN_EXPIRES_IN'])
    MONGODB_DB = os.environ['MONGODB_DB']
    MONGODB_HOST = os.environ['MONGODB_HOST']
    WWW_BASE_URL = os.environ['WWW_BASE_URL']
    PERMANENT_SESSION_LIFETIME = timedelta(seconds=90)
    # PERMANENT_SESSION_LIFETIME = timedelta(seconds=30000)
    REDISCLOUD_URL = os.environ['REDISCLOUD_URL']

class DevelopmentConfig(Config):
    DEBUG = True

class TestConfig(DevelopmentConfig):
    TESTING = True<commit_msg>timeout<commit_after>import os
from datetime import timedelta

class Config(object):
    DEBUG = False
    SECRET_KEY = os.environ['SECRET_KEY']
    BASE_URL = os.environ['BASE_URL']
    ACCESS_CONTROL_ALLOW_ORIGIN = os.environ['ACCESS_CONTROL_ALLOW_ORIGIN']
    OAUTH2_PROVIDER_TOKEN_EXPIRES_IN = int(os.environ['OAUTH2_PROVIDER_TOKEN_EXPIRES_IN'])
    MONGODB_DB = os.environ['MONGODB_DB']
    MONGODB_HOST = os.environ['MONGODB_HOST']
    WWW_BASE_URL = os.environ['WWW_BASE_URL']
    #PERMANENT_SESSION_LIFETIME = timedelta(seconds=90)
    PERMANENT_SESSION_LIFETIME = timedelta(seconds=30000)
    REDISCLOUD_URL = os.environ['REDISCLOUD_URL']

class DevelopmentConfig(Config):
    DEBUG = True

class TestConfig(DevelopmentConfig):
    TESTING = True
{'fraction_non_alphanumeric': 0.0975609756097561, 'fraction_numerical': 0.011865524060646011, 'mean_word_length': 5.657894736842105, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1809303', 'n_tokens_mistral': 583, 'n_tokens_neox': 580, 'n_words': 75}