<commit_before><!DOCTYPE html>
<html>
  <head>
    <title>testling.html</title>
  </head>
  <body>
  <script>
console.log("start test\n" +
"1..29 \n" +
"ok 1 du should inherit or have copied over the functions from document \n" +
"ok 2 du .toArray should convert an array-like to an array \n" +
"ok 3 du .each should iterate through an array-like \n" +
"ok 4 du .each should return an array of results \n" +
"ok 5 du .id should be equivalent to document.getElementById \n" +
"ok 6 du .tag should be equivalent to document.getElementsByTagName \n" +
"ok 7 du .tag should work with elements too \n" +
"ok 8 du .className should be equivalent to document.getElementsByClassName \n" +
"ok 9 du .className should work with elements too \n" +
"ok 10 du .qs should be equivalent to document.querySelector \n" +
"ok 11 du .qs should work with elements too \n" +
"ok 12 du .qsa should be equivalent to document.querySelectorAll \n" +
"ok 13 du .qsa should work with elements too \n" +
"ok 14 du .event should attach an event to window \n" +
"ok 15 du .event should work on elements too \n" +
"ok 16 du .rmEvent should remove an attached event to window \n" +
"ok 17 du .rmEvent should work on elements too \n" +
"ok 18 du .click should add a click event to window \n" +
"ok 19 du .click should work on elements too \n" +
"ok 20 du .clear should remove all child nodes \n" +
"ok 21 du .setChild should set the child of a node \n" +
"ok 22 du .textNode should be equivalent to document.createTextNode \n" +
"ok 23 du .prepend should prepend to a node \n" +
"ok 24 du .append should append to a node \n" +
"ok 25 du .remove should remove a node \n" +
"ok 26 du .insertAfter should insert a node after a reference node \n" +
"ok 27 du .setText should set the text of a node \n" +
"ok 28 du .addClass should add a class to an element \n" +
"ok 29 du .rmClass should remove a class from an element\n" +
"# tests 29\n" +
"# pass 29\n" +
"# fail 0");
</script>

</body>
</html><commit_msg>That worked, check if it was the charset<commit_after><!DOCTYPE html>
<html lang="en">
<head>
<title></title>
<link rel="stylesheet" href="mocha.css">
</head>
<body>
<div id="test">
	<div id="a" class="test-class"><div id="b" class="test-class"></div></div>
	<div id="clear-test">
		<div></div>
		<div></div>
	</div>
	<div id="setChild-test">
		<div></div>
		<div></div>
	</div>
	<div id="insertAfter-test"><div id="insertAfter-ref"></div></div>
	<div id="prepend-test">bar</div>
	<div id="append-test">bar</div>
	<div id="setText-test"><div></div>foo</div>
	<div id="class-test" class="foo"></div>
	<div id="remove-test"></div>
</div>
<div id="mocha"></div>
<script src="../du.js"></script>
<script src="assert.js"></script>
<script src="mocha.js"></script>
<script>
mocha.setup('bdd');
</script>
<script src="test.js"></script>
<script>
mocha.checkLeaks();
mocha.run(function() {
	mocha.reporter('tap');
	mocha.run();
});
</script>

</body>
</html>
{'fraction_non_alphanumeric': 0.16290212183436004, 'fraction_numerical': 0.019507186858316223, 'mean_word_length': 3.831404958677686, 'pattern_counts': {'":': 0, '<': 72, '<?xml version=': 0, '>': 72, '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': '2043530', 'n_tokens_mistral': 1082, 'n_tokens_neox': 1009, 'n_words': 402}