<commit_before>from tempfile import gettempdir
from os.path import join, dirname

import example_project

ADMINS = (
)


MANAGERS = ADMINS

DEBUG = True
TEMPLATE_DEBUG = DEBUG
DISABLE_CACHE_TEMPLATE = DEBUG

DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = join(gettempdir(), 'cthulhubot.db')
TEST_DATABASE_NAME =join(gettempdir(), 'test_cthulhubot.db')
DATABASE_USER = ''
DATABASE_PASSWORD = ''
DATABASE_HOST = ''
DATABASE_PORT = ''

MONGODB_DATABASE_NAME = "buildmaster"

TIME_ZONE = 'Europe/Prague'

LANGUAGE_CODE = 'en-us'

SITE_ID = 1
USE_I18N = True

# Make this unique, and don't share it with anybody.
SECRET_KEY = '<KEY>'

EMAIL_SUBJECT_PREFIX = 'Example project admin: '

# templates for this app
DEBUG = True
TEMPLATE_DEBUG = DEBUG
DISABLE_CACHE_TEMPLATE = DEBUG

# TODO: Fix logging
# init logger
#LOGGING_CONFIG_FILE = join(dirname(testbed.__file__), 'settings', 'logger.ini')
#if isinstance(LOGGING_CONFIG_FILE, basestring) and isfile(LOGGING_CONFIG_FILE):
#    logging.config.fileConfig(LOGGING_CONFIG_FILE)
# LOGGING_CONFIG_FILE = join( dirname(__file__), 'logger.conf')

# we want to reset whole cache in test
# until we do that, don't use cache
CACHE_BACKEND = 'dummy://'

# session expire
SESSION_EXPIRE_AT_BROWSER_CLOSE = True

# disable double render in admin
# DOUBLE_RENDER = False

MEDIA_ROOT = join(dirname(example_project.__file__), 'static')

MEDIA_URL = '/static'

ADMIN_MEDIA_PREFIX = '/static/admin_media/'

LOGIN_REDIRECT_URL = '/'

BUILDMASTER_NETWORK_NAME = 'my-computer-network-name'

# http://domain:port under which web application is visible. without trailing slash
NETWORK_ROOT = "http://localhost"<commit_msg>Provide more reasonable NETWORK_ROOT default<commit_after>from tempfile import gettempdir
from os.path import join, dirname

import example_project

ADMINS = (
)


MANAGERS = ADMINS

DEBUG = True
TEMPLATE_DEBUG = DEBUG
DISABLE_CACHE_TEMPLATE = DEBUG

DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = join(gettempdir(), 'cthulhubot.db')
TEST_DATABASE_NAME =join(gettempdir(), 'test_cthulhubot.db')
DATABASE_USER = ''
DATABASE_PASSWORD = ''
DATABASE_HOST = ''
DATABASE_PORT = ''

MONGODB_DATABASE_NAME = "buildmaster"

TIME_ZONE = 'Europe/Prague'

LANGUAGE_CODE = 'en-us'

SITE_ID = 1
USE_I18N = True

# Make this unique, and don't share it with anybody.
SECRET_KEY = '<KEY>'

EMAIL_SUBJECT_PREFIX = 'Example project admin: '

# templates for this app
DEBUG = True
TEMPLATE_DEBUG = DEBUG
DISABLE_CACHE_TEMPLATE = DEBUG

# TODO: Fix logging
# init logger
#LOGGING_CONFIG_FILE = join(dirname(testbed.__file__), 'settings', 'logger.ini')
#if isinstance(LOGGING_CONFIG_FILE, basestring) and isfile(LOGGING_CONFIG_FILE):
#    logging.config.fileConfig(LOGGING_CONFIG_FILE)
# LOGGING_CONFIG_FILE = join( dirname(__file__), 'logger.conf')

# we want to reset whole cache in test
# until we do that, don't use cache
CACHE_BACKEND = 'dummy://'

# session expire
SESSION_EXPIRE_AT_BROWSER_CLOSE = True

# disable double render in admin
# DOUBLE_RENDER = False

MEDIA_ROOT = join(dirname(example_project.__file__), 'static')

MEDIA_URL = '/static'

ADMIN_MEDIA_PREFIX = '/static/admin_media/'

LOGIN_REDIRECT_URL = '/'

BUILDMASTER_NETWORK_NAME = 'my-computer-network-name'

# http://domain:port under which web application is visible. without trailing slash
NETWORK_ROOT = "http://127.0.0.1:8088"
{'fraction_non_alphanumeric': 0.10355207706201083, 'fraction_numerical': 0.005418422636965683, 'mean_word_length': 5.809426229508197, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '919785', 'n_tokens_mistral': 1214, 'n_tokens_neox': 1197, 'n_words': 275}