<commit_before><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
	"http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<script src="scripts/simple-common.js"></script>
		<script>
			// this function just appends a message to the page for demo
			// purposes.
			function append(message, data) {
				var text = document.createTextNode(message + " " + data + "\n");
				var output = document.getElementById("output");
				
				output.appendChild(text);
			}
			function created(e) {
				// demonstrate synchronous loading
				var m = require("scripts/module.js");
				
				append("Loading module synchronously. Result:", m);
				
				// demonstrate asynchronous loading
				require("scripts/module.js", function(m) {
					append("Loading module asynchronously. Result:", m);
				});
			}
		</script>
	</head>
	
	<body onload="created(event);">
		<pre id="output"></pre>
	</body>
</html><commit_msg>fixed formatting for example code<commit_after><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
	"http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<style>
			.result {
				display: inline;
			}
		</style>
		
		<script src="scripts/simple-common.js"></script>
		<script>
			// this function just appends a message to the page for demo
			// purposes.
			function append(message, data) {
				var node = document.createElement("p")
				var message = document.createTextNode(message + " ");
				var result = document.createElement("pre");
				var resultText = document.createTextNode(data);
				
				result.setAttribute("class", "result");
				
				result.appendChild(resultText);
				
				node.appendChild(message);
				node.appendChild(result);
				
				document.body.appendChild(node);
			}
			function created(e) {
				// demonstrate synchronous loading
				var m = require("scripts/module.js");
				
				append("Loading module synchronously. Result:", m);
				
				// demonstrate asynchronous loading
				require("scripts/module.js", function(m) {
					append("Loading module asynchronously. Result:", m);
				});
			}
		</script>
	</head>
	
	<body onload="created(event);"></body>
</html>
{'fraction_non_alphanumeric': 0.15714285714285714, 'fraction_numerical': 0.005714285714285714, 'mean_word_length': 3.103515625, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '7602969', 'n_tokens_mistral': 811, 'n_tokens_neox': 623, 'n_words': 148}