<commit_before>$(function(){
    var tutorList = []; //store selected tutors
    var tutorCount = 0;

    //Forgot password on login modal
    $('a.forgot-password').click(function(){
        if($('.login-button').hasClass('disabled')){
            $('.forgot-email-form').slideUp(200);
            $('.login-modal-divider1').hide();
            $('.login-button').removeClass('disabled');
            $('.login-button').attr('disabled', false);
        }
        else {
            $('.forgot-email-form').slideDown(200);
            $('.login-modal-divider1').show();
            $('.login-button').addClass('disabled');
            $('.login-button').attr('disabled', true);
        }
    });
    //Show settings
    $('.settings').on('click', function(){
        $('.user-profile').fadeOut('fast');
        $('.user-settings').delay(500).fadeIn('slow');
        
    });

    //Show home
    $('.home').on('click', function(){
        $('.user-settings').fadeOut('fast');
        $('.user-profile').delay(500).fadeIn('slow');
    });
    //Show dropdown navigation
    $('a.logged-in-as').on('click',function(){
            $('div.submenu').slideToggle(30);
        }
    );
    $('.submenu').on('mouseleave', function(){
        $(this).slideUp(30);
    });

    //Category Select
    $('#categorySelect').change(function() {
        var category = $('select[name="category"]').val();<commit_msg>Bug Fix<commit_after>$(function(){
    var tutorList = []; //store selected tutors
    var tutorCount = 0;

    //Forgot password on login modal
    $('a.forgot-password').click(function(){
        if($('.login-button').hasClass('disabled')){
            $('.forgot-email-form').slideUp(200);
            $('.login-modal-divider1').hide();
            $('.login-button').removeClass('disabled');
            $('.login-button').attr('disabled', false);
        }
        else {
            $('.forgot-email-form').slideDown(200);
            $('.login-modal-divider1').show();
            $('.login-button').addClass('disabled');
            $('.login-button').attr('disabled', true);
        }
    });
    //Show settings
    $('.settings').on('click', function(){
        $('.user-profile').fadeOut('fast');
        $('.tutor-list').fadeOut('fast');
        $('.user-settings').delay(500).fadeIn('slow');
    });

    //Show home
    $('.home').on('click', function(){
        $('.user-settings').fadeOut('fast');
        $('.user-profile').delay(500).fadeIn('slow');
    });
    //Show dropdown navigation
    $('a.logged-in-as').on('click',function(){
            $('div.submenu').slideToggle(30);
        }
    );
    $('.submenu').on('mouseleave', function(){
        $(this).slideUp(30);
    });

    //Category Select
    $('#categorySelect').change(function() {
        var category = $('select[name="category"]').val();
{'fraction_non_alphanumeric': 0.23930717568045246, 'fraction_numerical': 0.01343230823612584, 'mean_word_length': 2.3412042502951596, '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': '6074668', 'n_tokens_mistral': 867, 'n_tokens_neox': 817, 'n_words': 107}