<commit_before>from fjagepy.org_arl_fjage import Message as _Message
from fjagepy.org_arl_fjage import Performative as _Performative


class Physical:
    CONTROL = 0
    DATA = 1


class TxFrameReq(_Message):

    def __init__(self, **kwargs):
        super().__init__()
        self.to = 0
        self.type = 1
        self.timestamped = None
        self.txtime = None
        self.perf = _Performative.REQUEST
        self.data = None
        self.__dict__.update(kwargs)

    def __str__(self):
        return self.__class__.__name__ + ":" + self.perf + "[type:" + str(self.type) + " to:" + str(self.to) + " protocol:" + " (" + (str(len(self.data)) if self.data else "0") + " bytes)]"

    def _repr_pretty_(self, p, cycle):
        p.text(str(self) if not cycle else '...')


class TxFrameNtf(_Message):

    def __init__(self, **kwargs):
        super().__init__()
        self.perf = _Performative.INFORM
        self.txTime = None
        self.type - None
        self.__dict__.update(kwargs)

    def setTxTime(self, time):
        self.timestamp = time

    def getTxTime(self):
        return self.timestamp

    def setType(self, type):
        self.type = type

    def getType(self):
        return self.type


class RangeReq(_Message):

    def __init__(self, **kwargs):
        super().__init__()
        self.type = 0
        self.channel = 0
        self.txBeacon = False
        self.reqBeacon = False
        self.perf = _Performative.REQUEST
        self.__dict__.update(kwargs)

    def __str__(self):
        return self.__class__.__name__ + ":" + self.perf + "[to:" + str(self.to) + " channel:" + str(self.channel) + " txBeacon:" + str(self.txBeacon) + " reqBeacon:" + str(self.reqBeacon) + "]"
<commit_msg>Fixed issue with inflating TxFrameNtf<commit_after>from fjagepy.org_arl_fjage import Message as _Message
from fjagepy.org_arl_fjage import Performative as _Performative


class Physical:
    CONTROL = 0
    DATA = 1


class TxFrameReq(_Message):

    def __init__(self, **kwargs):
        super().__init__()
        self.to = 0
        self.type = 1
        self.timestamped = None
        self.txtime = None
        self.perf = _Performative.REQUEST
        self.data = None
        self.__dict__.update(kwargs)

    def __str__(self):
        return self.__class__.__name__ + ":" + self.perf + "[type:" + str(self.type) + " to:" + str(self.to) + " protocol:" + " (" + (str(len(self.data)) if self.data else "0") + " bytes)]"

    def _repr_pretty_(self, p, cycle):
        p.text(str(self) if not cycle else '...')


class TxFrameNtf(_Message):

    def __init__(self, **kwargs):
        super().__init__()
        self.perf = _Performative.INFORM
        self.txTime = None
        self.type = None
        self.__dict__.update(kwargs)

    def setTxTime(self, time):
        self.timestamp = time

    def getTxTime(self):
        return self.timestamp

    def setType(self, type):
        self.type = type

    def getType(self):
        return self.type


class RangeReq(_Message):

    def __init__(self, **kwargs):
        super().__init__()
        self.type = 0
        self.channel = 0
        self.txBeacon = False
        self.reqBeacon = False
        self.perf = _Performative.REQUEST
        self.__dict__.update(kwargs)

    def __str__(self):
        return self.__class__.__name__ + ":" + self.perf + "[to:" + str(self.to) + " channel:" + str(self.channel) + " txBeacon:" + str(self.txBeacon) + " reqBeacon:" + str(self.reqBeacon) + "]"

{'fraction_non_alphanumeric': 0.13065902578796562, 'fraction_numerical': 0.0040114613180515755, 'mean_word_length': 2.4292730844793713, 'pattern_counts': {'":': 4, '<': 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': '1085390', 'n_tokens_mistral': 1168, 'n_tokens_neox': 1119, 'n_words': 250}