<commit_before>(function(){

	var DEBUG = false;

	var url = window.location.search;
	url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );

	if ( !DEBUG && (!url || url.indexOf("http") !== 0) ) {
		return;
	}

	if ( typeof QUnit !== "undefined" ) {
		QUnit.done = function(fail, total){
			// Clean up the HTML (remove any un-needed scripts and test markup
			// Make sure that a styleshet is still being referenced
			var html = jQuery("html")
				.find("#nothiddendiv, #loadediframe, #dl, #main, script, div.testrunner-toolbar").remove().end()
				.find("ol").show().end()
				.find("link").each(function(){
					jQuery(this).attr("href", this.href);
				})
				.html().replace(/\s+/g, " ");

			submit({
				fail: fail,
				total: total,
				results: "<html>" + html + "</html>"
			});
		};
	}

	function submit(params){
		var paramItems = (url.split("?")[1] || "").split("&");

		for ( var i = 0; i < paramItems.length; i++ ) {
			if ( paramItems[i] ) {
				var parts = paramItems[i].split("=");
				params[ parts[0] ] = parts[1];
			}
		}

		var form = document.createElement("form");
		form.action = url;
		form.method = "POST";

		for ( var i in params ) {
			var input = document.createElement("input");
			input.type = "hidden";
			input.name = i;
			input.vaue = params[i];
			form.appendChild( input );
		}

		if ( DEBUG ) {
			alert( form.innerHTML );
		} else {
			document.body.appendChild( form );
			form.submit();
		}
	}

})();<commit_msg>Typo in the inject script.<commit_after>(function(){

	var DEBUG = false;

	var url = window.location.search;
	url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );

	if ( !DEBUG && (!url || url.indexOf("http") !== 0) ) {
		return;
	}

	if ( typeof QUnit !== "undefined" ) {
		QUnit.done = function(fail, total){
			// Clean up the HTML (remove any un-needed scripts and test markup
			// Make sure that a styleshet is still being referenced
			var html = jQuery("html")
				.find("#nothiddendiv, #loadediframe, #dl, #main, script, div.testrunner-toolbar").remove().end()
				.find("ol").show().end()
				.find("link").each(function(){
					jQuery(this).attr("href", this.href);
				})
				.html().replace(/\s+/g, " ");

			submit({
				fail: fail,
				total: total,
				results: "<html>" + html + "</html>"
			});
		};
	}

	function submit(params){
		var paramItems = (url.split("?")[1] || "").split("&");

		for ( var i = 0; i < paramItems.length; i++ ) {
			if ( paramItems[i] ) {
				var parts = paramItems[i].split("=");
				params[ parts[0] ] = parts[1];
			}
		}

		var form = document.createElement("form");
		form.action = url;
		form.method = "POST";

		for ( var i in params ) {
			var input = document.createElement("input");
			input.type = "hidden";
			input.name = i;
			input.value = params[i];
			form.appendChild( input );
		}

		if ( DEBUG ) {
			alert( form.innerHTML );
		} else {
			document.body.appendChild( form );
			form.submit();
		}
	}

})();
{'fraction_non_alphanumeric': 0.1988521269412559, 'fraction_numerical': 0.004051316677920324, 'mean_word_length': 2.9932614555256065, 'pattern_counts': {'":': 0, '<': 9, '<?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': '2699581', 'n_tokens_mistral': 1195, 'n_tokens_neox': 1006, 'n_words': 244}