<commit_before>var fileDownload = function(siafile){
    var $a = $("<a>", {
        href: 'data:attachment/sia,' + siafile.content,
        target: '_blank',
        download: siafile.filename,
        text: siafile.filename
    });

    $("#" + siafile.title).append($a);
};

$.get("/api/siafile/", function(data){
    for (var i = 0; i < data.length; i++){
        var siafile = data[i];
        var uploadDate = new Date(siafile.uploadedTime);
        $('.siafile-table').append("<tr><td>" + siafile.title + "</td><td>" + siafile.description + "</td><td>" + siafile.tags + "</td><td>" + uploadDate.toLocaleString() + "<td id='" + siafile.title + "'></td></tr>");
        fileDownload(siafile);

    }
})
<commit_msg>Switched td id to something unique<commit_after>var fileDownload = function(siafile){
    var $a = $("<a>", {
        href: 'data:attachment/sia,' + siafile.content,
        target: '_blank',
        download: siafile.filename,
        text: siafile.filename
    });

    $("#" + siafile.Id).append($a);
};

$.get("/api/siafile/", function(data){
    for (var i = 0; i < data.length; i++){
        var siafile = data[i];
        var uploadDate = new Date(siafile.uploadedTime);
        $('.siafile-table').append("<tr><td>" + siafile.title + "</td><td>" + siafile.description + "</td><td>" + siafile.tags + "</td><td>" + uploadDate.toLocaleString() + "<td id='" + siafile.Id + "'></td></tr>");
        fileDownload(siafile);

    }
})

{'fraction_non_alphanumeric': 0.21993127147766323, 'fraction_numerical': 0.0013745704467353953, 'mean_word_length': 2.9565217391304346, 'pattern_counts': {'":': 0, '<': 29, '<?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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1956431', 'n_tokens_mistral': 495, 'n_tokens_neox': 490, 'n_words': 95}