<commit_before># -*- coding: utf-8 -*-
"""
Local settings

- Run in Debug mode
- Use console backend for emails
- Add Django Debug Toolbar
- Add django-extensions as app
"""

from .common import *  # noqa

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

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = '<KEY>'

# pfcon service settings
PFCON = {
    'host': 'pfcon_service',
    'port': '5005'
}

# swift service settings
DEFAULT_FILE_STORAGE = 'swift.storage.SwiftStorage'
SWIFT_AUTH_URL = 'http://swift_service:8080/auth/v1.0'
SWIFT_USERNAME = 'chris:chris1234'
SWIFT_KEY = 'testing'
SWIFT_CONTAINER_NAME = 'users'
SWIFT_AUTO_CREATE_CONTAINER = True

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

# debug control output
CHRIS_DEBUG = {'quiet': False, 'debugFile': '/dev/null', 'useDebug': False}<commit_msg>Set debug verbosity OFF and add env var override processing.<commit_after># -*- coding: utf-8 -*-
"""
Local settings

- Run in Debug mode
- Use console backend for emails
- Add Django Debug Toolbar
- Add django-extensions as app
"""

from .common import *  # noqa
import  os

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

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = '<KEY>'

# pfcon service settings
PFCON = {
    'host': 'pfcon_service',
    'port': '5005'
}

# swift service settings
DEFAULT_FILE_STORAGE = 'swift.storage.SwiftStorage'
SWIFT_AUTH_URL = 'http://swift_service:8080/auth/v1.0'
SWIFT_USERNAME = 'chris:chris1234'
SWIFT_KEY = 'testing'
SWIFT_CONTAINER_NAME = 'users'
SWIFT_AUTO_CREATE_CONTAINER = True

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

# debug control output
CHRIS_DEBUG = {'quiet': True, 'debugFile': '/dev/null', 'useDebug': False}

if 'CHRIS_DEBUG_QUIET' in os.environ:
    CHRIS_DEBUG['quiet']  = bool(int(os.environ['CHRIS_DEBUG_QUIET']))
{'fraction_non_alphanumeric': 0.11992355470616341, 'fraction_numerical': 0.016244624940277116, 'mean_word_length': 4.67479674796748, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2123320', 'n_tokens_mistral': 745, 'n_tokens_neox': 706, 'n_words': 198}