<commit_before>//sponsors.js
// Handles the swapping of sponsor images on the homepage

$(document).ready(function(){
    var images = [
        'resources/images/sponsorLogos/ritLarge.png',
        'resources/images/sponsorLogos/symantec.png',
        'resources/images/sponsorLogos/att.png',
        'resources/images/sponsorLogos/datto.png',
        'resources/images/sponsorLogos/UofR.png',
        'resources/images/sponsorLogos/linkedin.png',
        'resources/images/sponsorLogos/microsoft.png',
        'resources/images/sponsorLogos/cisco.png',
        'resources/images/sponsorLogos/google.png',
        'resources/images/sponsorLogos/hp.png',
        'resources/images/sponsorLogos/johnsonjohnson.png',
        'resources/images/sponsorLogos/lourdesindustries.png',
        'resources/images/sponsorLogos/mooreresearchcenter.png',
        'resources/images/sponsorLogos/intergraph.png',
        'resources/images/sponsorLogos/nortel.png',
        'resources/images/sponsorLogos/janestreet.png',
        'resources/images/sponsorLogos/northropgrumman.png',
        'resources/images/sponsorLogos/pt.png',
        'resources/images/sponsorLogos/oracle.png',
        'resources/images/sponsorLogos/perforce.png',
        'resources/images/sponsorLogos/cadence.png',
        'resources/images/sponsorLogos/podi.png',
        'resources/images/sponsorLogos/dupont.png',
        'resources/images/sponsorLogos/amdex.png',
        'resources/images/sponsorLogos/ti.png',
        'resources/images/sponsorLogos/xerox.png',
        'resources/images/sponsorLogos/citrix.png',
        'resources/images/sponsorLogos/fxcm.png'    
    ];
    
     var used = [];
    for(i=1;i<29;i++){
        var item = images[Math.floor(Math.random()*images.length)];
        
        if(images.indexOf(item) >= 0){
            $('#sponsor'+i).attr("src", item);
            used.push(item);
        }
        
        
        
    }
    <commit_msg>Bug Fix<commit_after>//sponsors.js
// Handles the swapping of sponsor images on the homepage

$(document).ready(function(){
    var images = [
        'resources/images/sponsorLogos/ritLarge.png',
        'resources/images/sponsorLogos/symantec.png',
        'resources/images/sponsorLogos/att.png',
        'resources/images/sponsorLogos/datto.png',
        'resources/images/sponsorLogos/UofR.png',
        'resources/images/sponsorLogos/linkedin.png',
        'resources/images/sponsorLogos/microsoft.png',
        'resources/images/sponsorLogos/cisco.png',
        'resources/images/sponsorLogos/google.png',
        'resources/images/sponsorLogos/hp.png',
        'resources/images/sponsorLogos/johnsonjohnson.png',
        'resources/images/sponsorLogos/lourdesindustries.png',
        'resources/images/sponsorLogos/mooreresearchcenter.png',
        'resources/images/sponsorLogos/intergraph.png',
        'resources/images/sponsorLogos/nortel.png',
        'resources/images/sponsorLogos/janestreet.png',
        'resources/images/sponsorLogos/northropgrumman.png',
        'resources/images/sponsorLogos/pt.png',
        'resources/images/sponsorLogos/oracle.png',
        'resources/images/sponsorLogos/perforce.png',
        'resources/images/sponsorLogos/cadence.png',
        'resources/images/sponsorLogos/podi.png',
        'resources/images/sponsorLogos/dupont.png',
        'resources/images/sponsorLogos/amdex.png',
        'resources/images/sponsorLogos/ti.png',
        'resources/images/sponsorLogos/xerox.png',
        'resources/images/sponsorLogos/citrix.png',
        'resources/images/sponsorLogos/fxcm.png'    
    ];
    
     var used = [];
    for(i=0;i<29;i++){
        var item = images[Math.floor(Math.random()*images.length)];
        
        if($.inArray(item,used) == -1){
            $('#sponsor'+i).attr("src", item);
            used.push(item);
        }
        
        
        
    }
    
{'fraction_non_alphanumeric': 0.13924050632911392, 'fraction_numerical': 0.0020666494445879618, 'mean_word_length': 2.649387370405278, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, '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': '205628', 'n_tokens_mistral': 1335, 'n_tokens_neox': 1250, 'n_words': 105}