<commit_before><html>
<head>
	<title>Search</title>
	<style type="text/css">
		html{
			font-size: 62.5%;
		}

		body{
			font-family: "Helvetica Neue", sans-serif;
			font-weight: lighter;
		}

		input:focus{
			outline: none;
		}

		::-webkit-input-placeholder{
			text-align: center;
		}

		::-moz-placeholder{
			text-align: center;
		}

		:-ms-input-placeholder{
			text-align: center;
		}

		.contain{
			display: -webkit-flex;
			display: -moz-flex;
			display: -ms-flex;
			display: flex;
			-webkit-align-items: center;
			-moz-align-items: center;
			-ms-align-items: center;
			align-items: center;
			-webkit-justify-content: center;
			-moz-justify-content: center;
			-ms-justify-content: center;
			justify-content: center;
			width: 100%;
			height: 100%;
		}

		.search{
			font-family: "Helvetica Neue", sans-serif;
			font-weight: lighter;
			font-size: 4rem;
			max-width: 100%;
			border: none;
		}
	</style>
	<script type="text/javascript">
	document.addEventListener("DOMContentLoaded", function(event) {
		document.getElementById("searchform").addEventListener("submit", function(event){
			event.preventDefault();
			var str = document.getElementById('search').value;
			if (str.match(/\.[a-z]+$/) || str.match(/^[a-zA-Z]+[:\/\/]+/)) {
				if (!! str.match(/^[a-zA-Z]+\./)) {
					window.location = "http://www." + str;
				} else {
					window.location = str;
				}
			} else {
				window.location = "https://www.google.ca/search?client=ChromeSafariFox&rls=en&q=" + encodeURI(str);
			}
		});
	});
	</script>
	<meta name="viewport" content="width=device-width, user-scalable=no">
</head>
<body>
	<div class="contain"><commit_msg>working on fixing url handling and search escaping<commit_after><html>
<head>
	<title>Search</title>
	<style type="text/css">
		html{
			font-size: 62.5%;
		}

		body{
			font-family: "Helvetica Neue", sans-serif;
			font-weight: lighter;
		}

		input:focus{
			outline: none;
		}

		::-webkit-input-placeholder{
			text-align: center;
		}

		::-moz-placeholder{
			text-align: center;
		}

		:-ms-input-placeholder{
			text-align: center;
		}

		.contain{
			display: -webkit-flex;
			display: -moz-flex;
			display: -ms-flex;
			display: flex;
			-webkit-align-items: center;
			-moz-align-items: center;
			-ms-align-items: center;
			align-items: center;
			-webkit-justify-content: center;
			-moz-justify-content: center;
			-ms-justify-content: center;
			justify-content: center;
			width: 100%;
			height: 100%;
		}

		.search{
			font-family: "Helvetica Neue", sans-serif;
			font-weight: lighter;
			font-size: 4rem;
			max-width: 100%;
			border: none;
		}
	</style>
	<script type="text/javascript">
	document.addEventListener("DOMContentLoaded", function(event) {
		document.getElementById("searchform").addEventListener("submit", function(event){
			event.preventDefault();
			var str = document.getElementById('search').value;
			if (str.match(/^[a-zA-Z]+[:\/\/]+/) || str.match(/\.[a-z]+$/) && !str.match(/^[?]+/)) {
				if (!! str.match(/^[a-zA-Z]+\./)) {
					window.location = "http://www." + str;
				} else {
					window.location = str;
				}
			} else {
				if (str.match(/^[?]+/)){
					str = str.slice(1);
					str = str.trim();
				}
				window.location = "https://www.google.ca/search?client=ChromeSafariFox&rls=en&q=" + encodeURI(str);
			}
		});
	});
	</script>
	<meta name="viewport" content="width=device-width, user-scalable=no">
</head>
<body>
	<div class="contain">
{'fraction_non_alphanumeric': 0.19490298291340863, 'fraction_numerical': 0.007819287576020852, 'mean_word_length': 3.1168057210965436, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, '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': '6663092', 'n_tokens_mistral': 1538, 'n_tokens_neox': 1262, 'n_words': 221}