<commit_before>from socket import gethostname

HOSTNAME = gethostname()
HOSTNAME_SHORT = HOSTNAME.split('.')[0]

APPLICATION_ROOT = '/v1/krunchr'

DEBUG = True

RETHINKDB_HOST = 'batman.krunchr.net'
RETHINKDB_PORT = 28019
RETHINKDB_AUTH = ''
RETHINKDB_DB = 'krunchr'

BROKER_URL = 'redis://localhost:6379'
CELERY_RESULT_BACKEND = 'redis://localhost:6379'

# we must use a safe serializer in order to run celery as root
CELERY_TASK_SERIALIZER = 'json'
CELERY_RESULT_SERIALIZER = 'json'
CELERY_ACCEPT_CONTENT = ['json']
CELERYD_HIJACK_ROOT_LOGGER = False

CELERY_IMPORTS = ('analyser.tasks', 'map.jobs.sum', 'utils.tasks.execute')

DISCO_FILES = '/tmp'
DISCO_NODES = '3'
<commit_msg>Change tasks in settingfs<commit_after>from socket import gethostname

HOSTNAME = gethostname()
HOSTNAME_SHORT = HOSTNAME.split('.')[0]

APPLICATION_ROOT = '/v1/krunchr'

DEBUG = True

RETHINKDB_HOST = 'batman.krunchr.net'
RETHINKDB_PORT = 28019
RETHINKDB_AUTH = ''
RETHINKDB_DB = 'krunchr'

BROKER_URL = 'redis://localhost:6379'
CELERY_RESULT_BACKEND = 'redis://localhost:6379'

# we must use a safe serializer in order to run celery as root
CELERY_TASK_SERIALIZER = 'json'
CELERY_RESULT_SERIALIZER = 'json'
CELERY_ACCEPT_CONTENT = ['json']
CELERYD_HIJACK_ROOT_LOGGER = False

CELERY_IMPORTS = ('analyser.tasks', 'utils.tasks.execute')

DISCO_FILES = '/tmp'
DISCO_NODES = '3'

{'fraction_non_alphanumeric': 0.11855670103092783, 'fraction_numerical': 0.023564064801178203, 'mean_word_length': 6.115183246073299, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2939071', 'n_tokens_mistral': 569, 'n_tokens_neox': 557, 'n_words': 106}