<commit_before>$(function() { //shorthand document.ready function
    $('.apiform').on('submit', function(e) { //use on if jQuery 1.7+
        e.preventDefault();  //prevent form from submitting
        var data = $("#login_form :input").serializeArray();
        console.log(data); //use the console for debugging, F12 in Chrome, not alerts
    });
});<commit_msg>Updating JS with debug code<commit_after>$(function() { //shorthand document.ready function
    $('.apiform').on('submit', function(e) { //use on if jQuery 1.7+
        e.preventDefault();  //prevent form from submitting
        var data = $(".apiform :input").serializeArray();
        console.log(data); //use the console for debugging, F12 in Chrome, not alerts
    });
});
{'fraction_non_alphanumeric': 0.16464237516869096, 'fraction_numerical': 0.010796221322537112, 'mean_word_length': 3.313953488372093, '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': '4508189', 'n_tokens_mistral': 214, 'n_tokens_neox': 205, 'n_words': 66}