<commit_before># encoding: utf-8
# Copyright 2011 Tree.io Limited
# This file is part of Treeio.
# License www.tree.io/license

# coding=utf-8

"""
Django settings for treeio project.
"""

import os
from os import path
from whoosh import fields
import ConfigParser
import sys

BASE_DIR = os.path.dirname(os.path.dirname(__file__))
CONFIG_FILE = 'treeio.ini'
USER_CONFIG_FILE = path.join(path.dirname(BASE_DIR), CONFIG_FILE)
DEFAULT_CONFIG_FILE = path.join(BASE_DIR, CONFIG_FILE)
DEBUG = (True if 'DEBUG' not in os.environ else {'true': True, 'false': False}[os.environ['DEBUG'].lower()])
DEBUG = True
TEMPLATE_DEBUG = DEBUG

QUERY_DEBUG = False
QUERY_DEBUG_FULL = False

ADMINS = (
    # ('<NAME>', '<EMAIL>'),
)<commit_msg>BASE_DIR is using absolute paths now<commit_after># encoding: utf-8
# Copyright 2011 Tree.io Limited
# This file is part of Treeio.
# License www.tree.io/license

# coding=utf-8

"""
Django settings for treeio project.
"""

import os
from os import path
from whoosh import fields
import ConfigParser
import sys

BASE_DIR = path.dirname(path.dirname(path.abspath(__file__)))
CONFIG_FILE = 'treeio.ini'
USER_CONFIG_FILE = path.join(path.dirname(BASE_DIR), CONFIG_FILE)
DEFAULT_CONFIG_FILE = path.join(BASE_DIR, CONFIG_FILE)
DEBUG = (True if 'DEBUG' not in os.environ else {'true': True, 'false': False}[os.environ['DEBUG'].lower()])
DEBUG = True
TEMPLATE_DEBUG = DEBUG

QUERY_DEBUG = False
QUERY_DEBUG_FULL = False

ADMINS = (
    # ('<NAME>', '<EMAIL>'),
)
{'fraction_non_alphanumeric': 0.12914131169709264, 'fraction_numerical': 0.008113590263691683, 'mean_word_length': 5.297872340425532, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2614845', 'n_tokens_mistral': 506, 'n_tokens_neox': 502, 'n_words': 141}