<commit_before>/*! http://mths.be/contains v0.1.0 by @mathias */
if (!String.prototype.contains) {
	(function() {
		'use strict'; // needed to support `apply`/`call` with `undefined`/`null`
		var indexOf = ''.indexOf;
		var contains = function(search) {
			if (this == null) {
				throw TypeError();
			}
			var string = String(this);
			var stringLength = string.length;
			var searchString = String(search);
			var searchLength = searchString.length;
			var position = arguments.length > 1 ? arguments[1] : undefined;
			// `ToInteger`
			var pos = position ? Number(position) : 0;
			if (pos != pos) { // better `isNaN`
				pos = 0;
			}
			var start = Math.min(Math.max(pos, 0), stringLength);
			// Avoid the `indexOf` call if no match is possible
			if (searchLength + start > stringLength) {
				return false;
			}
			return indexOf.call(string, searchString, pos) != -1;
		};
		if (Object.defineProperty) {
			Object.defineProperty(String.prototype, 'contains', {
				'value': contains,
				'configurable': true,
				'writable': true
			});
		} else {
			String.prototype.contains = contains;
		}
	}());
}<commit_msg>Avoid IE8’s broken `Object.defineProperty`<commit_after>/*! http://mths.be/contains v0.1.0 by @mathias */
if (!String.prototype.contains) {
	(function() {
		'use strict'; // needed to support `apply`/`call` with `undefined`/`null`
		var defineProperty = (function() {
			// IE 8 only supports `Object.defineProperty` on DOM elements
			try {
				var object = {};
				var $defineProperty = Object.defineProperty;
				var result = $defineProperty(object, object, object) && $defineProperty;
			} catch(error) {}
			return result;
		}());
		var indexOf = ''.indexOf;
		var contains = function(search) {
			if (this == null) {
				throw TypeError();
			}
			var string = String(this);
			var stringLength = string.length;
			var searchString = String(search);
			var searchLength = searchString.length;
			var position = arguments.length > 1 ? arguments[1] : undefined;
			// `ToInteger`
			var pos = position ? Number(position) : 0;
			if (pos != pos) { // better `isNaN`
				pos = 0;
			}
			var start = Math.min(Math.max(pos, 0), stringLength);
			// Avoid the `indexOf` call if no match is possible
			if (searchLength + start > stringLength) {
				return false;
			}
			return indexOf.call(string, searchString, pos) != -1;
		};
		if (defineProperty) {
			defineProperty(String.prototype, 'contains', {
				'value': contains,
				'configurable': true,
				'writable': true
			});
		} else {
			String.prototype.contains = contains;
		}
	}());
}
{'fraction_non_alphanumeric': 0.1517509727626459, 'fraction_numerical': 0.007782101167315175, 'mean_word_length': 3.2078559738134205, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6455218', 'n_tokens_mistral': 972, 'n_tokens_neox': 814, 'n_words': 221}