<commit_before>import os
import sys

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))


# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.10/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.getenv('APP_SECRET_KEY',
                       <KEY>')

# SECURITY WARNING: don't run with debug or testing turned on in production!
DEBUG = True if 'runserver' in sys.argv else False
TESTING = True if 'test' in sys.argv else False

ALLOWED_HOSTS = ['*']<commit_msg>Fix issue to run test needs be in debug mode<commit_after>import os
import sys

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))


# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.10/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.getenv('APP_SECRET_KEY',
                       '@kih_p6c%p4f5)wz5z4y=pn$t5e=$7!89g6bg(r8-*s#er((bw')

# SECURITY WARNING: don't run with debug or testing turned on in production!
TESTING = True if 'test' in sys.argv else False
DEBUG = True if 'runserver' or TESTING in sys.argv else False

ALLOWED_HOSTS = ['*']
{'fraction_non_alphanumeric': 0.11150070126227209, 'fraction_numerical': 0.011921458625525946, 'mean_word_length': 4.1516245487364625, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 2, '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': '6768215', 'n_tokens_mistral': 493, 'n_tokens_neox': 473, 'n_words': 139}