<commit_before>Seed({
		name : "Mold.CLI.Test",
		dna : "cli",
		include : [
			"Mold.DNA.CLI",
			"Mold.Tools.RepoHandler",
			"Mold.Tools.SeedParser",
			"Mold.Tools.Test.Tester",
			"Mold.Tools.Test.CLIReporter",
			"Mold.Tools.ProjectHandler"
		]
	},
	{
		command : "test",
		description : "Executes all Tests in a Repo",
		parameter : {
			'-all' : {
				'description' : 'If set all repos in the project file will be tested.'
			},
			'-only' : {
				'description' : 'Test a specified seed.'
			}
		},
		execute : function(parameter, cli){
			var fs = require("fs");

			var project = new Mold.Tools.ProjectHandler();


			//Test Local Repo
			var testRepo = function(repo, external){
				var repo = new Mold.Tools.RepoHandler(Mold.LOCAL_REPOSITORY);
				
				repo.eachSeed(function(path){
					
					if(fs.existsSync(path)){
						var seedContent = fs.readFileSync(path);
						if(seedContent !== ""){
							var info = new Mold.Tools.SeedParser(seedContent);
							if(info && info.header && info.header.test && (!parameter.only || parameter.only === info.header.name)){
								if(
									!info.header.platform 
									|| info.header.platform === "isomorph"
									|| info.header.platform === "server"
									|| info.header.platform === "node"
								){
									
									var tester = new Mold.Tools.Test.Tester();
									tester.addReporter(new Mold.Tools.Test.CLIReporter(cli));
									Mold
										.load({ name : info.header.test })
										.bind(function(){
											Mold
												.load({ name : info.name}).bind(function(){
													tester.test(Mold.getSeed(info.header.test), Mold.getSeed(info.name));<commit_msg>space adde<commit_after>Seed({
		name : "Mold.CLI.Test",
		dna : "cli",
		include : [
			"Mold.DNA.CLI",
			"Mold.Tools.RepoHandler",
			"Mold.Tools.SeedParser",
			"Mold.Tools.Test.Tester",
			"Mold.Tools.Test.CLIReporter",
			"Mold.Tools.ProjectHandler"
		]
	},
	{
		command : "test",
		description : "Executes all Tests in a Repo",
		parameter : {
			'-all' : {
				'description' : 'If set all repos in the project file will be tested.'
			},
			'-only' : {
				'description' : 'Test a specified seed.'
			}
		},
		execute : function(parameter, cli){
			var fs = require("fs");

			var project = new Mold.Tools.ProjectHandler();


			//Test Local Repo
			var testRepo = function(repo, external){
				var repo = new Mold.Tools.RepoHandler(Mold.LOCAL_REPOSITORY);
				
				repo.eachSeed(function(path){
					
					if(fs.existsSync(path)){
						var seedContent = fs.readFileSync(path);
						if(seedContent !== ""){
							var info = new Mold.Tools.SeedParser(seedContent);
						
							if(info && info.header && info.header.test && (!parameter.only || parameter.only === info.header.name)){
								if(
									!info.header.platform 
									|| info.header.platform === "isomorph"
									|| info.header.platform === "server"
									|| info.header.platform === "node"
								){
									
									var tester = new Mold.Tools.Test.Tester();
									tester.addReporter(new Mold.Tools.Test.CLIReporter(cli));
									Mold
										.load({ name : info.header.test })
										.bind(function(){
											Mold
												.load({ name : info.name}).bind(function(){
													tester.test(Mold.getSeed(info.header.test), Mold.getSeed(info.name));
{'fraction_non_alphanumeric': 0.1583081570996979, 'fraction_numerical': 0.0, 'mean_word_length': 2.395897435897436, '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': '2590830', 'n_tokens_mistral': 1536, 'n_tokens_neox': 1091, 'n_words': 206}