<commit_before>from os import path
from settings_changeme import *

# Add site specific changes here.

# Turn on django debug mode.
DEBUG = True

# Lots of output...
import logging
SYSTEM_LOG_LEVEL = logging.DEBUG
MODULE_LOG_LEVEL = logging.DEBUG

SYSTEM_LOG_FILENAME = '/var/log/request-test.log'
MODULE_LOG_FILENAME = '/var/log/tardis-test.log'

DATABASES['default']['ENGINE'] = 'django.db.backends.postgresql_psycopg2'
DATABASES['default']['NAME'] = 'tardis'
DATABASES['default']['USER'] = 'admin'
DATABASES['default']['PASSWORD'] = '<PASSWORD>'
DATABASES['default']['HOST'] = '127.0.0.1'
DATABASES['default']['PORT'] = ''

FILE_STORE_PATH = '/mytardis_store'
STAGING_PATH    = '/mytardis_staging'
SYNC_TEMP_PATH = '/opt/mytardis/var/staging/'

# https://github.com/madssj/django-longer-username-and-email
INSTALLED_APPS = ('longerusernameandemail',) + INSTALLED_APPS

# https://github.com/django-pci/django-axes
INSTALLED_APPS = ('axes',) + INSTALLED_APPS
MIDDLEWARE_CLASSES = tuple(MIDDLEWARE_CLASSES + 'axes.middleware.FailedLoginMiddleware')

# Disable user registration as we use AAF.
INSTALLED_APPS = tuple([x for x in INSTALLED_APPS if x != 'registration'])

# Disable user account management.
MANAGE_ACCOUNT_ENABLED = False

# Django places a temporary uploaded file here and then does a save_move
# to the final name in FILE_STORE_PATH. So ideally the directories
# FILE_UPLOAD_TEMP_DIR and FILE_STORE_PATH will be on the same file system.
FILE_UPLOAD_TEMP_DIR = '/tmp'

# Show the Rapid Connect login button.
RAPID_CONNECT_ENABLED = True

RAPID_CONNECT_CONFIG = {}
<commit_msg>Type error on concatenating tuple.<commit_after>from os import path
from settings_changeme import *

# Add site specific changes here.

# Turn on django debug mode.
DEBUG = True

# Lots of output...
import logging
SYSTEM_LOG_LEVEL = logging.DEBUG
MODULE_LOG_LEVEL = logging.DEBUG

SYSTEM_LOG_FILENAME = '/var/log/request-test.log'
MODULE_LOG_FILENAME = '/var/log/tardis-test.log'

DATABASES['default']['ENGINE'] = 'django.db.backends.postgresql_psycopg2'
DATABASES['default']['NAME'] = 'tardis'
DATABASES['default']['USER'] = 'admin'
DATABASES['default']['PASSWORD'] = '<PASSWORD>'
DATABASES['default']['HOST'] = '127.0.0.1'
DATABASES['default']['PORT'] = ''

FILE_STORE_PATH = '/mytardis_store'
STAGING_PATH    = '/mytardis_staging'
SYNC_TEMP_PATH = '/opt/mytardis/var/staging/'

# https://github.com/madssj/django-longer-username-and-email
INSTALLED_APPS = ('longerusernameandemail',) + INSTALLED_APPS

# https://github.com/django-pci/django-axes
INSTALLED_APPS = ('axes',) + INSTALLED_APPS
MIDDLEWARE_CLASSES = tuple(MIDDLEWARE_CLASSES + ('axes.middleware.FailedLoginMiddleware',))

# Disable user registration as we use AAF.
INSTALLED_APPS = tuple([x for x in INSTALLED_APPS if x != 'registration'])

# Disable user account management.
MANAGE_ACCOUNT_ENABLED = False

# Django places a temporary uploaded file here and then does a save_move
# to the final name in FILE_STORE_PATH. So ideally the directories
# FILE_UPLOAD_TEMP_DIR and FILE_STORE_PATH will be on the same file system.
FILE_UPLOAD_TEMP_DIR = '/tmp'

# Show the Rapid Connect login button.
RAPID_CONNECT_ENABLED = True

RAPID_CONNECT_CONFIG = {}

{'fraction_non_alphanumeric': 0.12234706616729088, 'fraction_numerical': 0.004369538077403246, 'mean_word_length': 5.733193277310924, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '5027596', 'n_tokens_mistral': 1154, 'n_tokens_neox': 1140, 'n_words': 254}