<commit_before>import os
import sys
import json
import logging
import pathlib
from logging.handlers import RotatingFileHandler

## Config
CONFIG_OPTIONS = {}         # This'll be populated on import
DEBUG_LEVEL_KEY = "debug_level"
CONFIG_NAME = "config.json"	# The name of the config file
DIRS_FROM_ROOT = 1			# How many directories away this script is from the root
PLATFORM = sys.platform


def get_root_path():
	## -1 includes this script itself in the realpath
    p = os.path.realpath(__file__).split(os.path.sep)[:(-1 - DIRS_FROM_ROOT)]
    return os.sep.join(os.path.realpath(__file__).split(os.path.sep)[:(-1 - DIRS_FROM_ROOT)])
<commit_msg>Removed unneeded debug code from utilities<commit_after>import os
import sys
import json
import logging
import pathlib
from logging.handlers import RotatingFileHandler

## Config
CONFIG_OPTIONS = {}         # This'll be populated on import
DEBUG_LEVEL_KEY = "debug_level"
CONFIG_NAME = "config.json"	# The name of the config file
DIRS_FROM_ROOT = 1			# How many directories away this script is from the root
PLATFORM = sys.platform


def get_root_path():
	## -1 includes this script itself in the realpath
    return os.sep.join(os.path.realpath(__file__).split(os.path.sep)[:(-1 - DIRS_FROM_ROOT)])

{'fraction_non_alphanumeric': 0.09207365892714171, 'fraction_numerical': 0.005604483586869495, 'mean_word_length': 4.580357142857143, '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': '3694554', 'n_tokens_mistral': 408, 'n_tokens_neox': 390, 'n_words': 124}