<commit_before>var TILE_TYPE_TO_OBJECT = {
    3: "Obsticle",
    4: "House",
    5: "Mosque",
    6: "Mosque",
    7: "Mosque",
    8: "Obsticle",
    9: "Obsticle",
    10: "Obsticle"
};

var data = { "height":8,
    "layers":[
        {
            "data":[0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 21, 0, 8, 0, 0, 0, 4, 4, 0, 0, 10, 0, 0, 4, 4, 4, 21, 0, 0, 0, 0, 0, 4, 4, 0, 0, 0, 0, 0, 0, 4, 0, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 0, 0, 7, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 4, 4, 0, 0, 0, 0, 0, 0, 0, 5, 0, 11, 0, 0, 0, 21, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 15, 15, 15, 18, 15, 15, 15, 9, 0, 0, 0, 0, 0, 0],
            "height":8,
            "name":"Tile Layer 1",
            "opacity":1,
            "type":"tilelayer",
            "visible":true,
            "width":16,
            "x":0,
            "y":0
        }],
    "nextobjectid":1,
    "orientation":"orthogonal",
    "renderorder":"right-down",
    "tileheight":60,
    "tilesets":[
        {
            "columns":0,
            "firstgid":1,
            "margin":0,
            "name":"buildings",
            "spacing":0,
            "tilecount":18,
            "tileheight":181,
            "tileproperties":
            {
                "10":
                {
                    "height":"2",
                    "width":"2"
                },
                "3":
                {
                    "height":"1",
                    "width":"1"
                },
                "4":
                {
                    "height":"3",
                    "width":"1"
                },
                "5":
                {
                    "height":"2",
                    "width":1
                },
                "6":
                {
                    "height":"2",
                    "width":"2"
                },
                "7":
                {
                    "height":"1",
                    "width":"3"
                },
                "8":
                {
                    "height":"2",
                    "width":"3"
                },
                "9":
                {
                    "height":"1",
                    "width":"1"
                }
            },
            "tilepropertytypes":
            {
                "10":
                {
                    "height":"string",
                    "width":"string"
                },
                "3":
                {
                    "height":"string",
                    "width":"string"
                },
                "4":
                {
                    "height":"string",
                    "width":"string"
                },
                "5":
                {
                    "height":"string",
                    "width":"int"
                },
                "6":
                {
                    "height":"string",
                    "width":"string"
                },
                "7":
                {
                    "height":"string",
                    "width":"string"
                },
                "8":
                {
                    "height":"string",
                    "width":"string"
                },
                "9":
                {
                    "height":"string",
                    "width":"string"
                }
            },
            "tiles":
            {
                "10":
                {
                    "image":"..\/assets\/obsticle4.png"
                },
                "11":
                {
                    "image":"..\/assets\/road_corner_south_east.png"
                },
                "12":
                {
                    "image":"..\/assets\/road_corner_south_west.png"
                },
                "13":
                {
                    "image":"..\/assets\/road_corner_west_north.png"
                },
                "14":
                {
                    "image":"..\/assets\/road_east.png"
                },
                "15":
                {
                    "image":"..\/assets\/road_junction_cross.png"
                },
                "16":
                {
                    "image":"..\/assets\/road_junction_t_east.png"
                },
                "17":
                {
                    "image":"..\/assets\/road_junction_t_north.png"
                },
                "18":
                {
                    "image":"..\/assets\/road_junction_t_south.png"
                },
                "19":
                {
                    "image":"..\/assets\/road_junction_t_west.png"
                },
                "20":
                {
                    "image":"..\/assets\/road_north.png"
                },
                "3":
                {
                    "image":"..\/assets\/house.png"
                },
                "4":
                {
                    "image":"..\/assets\/mosque_small.png"
                },
                "5":
                {
                    "image":"..\/assets\/mosque1.png"
                },
                "6":
                {
                    "image":"..\/assets\/mosque2.png"
                },
                "7":
                {
                    "image":"..\/assets\/obsticle1.png"
                },
                "8":
                {
                    "image":"..\/assets\/obsticle2.png"
                },
                "9":
                {
                    "image":"..\/assets\/obsticle3.png"
                }
            },
            "tilewidth":181
        }],
    "tilewidth":60,
    "version":1,
    "width":16
}

GameLevel = function () {
};

GameLevel.prototype = Object.create(Phaser.Sprite.prototype);
GameLevel.prototype.constructor = GameLevel;<commit_msg>add level params<commit_after>var TILE_TYPE_TO_OBJECT = {
    3: "Obsticle",
    4: "House",
    5: "Mosque",
    6: "Mosque",
    7: "Mosque",
    8: "Obsticle",
    9: "Obsticle",
    10: "Obsticle"
};

