<commit_before><?php

require __DIR__.'/common.php';

if (php_sapi_name() === 'cli') {
    $options = getopt('', array(
        'limit::',
        'call-interval::',
        'update-interval::',
        'database::',
    ));
}
else {
    $options = $_GET;
}

if (! empty($options['database'])) {
    if (! Model\Database\select($options['database'])) {
        die("Database ".$options['database']." not found\r\n");
    }
}<commit_msg>Fix wrong path in cronjob.php<commit_after><?php

require __DIR__.'/app/common.php';

if (php_sapi_name() === 'cli') {
    $options = getopt('', array(
        'limit::',
        'call-interval::',
        'update-interval::',
        'database::',
    ));
}
else {
    $options = $_GET;
}

if (! empty($options['database'])) {
    if (! Model\Database\select($options['database'])) {
        die("Database ".$options['database']." not found\r\n");
    }
}
{'fraction_non_alphanumeric': 0.23094170403587444, 'fraction_numerical': 0.0, 'mean_word_length': 2.8995633187772927, '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': '1586800', 'n_tokens_mistral': 299, 'n_tokens_neox': 298, 'n_words': 52}