<commit_before><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Convert JS - Test</title>
	<script src="../convert.js"></script>
</head>
<body>
	<p><em>Please have a look at the JavaScript Console</em></p>
	
	<script>
		// This is a simple conversion library
		
		// convert.Metric(data, source, target)
		console.group('%c Convert Metric', 'color:green');
		console.log('convert.Metric(1, "cm", "m"): ', convert.Metric(1, "cm", "m"));
		console.log('convert.Metric(1, "hm", "inch"): ', convert.Metric(1, "hm", "inch"));
		console.log('convert.Metric(1, "km", "mm"): ', convert.Metric(1, "km", "mm"));
		console.log('convert.Metric("string", "dam", "yard"): ', convert.Metric("string", "dam", "yard"));
		console.groupEnd('%c Convert Metric', 'color:green');
				
		// convert.DataUnits(data, source, target)
		console.groupCollapsed('%c Convert DataUnits', 'color:blue');
		console.log('convert.DataUnits(1, "mb", "kb"): ', convert.DataUnits(1, "mb", "kb"));
		console.log('convert.DataUnits(1, "byte", "tb"): ', convert.DataUnits(1, "byte", "tb"));
		console.log('convert.DataUnits("string", "gb", "pb"): ', convert.DataUnits("string", "gb", "pb"));
		console.groupEnd('%c Convert DataUnits', 'color:blue');
		
		// convert.Temperature(data, source, target)
		console.groupCollapsed('%c Convert Temperature', 'color:red');
		console.log('convert.Temperature(1, "c", "k"): ', convert.Temperature(1, "c", "k"));
		console.log('convert.Temperature(1, "n", "c"): ', convert.Temperature(1, "n", "c"));
		console.log('convert.Temperature(1, "f", "n"): ', convert.Temperature(1, "f", "n"));
		console.log('convert.Temperature("string", "k", "f"): ', convert.Temperature("string", "k", "f"));
		console.groupEnd('%c Convert Temperature', 'color:red');
		
		// convert.Angle(data, source, target)
		console.groupCollapsed('%c Convert Angle', 'color:brown');
		console.log('convert.Angle(100,"rad","second"): ', convert.Angle(100,"rad","second"));
		console.log('convert.Angle(1009,"deg","rad"): ', convert.Angle(1009,"deg","rad"));
		console.log('convert.Angle(1009,"grad","rad"): ', convert.Angle(1009,"grad","rad"));
		console.log('convert.Angle("string", "second", "grad"): ', convert.Angle("string", "second", "grad"));
		console.groupEnd('%c Convert Angle', 'color:brown');
		
		// convert.Time(data, source, target)
		console.groupCollapsed('%c Convert Time', 'color:gray');
		console.log('convert.Time(1, "hour", "minute"): ', convert.Time(1, "hour", "minute"));
		console.log('convert.Time(1, "week", "year"): ', convert.Time(1, "week", "year"));
		console.log('convert.Time(1009,"minute","year"): ', convert.Time(10,"minute","year"));
		console.log('convert.Time("string", "day", "century"): ', convert.Time("string", "day", "century"));
		console.groupEnd('%c Convert Time', 'color:gray');

		// convert.Astronomical(data, source, target)
		console.groupCollapsed('%c Convert Astronomical', 'color:aqua');
		console.log('convert.Astronomical(1, "lightSecond", "mile"): ', convert.Astronomical(1, "lightSecond", "mile"));
		console.log('convert.Astronomical(1, "au96", "lightYear_julian"): ', convert.Astronomical(1, "au96", "lightYear_julian"));
		console.log('convert.Astronomical(1, "km", "lightDay"): ', convert.Astronomical(1, "km", "lightDay"));
		console.log('convert.Astronomical("string", "lightYear_traditional", "m"): ', convert.Astronomical("string", "lightYear_traditional", "m"));
		console.groupEnd('%c Convert Astronomical', 'color:aqua');

		// convert.Speed(data, source, target)
		console.groupCollapsed('%c Convert Speed', 'color:orange');
		console.log('convert.Speed(19,"m/s","km/s"):', convert.Speed(19,"m/s","km/s"));
		console.log('convert.Speed(19,"s/light","km/s"): ', convert.Speed(19,"s/light","km/s"));
		console.log('convert.Speed(19,"ft/s","km/s"): ', convert.Speed(19,"ft/s","km/s"));
		console.log('convert.Speed(19,"ma","kn"): ', convert.Speed(19,"ma","kn"));
		console.groupEnd('%c Convert Speed', 'color:orange');
		
	</script>
</body>
</html>
<commit_msg>Update test.html<commit_after><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Convert JS - Test</title>
	<script src="../convert.js"></script>
