<commit_before>"""EntityTypes module: contains classes that describe Entity types"""

from EntityTypeDesc import EntityTypeDesc
from SpecImports import *

class Entity(EntityTypeDesc):
    abstract = 1
    type = 'entity'
    attribs = (
        ('type', None),
        ('name', '<unnamed>', 'string'),
        ('comment', '', 'string'),
        )

class LevelMgr(Entity):
    type = 'levelMgr'
    permanent = 1
    attribs = (
        ('cogLevel', 0, 'int', {'min':0, 'max':11}),
        ('cogTrack', 'c', 'choice', {'choiceSet':['c','s','l','m']}),
        ('modelFilename', '', 'bamfilename'),<commit_msg>added verbose cog types<commit_after>"""EntityTypes module: contains classes that describe Entity types"""

from EntityTypeDesc import EntityTypeDesc
from SpecImports import *

class Entity(EntityTypeDesc):
    abstract = 1
    type = 'entity'
    attribs = (
        ('type', None),
        ('name', '<unnamed>', 'string'),
        ('comment', '', 'string'),
        )

class LevelMgr(Entity):
    type = 'levelMgr'
    permanent = 1
    attribs = (
        ('cogLevel', 0, 'int', {'min':0, 'max':11}),
        ('cogTrack', 'c', 'choice', {'choiceSet':('sellbot','cashbot',
                                                  'lawbot','bossbot',),
                                     'valueDict':{'sellbot':'s',
                                                  'cashbot':'m',
                                                  'lawbot':'l',
                                                  'bossbot':'c'}}),
        ('modelFilename', '', 'bamfilename'),
{'fraction_non_alphanumeric': 0.1727447216890595, 'fraction_numerical': 0.007677543186180422, 'mean_word_length': 1.9621212121212122, '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': 9, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '339506', 'n_tokens_mistral': 437, 'n_tokens_neox': 428, 'n_words': 101}