<commit_before>$(document).ready(function() {

    hide_frequency();
    $("#id_repeats_0").click(function() {
		if ($("#id_count").val() > 1) {
			show_frequency();
		} else {
			hide_frequency();
		}
	});
    $("#id_count").change(function() {
		if ($("#id_count").val() > 1) {
			show_frequency();
		} else {
			hide_frequency();
		}
	});
	$("#id_repeats_1").click(show_frequency);
    $("#id_day").datepicker();
    $("#id_until").datepicker();
});

function hide_frequency() {
    $("#frequency").hide();
}

function show_frequency() {
    $("#frequency").show();
}<commit_msg>For Occurrences checking, switching event listening to keyup from change for a snappier experience<commit_after>$(document).ready(function() {

    hide_frequency();
    $("#id_repeats_0").click(function() {
		if ($("#id_count").val() > 1) {
			show_frequency();
		} else {
			hide_frequency();
		}
	});
    $("#id_count").keyup(function() {
		if ($("#id_count").val() > 1) {
			show_frequency();
		} else {
			hide_frequency();
		}
	});
	$("#id_repeats_1").click(show_frequency);
    $("#id_day").datepicker();
    $("#id_until").datepicker();
});

function hide_frequency() {
    $("#frequency").hide();
}

function show_frequency() {
    $("#frequency").show();
}
{'fraction_non_alphanumeric': 0.23637820512820512, 'fraction_numerical': 0.00641025641025641, 'mean_word_length': 4.2478991596638656, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '122766', 'n_tokens_mistral': 454, 'n_tokens_neox': 427, 'n_words': 63}