<commit_before>
"""StateData module: contains StateData class"""

from DirectObject import *

import DirectNotifyGlobal

class StateData(DirectObject):

    """StateData class: """

    notify = DirectNotifyGlobal.directNotify.newCategory('StateData')

    def __init__(self, doneEvent):
        """__init__(self, Event)
        """
        self.doneEvent = doneEvent
        self.doneStatus = None
        self.isLoaded = 0
        self.isEntered = 0
        return None
    
    def enter(self):
        """enter(self)

        Enters the StateData.  This makes it active in whatever sense
        this applies.  Returns true if this is a change (i.e. it was
        not previously entered), or false if this is the same (i.e. it
        was already entered).

        """
        if self.isEntered:<commit_msg>removed unnecessary return<commit_after>
"""StateData module: contains StateData class"""

from DirectObject import *

import DirectNotifyGlobal

class StateData(DirectObject):

    """StateData class: """

    notify = DirectNotifyGlobal.directNotify.newCategory('StateData')

    def __init__(self, doneEvent):
        """__init__(self, Event)
        """
        self.doneEvent = doneEvent
        self.doneStatus = None
        self.isLoaded = 0
        self.isEntered = 0
    
    def enter(self):
        """enter(self)

        Enters the StateData.  This makes it active in whatever sense
        this applies.  Returns true if this is a change (i.e. it was
        not previously entered), or false if this is the same (i.e. it
        was already entered).

        """
        if self.isEntered:
{'fraction_non_alphanumeric': 0.09141445336627547, 'fraction_numerical': 0.0024706609017912293, 'mean_word_length': 2.4394904458598727, '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': '4482728', 'n_tokens_mistral': 447, 'n_tokens_neox': 433, 'n_words': 147}