<commit_before><script src='http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js'></script>
<script>
	$(".search-hide").click(function() {
		$(this).parent().parent().hide(300);
	});
	$("#search-toggle").click(function() {
		$("#search-simple").toggle(300);
		$("#search-advanced").toggle(300);
	});
	$("#search-field-select").change(function() {
		$("#" + $(this).val()).show(300);
		$(this).val("default");
	});
</script><commit_msg>add behavior to clear advanced search fields when they are dismissed<commit_after><script src='http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js'></script>
<script>
	$(".search-hide").click(function() {
		$(this).parent().parent().hide(300);
		$(this).siblings(".advanced-input").val("");
	});
	$("#search-toggle").click(function() {
		$("#search-simple").toggle(300);
		$("#search-advanced").toggle(300);
	});
	$("#search-field-select").change(function() {
		$("#" + $(this).val()).show(300);
		$(this).val("default");
	});
</script>
{'fraction_non_alphanumeric': 0.2917505030181087, 'fraction_numerical': 0.030181086519114688, 'mean_word_length': 5.461038961038961, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '2514904', 'n_tokens_mistral': 367, 'n_tokens_neox': 343, 'n_words': 34}