<commit_before>class Event:
    source = None
    event = None
    data = None

    def __init__(self, source, event, data=None):
        self.source = source
        self.event = event
        self.data = data


SOURCE_OTHER = 0
SOURCE_GUI = 1
SOURCE_RUBIK = 2
SOURCE_SIMON = 3
SOURCE_GEARS = 4

EVENT_DEFAULT = 0
EVENT_BUTTON1 = 1
EVENT_BUTTON2 = 2<commit_msg>Fix Event class instance variables<commit_after>class Event:
    def __init__(self, source, event, data=None):
        self.source = source
        self.event = event
        self.data = data


SOURCE_OTHER = 0
SOURCE_GUI = 1
SOURCE_RUBIK = 2
SOURCE_SIMON = 3
SOURCE_GEARS = 4

EVENT_DEFAULT = 0
EVENT_BUTTON1 = 1
EVENT_BUTTON2 = 2
{'fraction_non_alphanumeric': 0.07647907647907648, 'fraction_numerical': 0.02886002886002886, 'mean_word_length': 3.0115606936416186, 'pattern_counts': {'":': 0, '<': 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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7078927', 'n_tokens_mistral': 253, 'n_tokens_neox': 231, 'n_words': 67}