<commit_before>"""
Django settings for kobo project.

For more information on this file, see
https://docs.djangoproject.com/en/1.7/topics/settings/

For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.7/ref/settings/
"""

from datetime import timedelta
import multiprocessing
import os

from cachebuster.detectors import git
from django.conf import global_settings
from django.conf.global_settings import LANGUAGES as _available_langs
from django.utils.translation import get_language_info
import dj_database_url

from pymongo import MongoClient


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


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

# SECURITY WARNING: keep the secret key used in production secret!<commit_msg>Removing relocated import<commit_after>"""
Django settings for kobo project.

For more information on this file, see
https://docs.djangoproject.com/en/1.7/topics/settings/

For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.7/ref/settings/
"""

from datetime import timedelta
import multiprocessing
import os

from django.conf import global_settings
from django.conf.global_settings import LANGUAGES as _available_langs
from django.utils.translation import get_language_info
import dj_database_url

from pymongo import MongoClient


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


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

# SECURITY WARNING: keep the secret key used in production secret!
{'fraction_non_alphanumeric': 0.08763440860215053, 'fraction_numerical': 0.0064516129032258064, 'mean_word_length': 5.121710526315789, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '5583782', 'n_tokens_mistral': 592, 'n_tokens_neox': 559, 'n_words': 167}