<commit_before>
class SynErr(Exception):

    def __init__(self, **info):
        self.errinfo = info
        Exception.__init__(self, self._getExcMsg() )

    def _getExcMsg(self):
        props = list(self.errinfo.items())
        props.sort()
        displ = ' '.join(['%s=%r' % (p,v) for (p,v) in props ])
        return '%s: %s' % (self.__class__.__name__,displ)

class NoSuchOpt(SynErr):pass
class NoSuchDir(SynErr):pass
class NoSuchConf(SynErr):pass
class NoSuchForm(SynErr):pass
class NoSuchPath(SynErr):pass
class NoSuchStat(SynErr):pass
class NoSuchImpl(SynErr):pass
class NoSuchName(SynErr):pass
class NoSuchTufo(SynErr):pass
class NoSuchType(SynErr):pass
class NoSuchProp(SynErr):pass
class NoSuchOper(SynErr):pass
class NoSuchCmpr(SynErr):pass
class NoSuchRule(SynErr):pass
class NoSuchGetBy(SynErr):pass

class BadOperArg(SynErr):pass
class BadTypeValu(SynErr):pass
class DupTypeName(SynErr):pass
class DupPropName(SynErr):pass
class DupFileName(SynErr):pass
class BadPropName(SynErr):pass
class BadMesgVers(SynErr):pass
class BadInfoValu(SynErr):pass
class BadStorValu(SynErr):pass

class NoAuthUser(SynErr):pass

class WebAppErr(SynErr):pass

class SyntaxError(SynErr):pass

class BadUrl(Exception):pass
class BadJson(Exception):pass
class BadMesgResp(Exception):pass
class BadPropValu(SynErr):pass
class BadPySource(Exception):pass

class HitStormLimit(SynErr):pass

class DupOpt(Exception):pass
class DupUser(Exception):pass
class DupRole(Exception):pass

class NoSuch(Exception):pass
class NoSuchAct(Exception):pass<commit_msg>new exception types for encoder<commit_after>
class SynErr(Exception):

    def __init__(self, **info):
        self.errinfo = info
        Exception.__init__(self, self._getExcMsg() )

    def _getExcMsg(self):
        props = list(self.errinfo.items())
        props.sort()
        displ = ' '.join(['%s=%r' % (p,v) for (p,v) in props ])
        return '%s: %s' % (self.__class__.__name__,displ)

class NoSuchOpt(SynErr):pass
class NoSuchDir(SynErr):pass
class NoSuchConf(SynErr):pass
class NoSuchForm(SynErr):pass
class NoSuchPath(SynErr):pass
class NoSuchStat(SynErr):pass
class NoSuchImpl(SynErr):pass
class NoSuchName(SynErr):pass
class NoSuchTufo(SynErr):pass
class NoSuchType(SynErr):pass
class NoSuchProp(SynErr):pass
class NoSuchOper(SynErr):pass
class NoSuchCmpr(SynErr):pass
class NoSuchRule(SynErr):pass
class NoSuchGetBy(SynErr):pass

class NoSuchDecoder(SynErr):pass
class NoSuchEncoder(SynErr):pass

class BadOperArg(SynErr):pass
class BadTypeValu(SynErr):pass
class DupTypeName(SynErr):pass
class DupPropName(SynErr):pass
class DupFileName(SynErr):pass
class BadPropName(SynErr):pass
class BadMesgVers(SynErr):pass
class BadInfoValu(SynErr):pass
class BadStorValu(SynErr):pass

class NoAuthUser(SynErr):pass

class WebAppErr(SynErr):pass

class SyntaxError(SynErr):pass

class BadUrl(Exception):pass
class BadJson(Exception):pass
class BadMesgResp(Exception):pass
class BadPropValu(SynErr):pass
class BadPySource(Exception):pass

class HitStormLimit(SynErr):pass

class DupOpt(Exception):pass
class DupUser(Exception):pass
class DupRole(Exception):pass

class NoSuch(Exception):pass
class NoSuchAct(Exception):pass
{'fraction_non_alphanumeric': 0.11457349700975764, 'fraction_numerical': 0.0, 'mean_word_length': 7.363157894736842, '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': '2043474', 'n_tokens_mistral': 1141, 'n_tokens_neox': 1063, 'n_words': 211}