<commit_before><?php

spl_autoload_register(function ($class) {
    $path = '/' . str_replace('\\', '/', $class);
    $path = __DIR__ . $path . '.php';
    var_dump($path);
    if (file_exists($path)) {
        require $path;
    }
});<commit_msg>Now uses DIRECTORY_SEPERATOR. Removed var_dump.<commit_after><?php

if (!defined('DIRECTORY_SEPERATOR')) {
    define('DIRECTORY_SEPERATOR', '/');
}

spl_autoload_register(function ($class) {
    $path = DIRECTORY_SEPERATOR . str_replace('\\', DIRECTORY_SEPERATOR, $class);
    $path = __DIR__ . $path . '.php';
    if (file_exists($path)) {
        require $path;
    }
});

{'fraction_non_alphanumeric': 0.18971061093247588, 'fraction_numerical': 0.0, 'mean_word_length': 3.5474452554744524, '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': '2310011', 'n_tokens_mistral': 224, 'n_tokens_neox': 222, 'n_words': 38}