<commit_before>import datetime
import os

DEBUG = True
TESTING = True
SECRET_KEY = '<KEY>'
PERMANENT_SESSION_LIFETIME = datetime.timedelta(1)

if DEBUG:
    PREFERRED_URL_SCHEME = 'http'
else:
    PREFERRED_URL_SCHEME = 'https'


# File upload
UPLOAD_FOLDER = "/path/to/uploads"<commit_msg>Workaround to handle encoding issues in flask.ext.login<commit_after>import datetime
import os

DEBUG = True
TESTING = True
SECRET_KEY = u'<KEY>'
PERMANENT_SESSION_LIFETIME = datetime.timedelta(1)

if DEBUG:
    PREFERRED_URL_SCHEME = 'http'
else:
    PREFERRED_URL_SCHEME = 'https'


# File upload
UPLOAD_FOLDER = "/path/to/uploads"
{'fraction_non_alphanumeric': 0.09630818619582665, 'fraction_numerical': 0.0032102728731942215, 'mean_word_length': 5.178217821782178, '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': '3722794', 'n_tokens_mistral': 245, 'n_tokens_neox': 243, 'n_words': 51}