<commit_before><?php
/**
 * This script is intended to be called from cron every minute
 */

set_time_limit(0);	//no time limit
$config['no_session'] = true;	//force session "last active" update to be skipped
require_once('config.php');
$config['debug'] = false;

$limit = 5;	//do up to 5 encodings each time the script is run

for ($i = 0; $i < $limit; $i++) {
	processQueue();
	sleep(1);
}

?><commit_msg>some more iterations per run<commit_after><?php
/**
 * This script is intended to be called from cron every minute
 */

set_time_limit(0);	//no time limit
$config['no_session'] = true;	//force session "last active" update to be skipped
require_once('config.php');
$config['debug'] = false;

$limit = 10;	//do a few encodings each time the script is run

for ($i = 0; $i < $limit; $i++) {
	processQueue();
	sleep(1);
}

?>
{'fraction_non_alphanumeric': 0.16183574879227053, 'fraction_numerical': 0.012077294685990338, 'mean_word_length': 4.246835443037975, 'pattern_counts': {'":': 0, '<': 7, '<?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': '6182175', 'n_tokens_mistral': 291, 'n_tokens_neox': 281, 'n_words': 103}