<commit_before>
function pullFile(path, callback)
{
	var xhr = new XMLHttpRequest();
	xhr.open('GET', path, false);
	
	xhr.onreadystatechange = function()
	{
		if (xhr.readyState != 4) return ;
		
		callback(xhr.response);
	};
	
	xhr.send();
}

function pullPage(path, callback)
{
	var xhr = new XMLHttpRequest();
	xhr.open('GET', path + '.html');
	xhr.responseType = 'document';
	
	xhr.onreadystatechange = function()
	{
		if (xhr.readyState != 4) return ;
		
		parsePage(xhr.responseXML, callback);
	};<commit_msg>Remove a redundant code: no need to synchronize XHR<commit_after>
function pullFile(path, callback)
{
	var xhr = new XMLHttpRequest();
	xhr.open('GET', path);
	
	xhr.onreadystatechange = function()
	{
		if (xhr.readyState != 4) return ;
		
		callback(xhr.response);
	};
	
	xhr.send();
}

function pullPage(path, callback)
{
	var xhr = new XMLHttpRequest();
	xhr.open('GET', path + '.html');
	xhr.responseType = 'document';
	
	xhr.onreadystatechange = function()
	{
		if (xhr.readyState != 4) return ;
		
		parsePage(xhr.responseXML, callback);
	};
{'fraction_non_alphanumeric': 0.1561618062088429, 'fraction_numerical': 0.0037629350893697085, 'mean_word_length': 4.165048543689321, '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': '2832965', 'n_tokens_mistral': 424, 'n_tokens_neox': 381, 'n_words': 85}