<commit_before>/* Patches from box-js */
	window = this;

	_globalTimeOffset = 0;
	WScript.sleep = function(delay) {
		_globalTimeOffset += delay;
	}

	let fullYearGetter = Date.prototype.getFullYear;
	Date.prototype.getFullYear = function() {
		console.log("Warning: the script tried to read the current date.");
		console.log("If it doesn't work correctly (eg. fails to decrypt a string,");
		console.log("try editing patch.js with a different year.");

		// return 2017;
		return fullYearGetter.call(this);
	};
	Date.prototype.getYear = function() {
		return this.getFullYear();
	};
	Date.prototype.toString = function() {
		// Example format: Thu Aug 24 18:17:18 UTC+0200 2017
		const dayName = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"][this.getDay()];
		const monName = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"][this.getMonth()];
		return [
			dayName, monName, this.getUTCDay(),<commit_msg>Fix WScript.Sleep<commit_after>/* Patches from box-js */
	window = this;

	_globalTimeOffset = 0;
	WScript.Sleep = function(delay) {
		_globalTimeOffset += delay;
	}

	let fullYearGetter = Date.prototype.getFullYear;
	Date.prototype.getFullYear = function() {
		console.log("Warning: the script tried to read the current date.");
		console.log("If it doesn't work correctly (eg. fails to decrypt a string,");
		console.log("try editing patch.js with a different year.");

		// return 2017;
		return fullYearGetter.call(this);
	};
	Date.prototype.getYear = function() {
		return this.getFullYear();
	};
	Date.prototype.toString = function() {
		// Example format: Thu Aug 24 18:17:18 UTC+0200 2017
		const dayName = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"][this.getDay()];
		const monName = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"][this.getMonth()];
		return [
			dayName, monName, this.getUTCDay(),
{'fraction_non_alphanumeric': 0.17966280295047418, 'fraction_numerical': 0.022128556375131718, 'mean_word_length': 4.379603399433428, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6751718', 'n_tokens_mistral': 725, 'n_tokens_neox': 636, 'n_words': 178}