<commit_before><?php
if(empty($argv[1])) {
	die('Specify the ID of a job to monitor the status of.');
}

require '../lib/resque.php';
date_default_timezone_set('GMT');
Resque::setBackend('127.0.0.1:6379');

$status = new Resque_Job_Status($argv[1]);
if(!$status->isTracking()) {
	die("Resque is not tracking the status of this job.\n");
}
<commit_msg>Apply patch from #26ae7a63da71268800ff106859df63b418a34a47<commit_after><?php
if(empty($argv[1])) {
	die('Specify the ID of a job to monitor the status of.');
}

require '../lib/Resque/Job/Status.php';
require '../lib/Resque.php';
date_default_timezone_set('GMT');
Resque::setBackend('127.0.0.1:6379');

$status = new Resque_Job_Status($argv[1]);
if(!$status->isTracking()) {
	die("Resque is not tracking the status of this job.\n");
}

{'fraction_non_alphanumeric': 0.18932655654383734, 'fraction_numerical': 0.06607369758576874, 'mean_word_length': 5.852173913043479, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '771081', 'n_tokens_mistral': 318, 'n_tokens_neox': 300, 'n_words': 65}