<commit_before>var CSS_COLOR_NAMES = ["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","ForestGreen","Fuchsia","Gainsboro","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","Yellow","YellowGreen"];
var color
function init(){
    color=CSS_COLOR_NAMES[Math.floor((Math.random() * CSS_COLOR_NAMES.length) + 1)].toLowerCase();
    var i,random_number,random_counter,move,game_name,random_init;
    var random_list=[];
    random_counter=0
    game_name=document.getElementById("game_name");
    game_name.style.color=color;
    move=document.getElementById("move");
    random_init=0
    while(random_init<10){
       random_init=Math.floor((Math.random() * 15) + 1); 
    }
    while(random_counter<random_init){
        random_number=Math.floor((Math.random() * 25) + 1);
        if (random_list.indexOf(random_number)<0){
            random_list.push(random_number);
            random_counter=random_counter+1;
        }
    }
    for (i=1;i<26;i++){
        if (random_list.indexOf(i)<0){
            document.getElementById(i.toString()).style.backgroundColor=color;
        }
        else{
            document.getElementById(i.toString()).style.backgroundColor="white";
        }
            
    }

    move.innerHTML=0;
}




var reply_click = function(e)
{
   var input_id,ele,move;
    move=document.getElementById("move");
    input_id=parseInt(e);
    
    if ((input_id+5)<=25){
        toggle(input_id+5);
    }
    if ((input_id-5)>=1){
        toggle(input_id-5);
    }
    if (((input_id-1)%5)==0){
        toggle(input_id+1);
    }
    else if((input_id%5)==0){
        toggle(input_id-1);
        <commit_msg>fix: now all puzzle are feasible<commit_after>var CSS_COLOR_NAMES = ["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","ForestGreen","Fuchsia","Gainsboro","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","Yellow","YellowGreen"];
var color
function init(){
    color=CSS_COLOR_NAMES[Math.floor((Math.random() * CSS_COLOR_NAMES.length) + 1)].toLowerCase();
    var i,random_number,random_counter,move,game_name,random_init;
    var random_list=[];
    random_counter=0
    game_name=document.getElementById("game_name");
    game_name.style.color=color;
    move=document.getElementById("move");
    random_init=0
    while(random_init<10){
       random_init=Math.floor((Math.random() * 15) + 1); 
    }
    while(random_counter<random_init){
        random_number=Math.floor((Math.random() * 25) + 1);
        if (random_list.indexOf(random_number)<0){
            random_list.push(random_number);
            random_counter=random_counter+1;
        }
    }
    for (i=1;i<26;i++){
            document.getElementById(i.toString()).style.backgroundColor=color;
            
    }
    for (i=0;i<random_list.length;i++){
        reply_click(random_list[i].toString());
    }

    move.innerHTML=0;
}




var reply_click = function(e)
{
   var input_id,ele,move;
    move=document.getElementById("move");
    input_id=parseInt(e);
    
    if ((input_id+5)<=25){
        toggle(input_id+5);
    }
    if ((input_id-5)>=1){
        toggle(input_id-5);
    }
    if (((input_id-1)%5)==0){
        toggle(input_id+1);
    }
    else if((input_id%5)==0){
        toggle(input_id-1);
        
{'fraction_non_alphanumeric': 0.20691853977363303, 'fraction_numerical': 0.010202454965726127, 'mean_word_length': 7.559345156889496, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 5, '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': '1935346', 'n_tokens_mistral': 2227, 'n_tokens_neox': 2074, 'n_words': 120}