<commit_before>
init();



function init()
{
	// Enable toggle of syntax panel
	document.getElementById('syntax_toggle').onclick = function()
	{
		if (elById('syntax').style.display == 'block')
		{
			elById('syntax').style.display = 'none';
			window.location.hash = '';
		}
		else
		{
			elById('syntax').style.display = 'block';
			window.location.hash = '#showsyntax';
		}
		return false;
	}
	
	// Open syntax panel if requested
	if (window.location.hash === '#showsyntax')
	{
		elById('syntax').style.display = 'block';
	}
}


function elById(el_id)
{
	return document.getElementById(el_id);
}


<commit_msg>auto-focus on the query<commit_after>
init();



function init()
{
	// Auto-focus query field
	elById('query').focus();
	
	// Enable toggle of syntax panel
	document.getElementById('syntax_toggle').onclick = function()
	{
		if (elById('syntax').style.display == 'block')
		{
			elById('syntax').style.display = 'none';
			window.location.hash = '';
		}
		else
		{
			elById('syntax').style.display = 'block';
			window.location.hash = '#showsyntax';
		}
		return false;
	}
	
	// Open syntax panel if requested
	if (window.location.hash === '#showsyntax')
	{
		elById('syntax').style.display = 'block';
	}
}


function elById(el_id)
{
	return document.getElementById(el_id);
}



{'fraction_non_alphanumeric': 0.17195972114639815, 'fraction_numerical': 0.0, 'mean_word_length': 3.7153284671532845, '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': '6111710', 'n_tokens_mistral': 489, 'n_tokens_neox': 435, 'n_words': 83}