<commit_before>$('#msgTrigger').on('click', function (e) {
    var msg = $('#inputArg').val();
    var payload = new Array();
    payload['arg'] = msg;
    $('#inputArg').val("");
    $("#messageQueue").prepend("<div class=\"message_container\"><div class=\"message_user\">" + msg + "</div></div>");
    //$.post("api/v1/post", {arg: msg}, function(result){
    //    $("#messageQueue").prepend("<div class=\"message_container\"><div class=\"message_jeff\">" + result + "</div></div>");
    //});
    $.ajax({
        type: "POST",
        url: "api/v1/post",
        data: payload,
        timeout: 20000,
        success: function(result, status, xhr){
            $("#messageQueue").prepend("<div class=\"message_container\"><div class=\"message_jeff\">" + result + "</div></div>");
        }
    });
})<commit_msg>Reverting back to old code<commit_after>$('#msgTrigger').on('click', function (e) {
    var msg = $('#inputArg').val();
    //var payload = new Array();
    //payload['arg'] = msg;
    $('#inputArg').val("");
    $("#messageQueue").prepend("<div class=\"message_container\"><div class=\"message_user\">" + msg + "</div></div>");
    $.post("api/v1/post", {arg: msg}, function(result){
        $("#messageQueue").prepend("<div class=\"message_container\"><div class=\"message_jeff\">" + result + "</div></div>");
    });
    //$.ajax({
    //    type: "POST",
    //    url: "api/v1/post",
    //    data: payload,
    //    timeout: 20000,
    //    success: function(result, status, xhr){
    //        $("#messageQueue").prepend("<div class=\"message_container\"><div class=\"message_jeff\">" + result + "</div></div>");
    //    }
    //});
})
{'fraction_non_alphanumeric': 0.26426426426426425, 'fraction_numerical': 0.008408408408408409, 'mean_word_length': 2.9952038369304557, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '6185493', 'n_tokens_mistral': 523, 'n_tokens_neox': 524, 'n_words': 94}