<commit_before><?php


/**
 * Register automatic loading for dependency injection
 */
spl_autoload_register(function($class){
	if(file_exists('include/php/models/'.$class.'.php')){
		include 'include/php/models/'.$class.'.php';
	}
	elseif(file_exists('include/php/classes/'.$class.'.php')){
		include 'include/php/classes/'.$class.'.php';
	}
});


/**
 * Load some global accessible functions
 */
require_once 'include/php/global.inc.php';
<commit_msg>Fix autoload<commit_after><?php


/**
 * Register automatic loading for dependency injection
 */
spl_autoload_register(function($class){
	if(file_exists('include/php/models/'.$class.'.php')){
		include_once 'include/php/models/'.$class.'.php';
	}
	elseif(file_exists('include/php/classes/'.$class.'.php')){
		include_once 'include/php/classes/'.$class.'.php';
	}
});


/**
 * Load some global accessible functions
 */
require_once 'include/php/global.inc.php';

{'fraction_non_alphanumeric': 0.19715224534501644, 'fraction_numerical': 0.0, 'mean_word_length': 4.784810126582278, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1433577', 'n_tokens_mistral': 306, 'n_tokens_neox': 309, 'n_words': 43}