<commit_before>$(function () {
    $('[data-toggle="tooltip"]').tooltip();
});

$(function () {
    $(".collapse-button").click(function () {
        $(".collapse-button").toggleClass("glyphicon-chevron-down glyphicon-chevron-up")
    })
});<commit_msg>Make collapse button respond better to repeated clicks<commit_after>$(function () {
    $('[data-toggle="tooltip"]').tooltip();
});

function toggleChevron(e) {
    $(".collapse-button").toggleClass('glyphicon-chevron-down glyphicon-chevron-up');
}
$('.collapse').on('hidden.bs.collapse', toggleChevron);
$('.collapse').on('shown.bs.collapse', toggleChevron);

{'fraction_non_alphanumeric': 0.2300163132137031, 'fraction_numerical': 0.0, 'mean_word_length': 5.395833333333333, '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': '4511685', 'n_tokens_mistral': 200, 'n_tokens_neox': 189, 'n_words': 23}