<commit_before>if (/^Wikipedia:頁面存廢討論\/記錄\/\d+\/\d+\/\d+$/.test(mw.config.get('wgPageName'))) {
	var cntall = 0;
	var cntdel = 0;
	var cntcls = 0;
	for (var i = 1; document.getElementsByClassName("tocsection-"+i)[0] !== undefined; i++) {
		var toc = document.getElementsByClassName("tocsection-"+i)[0];
		var title = toc.children[0].href.substr(toc.children[0].href.indexOf("#")+1);
		if (toc.children[1] !== undefined) continue;
		cntall ++;
		article = document.getElementById(title);
		if (article.parentNode.nextElementSibling.nodeName === "DIV") {
			toc.children[0].children[1].style["color"] = "#000000";
			toc.children[0].children[1].style["font-weight"] = "bold";
			cntcls ++;
		} else if (article.children[0].classList.contains('new')) {
			toc.children[0].children[1].style["color"] = "#ba0000";
			cntdel ++;
		}
	}<commit_msg>AFD-stats fix no link section<commit_after>if (/^Wikipedia:頁面存廢討論\/記錄\/\d+\/\d+\/\d+$/.test(mw.config.get('wgPageName'))) {
	var cntall = 0;
	var cntdel = 0;
	var cntcls = 0;
	for (var i = 1; document.getElementsByClassName("tocsection-"+i)[0] !== undefined; i++) {
		var toc = document.getElementsByClassName("tocsection-"+i)[0];
		var title = toc.children[0].href.substr(toc.children[0].href.indexOf("#")+1);
		if (toc.children[1] !== undefined) continue;
		cntall ++;
		article = document.getElementById(title);
		if (article.parentNode.nextElementSibling.nodeName === "DIV") {
			toc.children[0].children[1].style["color"] = "#000000";
			toc.children[0].children[1].style["font-weight"] = "bold";
			cntcls ++;
		} else if (article.children[0] !== undefined && article.children[0].classList.contains('new')) {
			toc.children[0].children[1].style["color"] = "#ba0000";
			cntdel ++;
		}
	}
{'fraction_non_alphanumeric': 0.2219020172910663, 'fraction_numerical': 0.03170028818443804, 'mean_word_length': 4.691803278688525, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1242449', 'n_tokens_mistral': 719, 'n_tokens_neox': 647, 'n_words': 96}