<commit_before>(function (undefined) {
	String.fromTemplate = function () {
		var lines = Array.prototype.slice.call(arguments, 0),
			params = lines.pop();
		
		if(Object.prototype.toString.call(params) === "[object String]")
		{
			throw new Error("v[Xz_up̃p[^nĂȂA^słB");
		}
		else if(!params)
		{
			return lines.join("\n").replace(/{!(!*(\w|\d+))}/g, function (m, m1) {
				return "{" + m1 + "}";
			});
		}
		else if(Object.prototype.toString.call(params) === "[object Array]")
		{
			return lines.join("\n").replace(/{!(!*(\w|\d+))}|{(\w+)}|{(\d+)}/g, function (m, m1, m2, m3, m4) {
				if(m2) return "{" + m2 + "}";
				else if(m3) return "";
				else if(m4) return params[parseInt(m4)];
				else throw new Error("ProgramError.");
			});
		}
		else if(Object.prototype.toString.call(params) === "[object Object]")
		{
			return lines.join("\n").replace(/{!(!*(\w|\d+))}|{(\w+)}|{(\d+)}/g, function (m, m1, m2, m3, m4) {
				if(m2) return "{" + m2 + "}";
				else if(m3) return params[m3];
				else if(m4) return "";
				else throw new Error("ProgramError.");
			});
		}
	};
	String.prototype.createResLine = function (num) {
		
		var fields = this.split("<>");
		
		if(fields.length < 4)
		{
			for(var i=0; i < 4; i++)
			{
				fields[i] = "Ă܂"
			}
		}
		
		return String.fromTemplate(
			'<dt id="a{num}">{num} F <span class="name"><b>{name}</b></span> <span class="info">[{mail}]F{dateid}</span></dt>',
			'<dd>{body}</dd>',
		{
			num: num,
			name: fields[0],
			mail: fields[1],
			dateid: fields[2],
			body: fields[3].replace(
				/(<[^>]*>)(((https?:)(\/\/[-_.!~*\'()a-zA-Z0-9;?:\@&=+\$,%#]+))[-_.!~*\'()a-zA-Z0-9;\/?:|\@&=+\$,%#]+)/g,
				function (tag, url) {
					if(tag) return tag;
					url = url.replace(/&/g, "&amp;");
					return '<a href="' + url + '">' + url + '</a>';
				})
		});
	};
	
	String.prototype.getResLines = function () {
		return this.split("\n");
	};
})();
<commit_msg>デザイン調整<commit_after>(function (undefined) {
	String.fromTemplate = function () {
		var lines = Array.prototype.slice.call(arguments, 0),
			params = lines.pop();
		
		if(Object.prototype.toString.call(params) === "[object String]")
		{
			throw new Error("v[Xz_up̃p[^nĂȂA^słB");
		}
		else if(!params)
		{
			return lines.join("\n").replace(/{!(!*(\w|\d+))}/g, function (m, m1) {
				return "{" + m1 + "}";
			});
		}
		else if(Object.prototype.toString.call(params) === "[object Array]")
		{
			return lines.join("\n").replace(/{!(!*(\w|\d+))}|{(\w+)}|{(\d+)}/g, function (m, m1, m2, m3, m4) {
				if(m2) return "{" + m2 + "}";
				else if(m3) return "";
				else if(m4) return params[parseInt(m4)];
				else throw new Error("ProgramError.");
			});
		}
		else if(Object.prototype.toString.call(params) === "[object Object]")
		{
			return lines.join("\n").replace(/{!(!*(\w|\d+))}|{(\w+)}|{(\d+)}/g, function (m, m1, m2, m3, m4) {
				if(m2) return "{" + m2 + "}";
				else if(m3) return params[m3];
				else if(m4) return "";
				else throw new Error("ProgramError.");
			});
		}
	};
	String.prototype.createResLine = function (num) {
		
		var fields = this.split("<>");
		
		if(fields.length < 4)
		{
			for(var i=0; i < 4; i++)
			{
				fields[i] = "Ă܂"
			}
		}
		
		return String.fromTemplate(
			'<dt id="a{num}">{num} F <span class="name"><b>{name}</b></span> <span class="info">[{mail}] F {dateid}</span></dt>',
			'<dd>{body}</dd>',
		{
			num: num,
			name: fields[0],
			mail: fields[1],
			dateid: fields[2],
			body: fields[3].replace(
				/(<[^>]*>)(((https?:)(\/\/[-_.!~*\'()a-zA-Z0-9;?:\@&=+\$,%#]+))[-_.!~*\'()a-zA-Z0-9;\/?:|\@&=+\$,%#]+)/g,
				function (tag, url) {
					if(tag) return tag;
					url = url.replace(/&/g, "&amp;");
					return '<a href="' + url + '">' + url + '</a>';
				})
		});
	};
	
	String.prototype.getResLines = function () {
		return this.split("\n");
	};
})();

{'fraction_non_alphanumeric': 0.28608855121823423, 'fraction_numerical': 0.01676709457689285, 'mean_word_length': 3.109795479009688, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 33, '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': '2715614', 'n_tokens_mistral': 1828, 'n_tokens_neox': 1565, 'n_words': 266}