<commit_before><?php

include __DIR__.'/vendor/autoload.php';

if ( ! is_dir(__DIR__.'/tests/files')) {
    mkdir(__DIR__.'/tests/files', 0777, true);
}

$fs = new League\Flysystem\Adapter\Local(__DIR__.'/tests/files');
foreach (array_reverse($fs->listContents()) as $info) {
    if (is_file(__DIR__.'/tests/files/'.$info['path'])) {
        unlink(__DIR__.'/tests/files/'.$info['path']);
    } else {
        rmdir(__DIR__.'/tests/files/'.$info['path']);
    }
}<commit_msg>Added timezone warning workaround<commit_after><?php

include __DIR__.'/vendor/autoload.php';
date_default_timezone_set('UTC');

if ( ! is_dir(__DIR__.'/tests/files')) {
    mkdir(__DIR__.'/tests/files', 0777, true);
}

$fs = new League\Flysystem\Adapter\Local(__DIR__.'/tests/files');
foreach (array_reverse($fs->listContents()) as $info) {
    if (is_file(__DIR__.'/tests/files/'.$info['path'])) {
        unlink(__DIR__.'/tests/files/'.$info['path']);
    } else {
        rmdir(__DIR__.'/tests/files/'.$info['path']);
    }
}
{'fraction_non_alphanumeric': 0.22211155378486055, 'fraction_numerical': 0.00796812749003984, 'mean_word_length': 4.050251256281407, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3979667', 'n_tokens_mistral': 370, 'n_tokens_neox': 363, 'n_words': 44}