<commit_before>//#define DARK_TEXT
namespace Contest.Core {
	using System;
	using System.Collections.Generic;
	using System.Diagnostics;

	class Printer{

#if DARK_TEXT
		static ConsoleColor Default  = ConsoleColor.Black;
#else
		static ConsoleColor Default  = ConsoleColor.White;
#endif
		static ConsoleColor Red    = ConsoleColor.Red;
		static ConsoleColor Green  = ConsoleColor.Green;
		static ConsoleColor Yellow = ConsoleColor.Yellow;

		// void PrintResults(int casesCount, long elapsedMilliseconds) 
		public readonly static Action<int, long, int, int, int, int, string> PrintResults = 
			(casesCount, elapsedms, assertsCount, passCount, failCount, ignoreCount, cherry) => {
				Print("".PadRight(40, '='), Default);
				Print("STATS", Default);
				if(!string.IsNullOrEmpty(cherry)){
					Print("".PadRight(40, '='), Default);
					Print("Cherry Picking => {0}".Interpol(cherry), Default);
				}
				Print("".PadRight(40, '='), Default);
				Print("Test    : {0}".Interpol(casesCount), Default);
				Print("Asserts : {0}".Interpol(assertsCount), Default);
				Print("Elapsed : {0} ms".Interpol(elapsedms), Default);
				Print("Passing : {0}".Interpol(passCount), Green);
				Print("Failing : {0}".Interpol(failCount), Red);
				Print("Ignored : {0}".Interpol(ignoreCount), Yellow);
				Print("".PadRight(40, '='), Default);
			};

		public readonly static Action<string> PrintFixName = name => {
			Print("".PadRight(40, '='), ConsoleColor.Cyan);
			Print(name, ConsoleColor.Cyan);
			Print("".PadRight(40, '='), ConsoleColor.Cyan);
		};

		public readonly static Action<string, ConsoleColor> Print = (msg, color) => {
			var fcolor = Console.ForegroundColor;
			try {
				Console.ForegroundColor = color;
				Console.WriteLine(msg);
			}
			finally {
				Console.ForegroundColor = fcolor;
			}
		};
	}
}
<commit_msg>change print stats<commit_after>//#define DARK_TEXT
namespace Contest.Core {
	using System;
	using System.Collections.Generic;
	using System.Diagnostics;

	class Printer{

#if DARK_TEXT
		static ConsoleColor Default  = ConsoleColor.Black;
#else
		static ConsoleColor Default  = ConsoleColor.White;
#endif
		static ConsoleColor Red    = ConsoleColor.Red;
		static ConsoleColor Green  = ConsoleColor.Green;
		static ConsoleColor Yellow = ConsoleColor.Yellow;

		// void PrintResults(int casesCount, long elapsedMilliseconds) 
		public readonly static Action<int, long, int, int, int, int, string> PrintResults = 
			(casesCount, elapsedms, assertsCount, passCount, failCount, ignoreCount, cherry) => {
				Print("".PadRight(40, '-'), Default);
				Print("ASSERTS - STATS", Default);
				if(!string.IsNullOrEmpty(cherry)){
					Print("".PadRight(40, '-'), Default);
					Print($"Cherry Picking => {cherry}", Default);
				}
				Print("".PadRight(40, '-'), Default);
				// Print("Test    : {0}".Interpol(casesCount), Default);
				// Print("Asserts : {0}".Interpol(assertsCount), Default);
				Print($"Elapsed : {elapsedms} ms", Default);
				Print($"Passing : {passCount}",    Green);
				Print($"Failing : {failCount}",    Red);
				Print($"Ignored : {ignoreCount}",  Yellow);
				Print("".PadRight(40, '-'), Default);
			};

		public readonly static Action<string> PrintFixName = name => {
			Print("".PadRight(40, '='), ConsoleColor.Cyan);
			Print(name, ConsoleColor.Cyan);
			Print("".PadRight(40, '='), ConsoleColor.Cyan);
		};

		public readonly static Action<string, ConsoleColor> Print = (msg, color) => {
			var fcolor = Console.ForegroundColor;
			try {
				Console.ForegroundColor = color;
				Console.WriteLine(msg);
			}
			finally {
				Console.ForegroundColor = fcolor;
			}
		};
	}
}

{'fraction_non_alphanumeric': 0.15028127511384945, 'fraction_numerical': 0.008840075006697026, 'mean_word_length': 3.6098765432098765, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 17, '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': '4982488', 'n_tokens_mistral': 1353, 'n_tokens_neox': 1144, 'n_words': 249}