<commit_before><html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>

<style>

.meters {
    border: 1px solid black;
}

.controls {
	width: 150px;
	font-size: 32pt;
	text-align: center;
	padding: 15px;
	background-color: green;
	color: white;
}
</style>

<script>
function sendCommand(command)
{
	$.get('/', {command: command});
}

function keyPress(event){
	code = event.keyCode;
	if (code == 119) {
		sendCommand('f');
	}
	else if (code == 97) {
		sendCommand('l');
	}
	else if (code == 115) {
		sendCommand('s');
	}
	else if (code == 100) {
		sendCommand('r');
	}
	else if (code == 122) {
		sendCommand('b');
	}
}

$(document).keypress(keyPress);

</script>
</head>
<body>

<h1>Web Rover</h1>

<body>

<table align="center">
<tr><td></td><td class="controls" onClick="sendCommand('f');">W</td><td></td></tr>
<tr><td  class="controls" onClick="sendCommand('l');">A</td>
    <td  class="controls" onClick="sendCommand('s');">S</td>
    <td  class="controls" onClick="sendCommand('r');">D</td>
</tr>
<tr><td></td><td  class="controls" onClick="sendCommand('b');">Z</td><td></td></tr>
</table>


</body>
</html><commit_msg>tidied up<commit_after><html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>

<style>

.controls {
	width: 150px;
	font-size: 32pt;
	text-align: center;
	padding: 15px;
	background-color: green;
	color: white;
}
</style>

<script>
function sendCommand(command)
{
	$.get('/', {command: command});
}

function keyPress(event){
	code = event.keyCode;
	if (code == 119) {
		sendCommand('f');
	}
	else if (code == 97) {
		sendCommand('l');
	}
	else if (code == 115) {
		sendCommand('s');
	}
	else if (code == 100) {
		sendCommand('r');
	}
	else if (code == 122) {
		sendCommand('b');
	}
}

$(document).keypress(keyPress);

</script>
</head>
<body>

<h1>Web Rover</h1>

<table align="center">
<tr><td></td><td class="controls" onClick="sendCommand('f');">W</td><td></td></tr>
<tr><td  class="controls" onClick="sendCommand('l');">A</td>
    <td  class="controls" onClick="sendCommand('s');">S</td>
    <td  class="controls" onClick="sendCommand('r');">D</td>
</tr>
<tr><td></td><td  class="controls" onClick="sendCommand('b');">Z</td><td></td></tr>
</table>


</body>
</html>
{'fraction_non_alphanumeric': 0.24725274725274726, 'fraction_numerical': 0.02324598478444632, 'mean_word_length': 4.815724815724816, 'pattern_counts': {'":': 0, '<': 84, '<?xml version=': 0, '>': 84, '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': '5490990', 'n_tokens_mistral': 993, 'n_tokens_neox': 931, 'n_words': 170}