<commit_before>// build filtering object
(function(){
	
	// filters property holds filter functions
	CanvasRenderingContext2D.prototype.filters={};
	

	CanvasRenderingContext2D.prototype.filters.save = function () {
		var imageData=this.getImageData(0,0,this.canvas.width,this.canvas.height);
		this.ImageDataBackup=this.createImageData(imageData);
	};
		
	CanvasRenderingContext2D.prototype.write = function () {
		
		this.clearRect(0,0,this.canvas.width,this.canvas.height);
		this.putImageData(this.oldImageData,0,0);
	};


	CanvasRenderingContext2D.prototype.filter = function (f,o) {
		
		if ('undefined'==typeof o) {<commit_msg>removed save function. forgot what it was for, but may add it back later<commit_after>// build filtering object
(function(){
	
	// filters property holds filter functions
	CanvasRenderingContext2D.prototype.filters={};
		
	CanvasRenderingContext2D.prototype.write = function () {
		this.clearRect(0,0,this.canvas.width,this.canvas.height);
		this.putImageData(this.oldImageData,0,0);
	};


	CanvasRenderingContext2D.prototype.filter = function (f,o) {
		
		if ('undefined'==typeof o) {
{'fraction_non_alphanumeric': 0.12779267202859695, 'fraction_numerical': 0.01519213583556747, 'mean_word_length': 5.292134831460674, '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': '7272082', 'n_tokens_mistral': 369, 'n_tokens_neox': 344, 'n_words': 60}