var data = { "height":8,
    "layers":[
        {
            "data":[0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 21, 0, 8, 0, 0, 0, 4, 4, 0, 0, 10, 0, 0, 4, 4, 4, 21, 0, 0, 0, 0, 0, 4, 4, 0, 0, 0, 0, 0, 0, 4, 0, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 0, 0, 7, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 4, 4, 0, 0, 0, 0, 0, 0, 0, 5, 0, 11, 0, 0, 0, 21, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 15, 15, 15, 18, 15, 15, 15, 9, 0, 0, 0, 0, 0, 0],
            "height":8,
            "name":"Tile Layer 1",
            "opacity":1,
            "type":"tilelayer",
            "visible":true,
            "width":16,
            "x":0,
            "y":0
        }],
    "nextobjectid":1,
    "orientation":"orthogonal",
    "renderorder":"right-down",
    "tileheight":60,
    "tilesets":[
        {
            "columns":0,
            "firstgid":1,
            "margin":0,
            "name":"buildings",
            "spacing":0,
            "tilecount":18,
            "tileheight":181,
            "tileproperties":
            {
                "10":
                {
                    "height":"2",
                    "width":"2"
                },
                "3":
                {
                    "height":"1",
                    "width":"1"
                },
                "4":
                {
                    "height":"3",
                    "width":"1"
                },
                "5":
                {
                    "height":"2",
                    "width":1
                },
                "6":
                {
                    "height":"2",
                    "width":"2"
                },
                "7":
                {
                    "height":"1",
                    "width":"3"
                },
                "8":
                {
                    "height":"2",
                    "width":"3"
                },
                "9":
                {
                    "height":"1",
                    "width":"1"
                }
            },
            "tilepropertytypes":
            {
                "10":
                {
                    "height":"string",
                    "width":"string"
                },
                "3":
                {
                    "height":"string",
                    "width":"string"
                },
                "4":
                {
                    "height":"string",
                    "width":"string"
                },
                "5":
                {
                    "height":"string",
                    "width":"int"
                },
                "6":
                {
                    "height":"string",
                    "width":"string"
                },
                "7":
                {
                    "height":"string",
                    "width":"string"
                },
                "8":
                {
                    "height":"string",
                    "width":"string"
                },
                "9":
                {
                    "height":"string",
                    "width":"string"
                }
            },
            "tiles":
            {
                "10":
                {
                    "image":"..\/assets\/obsticle4.png"
                },
                "11":
                {
                    "image":"..\/assets\/road_corner_south_east.png"
                },
                "12":
                {
                    "image":"..\/assets\/road_corner_south_west.png"
                },
                "13":
                {
                    "image":"..\/assets\/road_corner_west_north.png"
                },
                "14":
                {
                    "image":"..\/assets\/road_east.png"
                },
                "15":
                {
                    "image":"..\/assets\/road_junction_cross.png"
                },
                "16":
                {
                    "image":"..\/assets\/road_junction_t_east.png"
                },
                "17":
                {
                    "image":"..\/assets\/road_junction_t_north.png"
                },
                "18":
                {
                    "image":"..\/assets\/road_junction_t_south.png"
                },
                "19":
                {
                    "image":"..\/assets\/road_junction_t_west.png"
                },
                "20":
                {
                    "image":"..\/assets\/road_north.png"
                },
                "3":
                {
                    "image":"..\/assets\/house.png"
                },
                "4":
                {
                    "image":"..\/assets\/mosque_small.png"
                },
                "5":
                {
                    "image":"..\/assets\/mosque1.png"
                },
                "6":
                {
                    "image":"..\/assets\/mosque2.png"
                },
                "7":
                {
                    "image":"..\/assets\/obsticle1.png"
                },
                "8":
                {
                    "image":"..\/assets\/obsticle2.png"
                },
                "9":
                {
                    "image":"..\/assets\/obsticle3.png"
                }
            },
            "tilewidth":181
        }],
    "tilewidth":60,
    "version":1,
    "width":16
}

var levelParams = {
    agentNumber: 100,   // total emitted agents in level 
    convertTarget: 80,  // minimum agent number to convert in order to pass the level
    time: 2             // level time in minutes
};

GameLevel = function () {
    return levelParams;
};

GameLevel.prototype = Object.create(Phaser.Sprite.prototype);
GameLevel.prototype.constructor = GameLevel;

GameLevel.prototype.getParams = function () {
    return 
}
{'fraction_non_alphanumeric': 0.1558973501630026, 'fraction_numerical': 0.0424642648165176, 'mean_word_length': 0.6688520016738736, 'pattern_counts': {'":': 228, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5950536', 'n_tokens_mistral': 3858, 'n_tokens_neox': 3164, 'n_words': 572}