<commit_before>import os

DEBUG = True
TEMPLATE_DEBUG = DEBUG


TIME_ZONE = 'America/New_York'
LANGUAGE_CODE = 'en-us'

USE_TZ = True

STATIC_ROOT = ''
STATIC_URL = '/static/'

# Additional locations of static files
STATICFILES_DIRS = (
    os.path.join(os.path.dirname(os.path.abspath(__file__)), 'static'),
)

STATICFILES_FINDERS = (
    'django.contrib.staticfiles.finders.FileSystemFinder',
    'django.contrib.staticfiles.finders.AppDirectoriesFinder',
)

TEMPLATE_LOADERS = (
    'django.template.loaders.filesystem.Loader',
    'django.template.loaders.app_directories.Loader',
)

MIDDLEWARE_CLASSES = (
    'django.middleware.common.CommonMiddleware',
)

ROOT_URLCONF = 'sparerib_server.urls'

# Python dotted path to the WSGI application used by Django's runserver.
WSGI_APPLICATION = 'sparerib_server.wsgi.application'

TEMPLATE_DIRS = (
    os.path.join(os.path.dirname(os.path.abspath(__file__)), 'templates')
)

INSTALLED_APPS = (
    'django.contrib.staticfiles',
    'djangorestframework',
    'sparerib_api',
    'sparerib_public'
)

# hacks to make everything work in pypy
try:
    import psycopg2
except ImportError:
    # we're running in pypy
    from psycopg2ct import compat
    compat.register()
    
    import numpypy

try:
    from local_settings import *
except:
    pass<commit_msg>Add analysis to settings.<commit_after>import os

DEBUG = True
TEMPLATE_DEBUG = DEBUG


TIME_ZONE = 'America/New_York'
LANGUAGE_CODE = 'en-us'

USE_TZ = True

STATIC_ROOT = ''
STATIC_URL = '/static/'

# Additional locations of static files
STATICFILES_DIRS = (
    os.path.join(os.path.dirname(os.path.abspath(__file__)), 'static'),
)

STATICFILES_FINDERS = (
    'django.contrib.staticfiles.finders.FileSystemFinder',
    'django.contrib.staticfiles.finders.AppDirectoriesFinder',
)

TEMPLATE_LOADERS = (
    'django.template.loaders.filesystem.Loader',
    'django.template.loaders.app_directories.Loader',
)

MIDDLEWARE_CLASSES = (
    'django.middleware.common.CommonMiddleware',
)

ROOT_URLCONF = 'sparerib_server.urls'

# Python dotted path to the WSGI application used by Django's runserver.
WSGI_APPLICATION = 'sparerib_server.wsgi.application'

TEMPLATE_DIRS = (
    os.path.join(os.path.dirname(os.path.abspath(__file__)), 'templates')
)

INSTALLED_APPS = (
    'django.contrib.staticfiles',
    'djangorestframework',
    'sparerib_api',
    'sparerib_public',
    'analysis'
)

# hacks to make everything work in pypy
try:
    import psycopg2
except ImportError:
    # we're running in pypy
    from psycopg2ct import compat
    compat.register()
    
    import numpypy

try:
    from local_settings import *
except:
    pass
{'fraction_non_alphanumeric': 0.10876132930513595, 'fraction_numerical': 0.0015105740181268882, 'mean_word_length': 4.214566929133858, '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': '6690165', 'n_tokens_mistral': 969, 'n_tokens_neox': 928, 'n_words': 169}