<commit_before>var title = document.querySelector("title");
if (title!=null){
	var observer = new MutationObserver(function(mutations){
		mutations.forEach(function(mutation){
			if (mutation.addedNodes.length===0 && mutation.removedNodes.length===0){
				var newTitle = mutation.addedNodes[0].nodeValue;
				var oldTitle = mutation.removedNodes[0].nodeValue;
				chrome.runtime.sendMessage({"titleChange":{"newTitle":newTitle,"oldTitle":oldTitle}});
			}
		});
	});
	observer.observe(title,{childList:true,characterData:true,characterDataOldValue:true});
}<commit_msg>Fix typo with MutationObserver length<commit_after>var title = document.querySelector("title");
if (title!=null){
	var observer = new MutationObserver(function(mutations){
		mutations.forEach(function(mutation){
			if (mutation.addedNodes.length===1 && mutation.removedNodes.length===1){
				var newTitle = mutation.addedNodes[0].nodeValue;
				var oldTitle = mutation.removedNodes[0].nodeValue;
				chrome.runtime.sendMessage({"titleChange":{"newTitle":newTitle,"oldTitle":oldTitle}});
			}
		});
	});
	observer.observe(title,{childList:true,characterData:true,characterDataOldValue:true});
}
{'fraction_non_alphanumeric': 0.1566265060240964, 'fraction_numerical': 0.0068846815834767644, 'mean_word_length': 7.366906474820144, 'pattern_counts': {'":': 6, '<': 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': '2438483', 'n_tokens_mistral': 388, 'n_tokens_neox': 350, 'n_words': 46}