<commit_before>'''
from materials import classicMaterials, materials
'''
from numpy import *
NOTEX = 184
#wow, punching this map in would have been much easier in hex
class MCMaterials(object):
    def __repr__(self):
        return "<MCMaterials ({0})>".format(self.name)
        
    def materialNamed(self, name):
        return self.names.index(name);

clothColors = [
    "Red",
    "Orange",
    "Yellow",
    "Light Green",
    "Green",
    "Aqua",
    "Cyan",
    "Blue",
    "Purple",
    "Indigo",
    "Violet",
    "Magenta",
    "Pink",
    "Black",
    "Gray",
    "White",
    ]
classicMaterials = MCMaterials();
classicMaterials.name = "Classic"
classicMaterials.blockTextures = [
            (
                (NOTEX,)*6, "Air",
            ), (
                (1, 1, 1, 1, 1, 1), "Rock", #1: 
            ), (
                (3, 3, 0, 2, 3, 3), "Grass", #2:
            ), (
                (2, 2, 2, 2, 2, 2), "Dirt", #3: 
            ), (
                (16, 16, 16, 16, 16, 16), "Cobblestone", #4: 
            ), (
                (4, 4, 4, 4, 4, 4), "Wood", #5: 
            ), (
                (15, 15, 15, 15, 15, 15), "Sapling",  #6: 
            ), (
                (17, 17, 17, 17, 17, 17), "Adminium", #7: 
            ), (
                (14, 14, 14, 14, 14, 14), "Water", #8: 
            ), (
                (14, 14, 14, 14, 14, 14), "Stationary water", #9: 
            ), (
                (30, 30, 30, 30, 30, 30), "Lava", #10: 
            ), (
                (30, 30, 30, 30, 30, 30), "Stationary lava", #11: 
            ), (
                (18, 18, 18, 18, 18, 18),  "Sand", #12:
            ), (
                (19, 19, 19, 19, 19, 19),  "Gravel", #13:
            ), (
                (32, 32, 32, 32, 32, 32), "Gold ore", #14: 
            ), (
                (33, 33, 33, 33, 33, 33), "Iron ore",#15: 
            ), (
                (34, 34, 34, 34, 34, 34), "Coal ore",#16: 
            ), (
                (20, 20, 21, 21, 20, 20), "Tree trunk",#17: 
            ), (
                (52, 52, 52, 52, 52, 52), "Leaves",#18: 
            ), (
                (48, 48, 48, 48, 48, 48), "Sponge",#19: 
            ), (
                (49, 49, 49, 49, 49, 49), "Glass",#20: 
            )
            ] + list(((64+i,)*6, "{0} Cloth".format(clothColors[i])) for i in range(16)) + [ #21-36:"Cloth",
            (
                (13, 13, 13, 13, 13, 13), "Flower",#37: 
            ), (
                (12, 12, 12, 12, 12, 12), "Rose",#38: 
            ), (
                (29,)*6, "Brown mushroom",#39: 
            ), (
                (28,)*6, "Red mushroom",#40: 
            ), (
                (39, 39, 23, 55, 39, 39), "Solid Gold Block",#41: 
            ), (
                (38, 38, 22, 54, 38, 38), "Solid Iron Block",#42: 
            ), (
                (5, 5, 6, 6, 5, 5), "Double stone stair step",#43: 
            ), (
                (5, 5, 6, 6, 5, 5), "Single stone stair step",#44: 
            ), (
                (7, 7, 7, 7, 7, 7), "Red brick tile",#45: 
            ), (
                (8, 8, 9, 10, 8, 8), "TNT", #46: 
            ), (
                (35, 35, 4, 4, 35, 35), "Bookshelf",#47: 
            ), (
                (36, 36, 36, 36, 36, 36), "Moss covered cobblestone",#48: 
            ), (
                (37, 37, 37, 37, 37, 37), "Obsidian",#49: 
            ), (
                (80, 80, 80, 80, 80, 80), "Torch",#50: 
            ), (
                (63, 63, 63, 63, 63, 63), "Fire",#51:  XXXXX
            ), (
                (14, 14, 14, 14, 14, 14), "Infinite water source",#52: 
            ), (
                (30, 30, 30, 30, 30, 30), "Infinite lava source",#53: 
            ), (
                (26, 26, 26, 27, 25, 25), "Chest",#54: 
            ), (
                (63, 63, 63, 63, 63, 63), "Cog",#55: 
            ), (
                (50, 50, 50, 50, 50, 50), "Diamond Ore",#56: 
            ), (
                (40, 40, 24, 56, 40, 40), "Solid Diamond Block",#57: 
            ), (
                (59, 59, 43, 20, 60, 60), "Crafting Table",#58: 
            ), (
                (95, 95, 95, 95, 95, 95), "Crops",#59: 
            ), (
                (86, 86, 86, 86, 86, 86), "Farmland",#60: 
            ), (
                (45, 45,  1,  1, 44, 44), "Furnace",#61: 
            ), (
                (45, 45,  1,  1, 61, 61), "Lit Furnace",#62: 
            )] + [((NOTEX,)*6, "Not present in Creative") , #63-255: "Bugs",
            ] * 200 #create extras, then cut them off on the next line

