<commit_before>$.ajaxSetup ({
    cache: false
});
var ajax_load = "<img src='./ui/img/ajax-loader.gif' alt='loading...' />";

addIdsToEditPane = function(str){
    if ($("#importers").width() > 340){
        $("#pullers")
            .animate({
                "margin-top": 0,
                left: 0
            }, 1000)
            .parent().siblings(" #edit-collection")
            .animate({
                width: "340px",
                "padding-right": "40px"
            }, 1000)
            .siblings("#importers")
            .animate({
                width: "340px"
            }, 1000, function(){
                return addIdsToEditPane(str);
            })
    }
    else {
        returnedIds = str.split("\n");
        var len = returnedIds.length
        for (i=0; i<len; i++) {
          returnedIds[i] = "<li><a class='remove' href='#'>remove</a><span class='object-id'>"+returnedIds[i]+"</span></li>";
        }
        $("ul#collection-list").append($(returnedIds.join("")).hide().fadeIn(1000));
        $("#artcounter span.count")
            .text($("ul#collection-list li").size())
            .css("color", "#933")
            .animate({"color": "#333"}, 1000)
        return true;
    }

}

$(document).ready(function(){
    <commit_msg>prepends IDs to edit pane instead of appending<commit_after>$.ajaxSetup ({
    cache: false
});
var ajax_load = "<img src='./ui/img/ajax-loader.gif' alt='loading...' />";

addIdsToEditPane = function(str){
    if ($("#importers").width() > 340){
        $("#pullers")
            .animate({
                "margin-top": 0,
                left: 0
            }, 1000)
            .parent().siblings(" #edit-collection")
            .animate({
                width: "340px",
                "padding-right": "40px"
            }, 1000)
            .siblings("#importers")
            .animate({
                width: "340px"
            }, 1000, function(){
                return addIdsToEditPane(str);
            })
    }
    else {
        returnedIds = str.split("\n");
        var len = returnedIds.length
        for (i=0; i<len; i++) {
          returnedIds[i] = "<li><a class='remove' href='#'>remove</a><span class='object-id'>"+returnedIds[i]+"</span></li>";
        }
        $("ul#collection-list").prepend(
            $(returnedIds.join("")).hide().fadeIn(1000)
        );
        $("#artcounter")
//            .css("background-color", "#b20")
//            .animate({"background-color": "#eeeeee"}, 1000)
            .find("span.count")
            .text($("ul#collection-list li").size())
        return true;
    }

}

$(document).ready(function(){
    
{'fraction_non_alphanumeric': 0.19644208932626797, 'fraction_numerical': 0.028766086298258896, 'mean_word_length': 1.7052200614124873, 'pattern_counts': {'":': 6, '<': 19, '<?xml version=': 0, '>': 19, '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': '4465049', 'n_tokens_mistral': 875, 'n_tokens_neox': 784, 'n_words': 136}