<commit_before><?php
header('Content-Type: text/javascript');
header('Cache-Control: max-age=60, must-revalidate');
header("Expires: Thu, 31 Dec 2020 20:00:00 GMT");
$subject = $_SERVER['REQUEST_URI'];
$pattern = '/\/sleep-(\d+)\//';
preg_match($pattern, $subject, $matches);
if (sizeof($matches) > 1) {
  sleep($matches[1]);
}
echo 'window.' . basename($_SERVER['REQUEST_URI'], '.js') . ' = true;';<commit_msg>Added no-cache option to javascript.php.<commit_after><?php
header('Content-Type: text/javascript');
if ( strrpos( $_SERVER['REQUEST_URI'], 'no-cache' ) === FALSE ) {
	header('Cache-Control: max-age=60, must-revalidate');
	header("Expires: Thu, 31 Dec 2020 20:00:00 GMT");
} else {
	$pretty_modtime = gmdate('D, d M Y H:i:s') . 'GMT'; 
	header('Cache-Control: max-age=0, must-revalidate');
	header("Last-Modified: $pretty_modtime"); 
	header("Expires: $pretty_modtime"); 
	header("Pragma: no-cache"); 
}
$subject = $_SERVER['REQUEST_URI'];
$pattern = '/\/sleep-(\d+)\//';
preg_match($pattern, $subject, $matches);
if (sizeof($matches) > 1) {
  sleep($matches[1]);
}
echo 'window.' . basename($_SERVER['REQUEST_URI'], '.js') . ' = true;';
{'fraction_non_alphanumeric': 0.2343205574912892, 'fraction_numerical': 0.028745644599303136, 'mean_word_length': 5.758823529411765, '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': '1516465', 'n_tokens_mistral': 443, 'n_tokens_neox': 410, 'n_words': 83}