<commit_before>( function() {
	
	var enableConsoleHack = false;
	
	if ( enableConsoleHack && typeof console !== "object" ) {
		console = {
			messages: [],
		
			node: null,
		
			init: function() {
				this.node = document.createElement( "pre" );
				this.node.style.backgroundColor = "#000";
				this.node.style.color = "#0f0";
				this.node.style.border = "3px inset #0f0";
				this.node.style.padding = "8px 2px";
				this.node.style.overflow = "scroll";
				this.node.style.maxWidth = "900px";
				this.node.style.height = "600px";
			
				document.getElementsByTagName( "body" )[ 0 ].appendChild( this.node );
			
				this.displayCachedMessages();
			},
		
			appendMessage: function( message ) {
				this.node.innerHTML += message + "<br /><br />";
			},
		
			displayCachedMessages: function() {
				for ( var i = 0, length = this.messages.length; i < length; i++ ) {
					this.appendMessage( this.messages[ i ] );
				}
			
				this.messages = [];
			},

			info: function( message ) {
				this.log( this.pad( "INFO", 5 ) + " " + message );
			},

			debug: function( message ) {
				this.log( this.pad( "DEBUG", 5 ) + " " + message );
			},

			warn: function( message ) {
				this.log( this.pad( "WARN", 5 ) + " " + message );
			},

			error: function( message ) {
				this.log( this.pad( "ERROR", 5 ) + " " + message );
			},
		
			log: function( message ) {
				if ( !this.node ) {
					this.messages.push( message );
				}
				else {
					this.appendMessage( message );
				}
			},
		
			pad: function( str, len ) {
				var diff = len - str.length;
			
				for ( var i = 0, length = diff; i < length; i++ ) {
					str = " " + str;
				}
			
				return str;
			}
		};
	
		jQuery( function() {
			console.init();
		} );
	}
	
} )();<commit_msg>Removing dependency on jQuery for console.js<commit_after>( function() {
	
	var enableConsoleHack = false;
	
	if ( enableConsoleHack && typeof console !== "object" ) {
		console = {
			messages: [],
			
			node: null,
			
			init: function() {
				this.node = document.createElement( "pre" );
				this.node.style.backgroundColor = "#000";
				this.node.style.color = "#0f0";
				this.node.style.border = "3px inset #0f0";
				this.node.style.padding = "8px 2px";
				this.node.style.overflow = "scroll";
				this.node.style.maxWidth = "900px";
				this.node.style.height = "600px";
				
				document.getElementsByTagName( "body" )[ 0 ].appendChild( this.node );
				
				this.displayCachedMessages();
			},
			
			appendMessage: function( message ) {
				this.node.innerHTML += message + "<br /><br />";
			},
			
			displayCachedMessages: function() {
				for ( var i = 0, length = this.messages.length; i < length; i++ ) {
					this.appendMessage( this.messages[ i ] );
				}
				
				this.messages = [];
			},
			
			info: function( message ) {
				this.log( this.pad( "INFO", 5 ) + " " + message );
			},
			
			debug: function( message ) {
				this.log( this.pad( "DEBUG", 5 ) + " " + message );
			},
			
			warn: function( message ) {
				this.log( this.pad( "WARN", 5 ) + " " + message );
			},
			
			error: function( message ) {
				this.log( this.pad( "ERROR", 5 ) + " " + message );
			},
			
			log: function( message ) {
				if ( !this.node ) {
					this.messages.push( message );
				}
				else {
					this.appendMessage( message );
				}
			},
			
			pad: function( str, len ) {
				var diff = len - str.length;
			
				for ( var i = 0, length = diff; i < length; i++ ) {
					str = " " + str;
				}
				
				return str;
			}
		};
		
		var oldOnload = window.onload || function() {};
		
		window.onload = function() {
			oldOnload();
			console.init();
		};
	}
	
} )();
{'fraction_non_alphanumeric': 0.17440263663828617, 'fraction_numerical': 0.012633891787970338, 'mean_word_length': 2.228723404255319, 'pattern_counts': {'":': 0, '<': 11, '<?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': '200606', 'n_tokens_mistral': 1635, 'n_tokens_neox': 1222, 'n_words': 270}