<commit_before>function init() {
	var sm = document.querySelector("#navigation-sidemenu");
	var smitems = sm.querySelectorAll(".menu > li:not(.divider) > a");
	for (var i = 0; i < smitems.length; i++) {
		smitems[i].addEventListener("click", function() {
			if (document.body.clientWidth < 800) {
				SideMenu.hide(sm);
			}
			for (var ind = 0; ind < smitems.length; ind++) {
				smitems[ind].parentNode.className = "";
			}
			this.parentNode.className = "selected color-blue-500";
			document.querySelector(".main-content").scrollTop = 0;
		});
	}
}
window.addEventListener("DOMContentLoaded", function() {
	if ((window.location.hash == "") || (document.querySelector(".navigation-section" + window.location.hash) == null)) {
		window.location.hash = "#introduction";
	}
	document.querySelector("#navigation-sidemenu a[href='" + window.location.hash + "']").parentNode.className = "selected color-blue-500";
	init();
});
<commit_msg>Minor changes to the Demo file<commit_after>function init() {
	var sm = document.getElementById("navigation-sidemenu");
	var smitems = sm.querySelectorAll(".menu > li:not(.divider) > a");
	for (var i = 0; i < smitems.length; i++) {
		smitems[i].addEventListener("click", function() {
			if (Responsive.device != "desktop") {
				SideMenu.hide(sm);
			}
			for (var ind = 0; ind < smitems.length; ind++) {
				smitems[ind].parentNode.className = "";
			}
			this.parentNode.className = "selected color-blue-500";
			document.querySelector(".main-content").scrollTop = 0;
		});
	}
}
window.addEventListener("DOMContentLoaded", function() {
	if ((window.location.hash == "") || (document.querySelector(".navigation-section" + window.location.hash) == null)) {
		window.location.hash = "#introduction";
	}
	document.querySelector("#navigation-sidemenu a[href='" + window.location.hash + "']").parentNode.className = "selected color-blue-500";
	init();
});

{'fraction_non_alphanumeric': 0.18802966101694915, 'fraction_numerical': 0.011122881355932203, 'mean_word_length': 4.572271386430678, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 7, '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': '5479170', 'n_tokens_mistral': 642, 'n_tokens_neox': 596, 'n_words': 109}