<commit_before>$(function () {

    $.get('/index/stats', function (data) {
        var data = data.data
        $('#jqcloud-sad').jQCloud(data['sad'], {
            height: 200
        });
        $('#jqcloud-happy').jQCloud(data['happy'], {
            height: 200
        });

    });


    $('#answer').hide();
    $("#why").keydown(function (event) {
        if (event.keyCode == 32) {
            event.preventDefault();
        }
    });
    $('.answer').click(function (event) {
        event.preventDefault();
        $('#answer-input').val($(this).attr('data-is'));
        var data = $('#question-form').serialize();
        $.ajax({
            'url': '/index/answer/',
            'data': data,
            'type': 'post',
            'dataType': 'json',
            success: function (data) {
                $('#question').hide('slow');
                $('#answer').show('slow');
            }
        })
    });
});<commit_msg>spaced allowed<commit_after>$(function () {

    $.get('/index/stats', function (data) {
        var data = data.data
        $('#jqcloud-sad').jQCloud(data['sad'], {
            height: 200
        });
        $('#jqcloud-happy').jQCloud(data['happy'], {
            height: 200
        });

    });


    $('#answer').hide();
    /*
     $("#why").keydown(function (event) {
     if (event.keyCode == 32) {
     event.preventDefault();
     }
     });
     */
    $('.answer').click(function (event) {
        event.preventDefault();
        $('#answer-input').val($(this).attr('data-is'));
        var data = $('#question-form').serialize();
        $.ajax({
            'url': '/index/answer/',
            'data': data,
            'type': 'post',
            'dataType': 'json',
            success: function (data) {
                $('#question').hide('slow');
                $('#answer').show('slow');
            }
        })
    });
});
{'fraction_non_alphanumeric': 0.2242199894235854, 'fraction_numerical': 0.008461131676361713, 'mean_word_length': 1.6424581005586592, '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': '2800362', 'n_tokens_mistral': 569, 'n_tokens_neox': 546, 'n_words': 83}