</head>
<body>
	<p><em>Please have a look at the JavaScript Console</em></p>
	
	<script>
		// This is a simple conversion library
		
		// convert.Metric(data, source, target)
		console.group('%c Convert Metric', 'color:green');
		console.log('convert.Metric(1, "cm", "m"): ', convert.Metric(1, "cm", "m"));
		console.log('convert.Metric(1, "hm", "inch"): ', convert.Metric(1, "hm", "inch"));
		console.log('convert.Metric(1, "km", "mm"): ', convert.Metric(1, "km", "mm"));
		console.log('convert.Metric("string", "dam", "yard"): ', convert.Metric("string", "dam", "yard"));
		console.groupEnd('%c Convert Metric', 'color:green');
				
		// convert.DataUnits(data, source, target)
		console.groupCollapsed('%c Convert DataUnits', 'color:blue');
		console.log('convert.DataUnits(1, "mb", "kb"): ', convert.DataUnits(1, "mb", "kb"));
		console.log('convert.DataUnits(1, "byte", "tb"): ', convert.DataUnits(1, "byte", "tb"));
		console.log('convert.DataUnits("string", "gb", "pb"): ', convert.DataUnits("string", "gb", "pb"));
		console.groupEnd('%c Convert DataUnits', 'color:blue');
		
		// convert.Temperature(data, source, target)
		console.groupCollapsed('%c Convert Temperature', 'color:red');
		console.log('convert.Temperature(1, "c", "k"): ', convert.Temperature(1, "c", "k"));
		console.log('convert.Temperature(1, "n", "c"): ', convert.Temperature(1, "n", "c"));
		console.log('convert.Temperature(1, "f", "n"): ', convert.Temperature(1, "f", "n"));
		console.log('convert.Temperature("string", "k", "f"): ', convert.Temperature("string", "k", "f"));
		console.groupEnd('%c Convert Temperature', 'color:red');
		
		// convert.Angle(data, source, target)
		console.groupCollapsed('%c Convert Angle', 'color:brown');
		console.log('convert.Angle(100,"rad","second"): ', convert.Angle(100,"rad","second"));
		console.log('convert.Angle(1009,"deg","rad"): ', convert.Angle(1009,"deg","rad"));
		console.log('convert.Angle(1009,"grad","rad"): ', convert.Angle(1009,"grad","rad"));
		console.log('convert.Angle("string", "second", "grad"): ', convert.Angle("string", "second", "grad"));
		console.groupEnd('%c Convert Angle', 'color:brown');
		
		// convert.Time(data, source, target)
		console.groupCollapsed('%c Convert Time', 'color:gray');
		console.log('convert.Time(1, "hour", "minute"): ', convert.Time(1, "hour", "minute"));
		console.log('convert.Time(1, "week", "year"): ', convert.Time(1, "week", "year"));
		console.log('convert.Time(1009,"minute","year"): ', convert.Time(10,"minute","year"));
		console.log('convert.Time("string", "day", "century"): ', convert.Time("string", "day", "century"));
		console.groupEnd('%c Convert Time', 'color:gray');

		// convert.Astronomical(data, source, target)
		console.groupCollapsed('%c Convert Astronomical', 'color:aqua');
		console.log('convert.Astronomical(1, "lightSecond", "mile"): ', convert.Astronomical(1, "lightSecond", "mile"));
		console.log('convert.Astronomical(1, "au96", "lightYear_julian"): ', convert.Astronomical(1, "au96", "lightYear_julian"));
		console.log('convert.Astronomical(1, "km", "lightDay"): ', convert.Astronomical(1, "km", "lightDay"));
		console.log('convert.Astronomical("string", "lightYear_traditional", "m"): ', convert.Astronomical("string", "lightYear_traditional", "m"));
		console.groupEnd('%c Convert Astronomical', 'color:aqua');

		// convert.Speed(data, source, target)
		console.groupCollapsed('%c Convert Speed', 'color:orange');
		console.log('convert.Speed(19,"m/s","km/s"):', convert.Speed(19,"m/s","km/s"));
		console.log('convert.Speed(19,"s/light","km/s"): ', convert.Speed(19,"s/light","km/s"));
		console.log('convert.Speed(19,"ft/s","km/s"): ', convert.Speed(19,"ft/s","km/s"));
		console.log('convert.Speed(19,"ma","kn"): ', convert.Speed(19,"ma","kn"));
		console.groupEnd('%c Convert Speed', 'color:orange');
		
		// convert.Periodic(data)
		console.groupCollapsed('%c Convert Periodic', 'color:pink');
		console.log('convert.Periodic(10):', convert.Periodic(10));
		console.log('convert.Periodic(19): ', convert.Periodic(19));
		console.log('convert.Periodic(100): ', convert.Periodic(100));
		console.log('convert.Periodic(76): ', convert.Periodic(76));
		console.groupEnd('%c Convert Periodic', 'color:pink');
		
	</script>
</body>
</html>

{'fraction_non_alphanumeric': 0.24825299064313633, 'fraction_numerical': 0.019898140471396424, 'mean_word_length': 6.342608695652174, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '2042078', 'n_tokens_mistral': 3099, 'n_tokens_neox': 2926, 'n_words': 496}