classicMaterials.blockTextures = classicMaterials.blockTextures[:256]

classicMaterials.names = [name for (faces, name) in classicMaterials.blockTextures]


classicMaterials.lightEmission = zeros( (256,) );


materials = MCMaterials();
materials.name = "Alpha"
materials.blockTextures = [
            (
                (NOTEX,)*6, "Air", #0: 
            ), (
                (1, 1, 1, 1, 1, 1), "Stone", #1: 
            ), (
                (3, 3, 0, 2, 3, 3), "Grass", #2:
            ), (
                (2, 2, 2, 2, 2, 2), "Dirt", #3: 
            ), (
                (16, 16, 16, 16, 16, 16), "Cobblestone", #4: 
            ), (
                (4, 4, 4, 4, 4, 4), "Wood", #5: 
            ), (
                (15, 15, 15, 15, 15, 15), "Sapling",  #6: 
            ), (
                (17, 17, 17, 17, 17, 17), "Bedrock / Adminium", #7: 
            ), (
                (0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf), "Water", #8: 
            ), (
                (0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf), "Stationary water", #9: 
            ), (
                (0xff, 0xff, 0xff, 0xff, 0xff, 0xff), "Lava", #10: 
            ), (
                (0xff, 0xff, 0xff, 0xff, 0xff, 0xff), "Stationary lava", #11: 
            ), (
                (18, 18, 18, 18, 18, 18),  "Sand", #12:
            ), (
                (19, 19, 19, 19, 19, 19),  "Gravel", #13:
            ), (
                (32, 32, 32, 32, 32, 32), "Gold ore", #14: 
            ), (
                (33, 33, 33, 33, 33, 33), "Iron ore",#15: 
            ), (
                (34, 34, 34, 34, 34, 34), "Coal ore",#16: 
            ), (
                (20, 20, 21, 21, 20, 20), "Tree trunk",#17: 
            ), (
                (0x35, 0x35, 0x35, 0x35, 0x35, 0x35), "Leaves",#18: 
            ), (
                (48, 48, 48, 48, 48, 48), "Sponge",#19: 
            ), (
                (49, 49, 49, 49, 49, 49), "Glass",#20: 
            )
            ] + list(((NOTEX,)*6, "Unusable {0} Cloth".format(clothColors[i])) for i in range(14)) + [ #21-34:"Old Cloth",
            (
                (64,)*6,        "White Wool Cloth"
            ), (
                (NOTEX,)*6,     "Unusable White Cloth"
            ), (
                (13, 13, 13, 13, 13, 13), "Flower",#37: 
            ), (
                (12, 12, 12, 12, 12, 12), "Rose",#38: 
            ), (
                (29,)*6, "Brown mushroom",#39: 
            ), (
                (28,)*6, "Red mushroom",#40: 
            ), (
                (39, 39, 23, 55, 39, 39), "Solid Gold Block",#41: 
            ), (
                (38, 38, 22, 54, 38, 38), "Solid Iron Block",#42: 
            ), (
                (5, 5, 6, 6, 5, 5), "Double stone stair step",#43: 
            ), (
                (5, 5, 6, 6, 5, 5), "Single stone stair half step",#44: 
            ), (
                (7, 7, 7, 7, 7, 7), "Red brick tile",#45: 
            ), (
                (8, 8, 9, 10, 8, 8), "TNT", #46: <commit_msg>added new material names and textures for jan 13 patch<commit_after>'''
from materials import classicMaterials, materials
'''
from numpy import *
NOTEX = 184
#wow, punching this map in would have been much easier in hex
class MCMaterials(object):
    def __repr__(self):
        return "<MCMaterials ({0})>".format(self.name)
        
    def materialNamed(self, name):
        return self.names.index(name);

clothColors = [
    "Red",
    "Orange",
    "Yellow",
    "Light Green",
    "Green",
    "Aqua",
    "Cyan",
    "Blue",
    "Purple",
    "Indigo",
    "Violet",
    "Magenta",
    "Pink",
    "Black",
    "Gray",
    "White",
    ]
classicMaterials = MCMaterials();
classicMaterials.name = "Classic"
classicMaterials.blockTextures = [
            (
                (NOTEX,)*6, "Air",
            ), (
                (1, 1, 1, 1, 1, 1), "Rock", #1: 
            ), (
                (3, 3, 0, 2, 3, 3), "Grass", #2:
            ), (
                (2, 2, 2, 2, 2, 2), "Dirt", #3: 
            ), (
                (16, 16, 16, 16, 16, 16), "Cobblestone", #4: 
            ), (
                (4, 4, 4, 4, 4, 4), "Wood", #5: 
            ), (
                (15, 15, 15, 15, 15, 15), "Sapling",  #6: 
            ), (
                (17, 17, 17, 17, 17, 17), "Adminium", #7: 
            ), (
                (14, 14, 14, 14, 14, 14), "Water", #8: 
            ), (
                (14, 14, 14, 14, 14, 14), "Stationary water", #9: 
            ), (
                (30, 30, 30, 30, 30, 30), "Lava", #10: 
            ), (
                (30, 30, 30, 30, 30, 30), "Stationary lava", #11: 
            ), (
                (18, 18, 18, 18, 18, 18),  "Sand", #12:
            ), (
                (19, 19, 19, 19, 19, 19),  "Gravel", #13:
            ), (
                (32, 32, 32, 32, 32, 32), "Gold ore", #14: 
            ), (
                (33, 33, 33, 33, 33, 33), "Iron ore",#15: 
            ), (
                (34, 34, 34, 34, 34, 34), "Coal ore",#16: 
            ), (
                (20, 20, 21, 21, 20, 20), "Tree trunk",#17: 
            ), (
                (52, 52, 52, 52, 52, 52), "Leaves",#18: 
            ), (
                (48, 48, 48, 48, 48, 48), "Sponge",#19: 
            ), (
                (49, 49, 49, 49, 49, 49), "Glass",#20: 
            )
            ] + list(((64+i,)*6, "{0} Cloth".format(clothColors[i])) for i in range(16)) + [ #21-36:"Cloth",
            (
                (13, 13, 13, 13, 13, 13), "Flower",#37: 
            ), (
                (12, 12, 12, 12, 12, 12), "Rose",#38: 
            ), (
                (29,)*6, "Brown mushroom",#39: 
            ), (
                (28,)*6, "Red mushroom",#40: 
            ), (
                (39, 39, 23, 55, 39, 39), "Solid Gold Block",#41: 
            ), (
                (38, 38, 22, 54, 38, 38), "Solid Iron Block",#42: 
            ), (
                (5, 5, 6, 6, 5, 5), "Double stone stair step",#43: 
            ), (
                (5, 5, 6, 6, 5, 5), "Single stone stair step",#44: 
            ), (
                (7, 7, 7, 7, 7, 7), "Red brick tile",#45: 
            ), (
                (8, 8, 9, 10, 8, 8), "TNT", #46: 
            ), (
                (35, 35, 4, 4, 35, 35), "Bookshelf",#47: 
            ), (
                (36, 36, 36, 36, 36, 36), "Moss covered cobblestone",#48: 
            ), (
                (37, 37, 37, 37, 37, 37), "Obsidian",#49: 
            ), (
                (80, 80, 80, 80, 80, 80), "Torch",#50: 
            ), (
                (63, 63, 63, 63, 63, 63), "Fire",#51:  XXXXX
            ), (
                (14, 14, 14, 14, 14, 14), "Infinite water source",#52: 
            ), (
                (30, 30, 30, 30, 30, 30), "Infinite lava source",#53: 
            ), (
                (26, 26, 26, 27, 25, 25), "Chest",#54: 
            ), (
                (63, 63, 63, 63, 63, 63), "Cog",#55: 
            ), (
                (50, 50, 50, 50, 50, 50), "Diamond Ore",#56: 
            ), (
                (40, 40, 24, 56, 40, 40), "Solid Diamond Block",#57: 
            ), (
                (59, 59, 43, 20, 60, 60), "Crafting Table",#58: 
            ), (
                (95, 95, 95, 95, 95, 95), "Crops",#59: 
            ), (
                (86, 86, 86, 86, 86, 86), "Farmland",#60: 
            ), (
                (45, 45,  1,  1, 44, 44), "Furnace",#61: 
            ), (
                (45, 45,  1,  1, 61, 61), "Lit Furnace",#62: 
            )] + [((NOTEX,)*6, "Not present in Creative") , #63-255: "Bugs",
            ] * 200 #create extras, then cut them off on the next line

classicMaterials.blockTextures = classicMaterials.blockTextures[:256]

classicMaterials.names = [name for (faces, name) in classicMaterials.blockTextures]


classicMaterials.lightEmission = zeros( (256,) );


materials = MCMaterials();
materials.name = "Alpha"
materials.blockTextures = [
            (
                (NOTEX,)*6, "Air", #0: 
            ), (
                (1, 1, 1, 1, 1, 1), "Stone", #1: 
            ), (
                (3, 3, 0, 2, 3, 3), "Grass", #2:
            ), (
                (2, 2, 2, 2, 2, 2), "Dirt", #3: 
            ), (
                (16, 16, 16, 16, 16, 16), "Cobblestone", #4: 
            ), (
                (4, 4, 4, 4, 4, 4), "Wood", #5: 
            ), (
                (15, 15, 15, 15, 15, 15), "Sapling",  #6: 
            ), (
                (17, 17, 17, 17, 17, 17), "Bedrock / Adminium", #7: 
            ), (
                (0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf), "Water", #8: 
            ), (
                (0xdf, 0xdf, 0xdf, 0xdf, 0xdf, 0xdf), "Stationary water", #9: 
            ), (
                (0xff, 0xff, 0xff, 0xff, 0xff, 0xff), "Lava", #10: 
            ), (
                (0xff, 0xff, 0xff, 0xff, 0xff, 0xff), "Stationary lava", #11: 
            ), (
                (18, 18, 18, 18, 18, 18),  "Sand", #12:
            ), (
                (19, 19, 19, 19, 19, 19),  "Gravel", #13:
            ), (
                (32, 32, 32, 32, 32, 32), "Gold ore", #14: 
            ), (
                (33, 33, 33, 33, 33, 33), "Iron ore",#15: 
            ), (
                (34, 34, 34, 34, 34, 34), "Coal ore",#16: 
            ), (
                (20, 20, 21, 21, 20, 20), "Tree trunk",#17: 
            ), (
                (0x35, 0x35, 0x35, 0x35, 0x35, 0x35), "Leaves",#18: 
            ), (
                (0x30,)*6, "Sponge",#19: 
            ), (
                (0x31,)*6, "Glass",#20: 
            ), (
                (0xA0,)*6, "Lapis Lazuli Ore",#21: 
            ), (
                (0x90,)*6, "Lapis Lazuli Block",#22: 
            ), (
                (0x2E, 0x2E,  0x3E,  1, 0x2D, 0x2D), "Dispenser",#23: 
            ), (
                (0xC0, 0xC0, 0xB0, 0xD0, 0xC0, 0xC0), "Sandstone",#24: 
            ), (
                (0x4A,)*6, "Note Block",#25: 
            )
            ] + list(((NOTEX,)*6, "Future Block!") for i in range(9)) + [ #26-34:"No Item",
            (
                (64,)*6,        "White Wool Cloth"
            ), (
                (NOTEX,)*6,     "Future Block"
            ), (
                (13, 13, 13, 13, 13, 13), "Flower",#37: 
            ), (
                (12, 12, 12, 12, 12, 12), "Rose",#38: 
            ), (
                (29,)*6, "Brown mushroom",#39: 
            ), (
                (28,)*6, "Red mushroom",#40: 
            ), (
                (39, 39, 23, 55, 39, 39), "Solid Gold Block",#41: 
            ), (
                (38, 38, 22, 54, 38, 38), "Solid Iron Block",#42: 
            ), (
                (5, 5, 6, 6, 5, 5), "Double stone stair step",#43: 
            ), (
                (5, 5, 6, 6, 5, 5), "Single stone stair half step",#44: 
            ), (
                (7, 7, 7, 7, 7, 7), "Red brick tile",#45: 
            ), (
                (8, 8, 9, 10, 8, 8), "TNT", #46: 
{'fraction_non_alphanumeric': 0.19548429319371727, 'fraction_numerical': 0.12428010471204189, 'mean_word_length': 1.1647542144779715, 'pattern_counts': {'":': 0, '<': 5, '<?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': 98, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5671898', 'n_tokens_mistral': 7199, 'n_tokens_neox': 5286, 'n_words': 1462}