<commit_before>import os
import logging

logging.basicConfig()
LOG = logging.getLogger(__name__)
CUSTOM_SETTINGS_PATH = "/etc/gatekeeper/settings.py"
if os.path.exists(CUSTOM_SETTINGS_PATH):
    exec(open(CUSTOM_SETTINGS_PATH, "rb").read())
else:
    LOG.warn("Missing custom settings file: %s. " % CUSTOM_SETTINGS_PATH)<commit_msg>Modified Settings Path to support the move of markdown files<commit_after>import os
import logging

logging.basicConfig()
LOG = logging.getLogger(__name__)
CUSTOM_SETTINGS_PATH = "/etc/gatekeeper/"
CUSTOM_SETTINGS_FILE = CUSTOM_SETTINGS_PATH + "settings.py"
if os.path.exists(CUSTOM_SETTINGS_FILE):
    exec(open(CUSTOM_SETTINGS_FILE, "rb").read())
else:
    LOG.warn("Missing custom settings file: %s. " % CUSTOM_SETTINGS_FILE)
{'fraction_non_alphanumeric': 0.11578947368421053, 'fraction_numerical': 0.0, 'mean_word_length': 6.534653465346534, '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': '4973730', 'n_tokens_mistral': 261, 'n_tokens_neox': 269, 'n_words': 51}