<commit_before>class Cell(object):
    def index(self):
        return self.etable.base + self.etable.entries.index(self)

class IntCell(Cell):
    def __init__(self, etable, num):
        self.etable = etable
        self.num = num

    def __call__(self, _):
        return self.num

class StringCell(Cell):
    def __init__(self, etable, string):
        self.etable = etable
        self.string = string
<commit_msg>CoreCompiler tagging int (Closes #81)<commit_after>class Cell(object):
    def index(self):
        return self.etable.base + self.etable.entries.index(self)

class IntCell(Cell):
    def __init__(self, etable, num):
        self.etable = etable
        self.num = num

    def __call__(self, _):
        # tag int
        if self.num  < 0x80000000:
            return self.num | 0x80000000
        else:
            raise Exception('Unsupported big num')

class StringCell(Cell):
    def __init__(self, etable, string):
        self.etable = etable
        self.string = string

{'fraction_non_alphanumeric': 0.10510510510510511, 'fraction_numerical': 0.02002002002002002, 'mean_word_length': 2.4602076124567476, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '1666430', 'n_tokens_mistral': 329, 'n_tokens_neox': 302, 'n_words': 77}