<commit_before>if (!window.console) {
	window.console = {
		log: function() {},
		warn: function() {},
		error: function() {},
	};
} else {
	// var debug = Spontaneous.debug;
	// window.__console = window.console;
	// window.console = {
	// 	log: function() {
	// 		if (debug) { window.__console.log.apply(window.__console, arguments); }
	// 	},
	// 	warn: function() {
	// 		if (debug) { window.__console.warn.apply(window.__console, arguments); }
	// 	},
	// 	error: function() {
	// 		if (debug) { window.__console.error.apply(window.__console, arguments); }
	// 	}
	// };
}

// console.log('Loading Extensions...')

// Thank you Prototype
function $A(iterable) {
	if (!iterable) return [];
	if (iterable.toArray) return iterable.toArray();
	var length = iterable.length || 0, results = new Array(length);
	while (length--) results[length] = iterable[length];
	return results;
};

(function($) {

	var function_id = 0;

	$.extend(Function.prototype, {
		bind: function() {
			var __method = this, args = $A(arguments), object = args.shift();
			return function() {
				return __method.apply(object, args.concat($A(arguments)));
			};
		},
		cache: function(name) {
			var __method = this, id = name || ('__cached__'+(++function_id)), _undefined_;<commit_msg>JS 1.6 implements Function.prototype.bind so use it if it exists<commit_after>if (!window.console) {
	window.console = {
		log: function() {},
		warn: function() {},
		error: function() {},
	};
} else {
	// var debug = Spontaneous.debug;
	// window.__console = window.console;
	// window.console = {
	// 	log: function() {
	// 		if (debug) { window.__console.log.apply(window.__console, arguments); }
	// 	},
	// 	warn: function() {
	// 		if (debug) { window.__console.warn.apply(window.__console, arguments); }
	// 	},
	// 	error: function() {
	// 		if (debug) { window.__console.error.apply(window.__console, arguments); }
	// 	}
	// };
}

// console.log('Loading Extensions...')

// Thank you Prototype
function $A(iterable) {
	if (!iterable) return [];
	if (iterable.toArray) return iterable.toArray();
	var length = iterable.length || 0, results = new Array(length);
	while (length--) results[length] = iterable[length];
	return results;
};

(function($) {

	var function_id = 0;

	if (!(typeof Function.prototype.bind === 'function')) {
		Function.prototype.bind = function() {
			var __method = this, args = $A(arguments), object = args.shift();
			return function() {
				return __method.apply(object, args.concat($A(arguments)));
			};
		};
	}
	$.extend(Function.prototype, {
		cache: function(name) {
			var __method = this, id = name || ('__cached__'+(++function_id)), _undefined_;
{'fraction_non_alphanumeric': 0.19035054655107425, 'fraction_numerical': 0.0022615906520919715, 'mean_word_length': 3.5212947189097106, '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': '5909889', 'n_tokens_mistral': 937, 'n_tokens_neox': 889, 'n_words': 190}