<commit_before><?php

if(is_dir(__DIR__ . '/../vendor')) {
    include(__DIR__ . '/../vendor/autoload.php');
} else {
    require __DIR__ . '/../src.php';
}

require __DIR__ . '/TestCase.php';
require __DIR__ . '/DatabaseTestCase.php';

$models = glob(realpath(__DIR__) . '/models/*.php');
foreach($models as $model) {
    include $model;<commit_msg>Fix models path in tests<commit_after><?php

if(is_dir(__DIR__ . '/../vendor')) {
    include(__DIR__ . '/../vendor/autoload.php');
} else {
    require __DIR__ . '/../src.php';
}

require __DIR__ . '/TestCase.php';
require __DIR__ . '/DatabaseTestCase.php';

$models = glob(realpath(__DIR__) . '/Models/*.php');
foreach($models as $model) {
    include $model;
{'fraction_non_alphanumeric': 0.20815752461322082, 'fraction_numerical': 0.0, 'mean_word_length': 3.4779874213836477, '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': '6111974', 'n_tokens_mistral': 243, 'n_tokens_neox': 243, 'n_words': 49}