<commit_before>(function () {
	var keys = {
		SHIFT: 16,
		CTRL: 17,
		SPACE: 32,
		LEFT: 37,
		UP: 38,
		RIGHT: 39,
		DOWN: 40
	};

	function isKey(key) {
		var code;
		if (typeof keys[key] !== 'undefined') {
			code = keys[key];
		} else {
			code = key.charCodeAt(0);
		}
		return (event.keyCode == code);
	}

	window.input = {
		isKey: function (key) {
			return isKey(key.toUpperCase());
		},
		isLock: false
	};
})();<commit_msg>code style fixes<commit_after>(function() {
	var keys = {
		SHIFT: 16,
		CTRL: 17,
		SPACE: 32,
		LEFT: 37,
		UP: 38,
		RIGHT: 39,
		DOWN: 40
	};

	function isKey(key) {
		var code;
		if (typeof keys[key] !== 'undefined') {
			code = keys[key];
		} else {
			code = key.charCodeAt(0);
		}
		return (event.keyCode == code);
	}

	window.input = {
		isKey: function(key) {
			return isKey(key.toUpperCase());
		},
		isLock: false
	};
})();
{'fraction_non_alphanumeric': 0.18369690011481057, 'fraction_numerical': 0.03444316877152698, 'mean_word_length': 2.8755555555555556, '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': '713489', 'n_tokens_mistral': 428, 'n_tokens_neox': 354, 'n_words': 83}