<commit_before>import re
class User:
    Groups = {' ':0,'+':1,'★':1,'%':2,'@':3,'&':4,'#':5,'~':6}
    def __init__(self, name, rank, owner = False):
        self.name = name
        self.id = re.sub(r'[^a-zA-z0-9]', '', name).lower()
        self.rank = rank
        self.owner = owner

    def hasRank(self, rank):
        return self.owner or User.Groups[self.rank] >= User.Groups[rank]
    def isOwner(self):
        return self.owner<commit_msg>Add bot rank (*)<commit_after>import re
class User:
    Groups = {' ':0,'+':1,'★':1,'%':2,'*':3,'@':3,'&':4,'#':5,'~':6}
    def __init__(self, name, rank, owner = False):
        self.name = name
        self.id = re.sub(r'[^a-zA-z0-9]', '', name).lower()
        self.rank = rank
        self.owner = owner

    def hasRank(self, rank):
        return self.owner or User.Groups[self.rank] >= User.Groups[rank]
    def isOwner(self):
        return self.owner
{'fraction_non_alphanumeric': 0.21953896816684962, 'fraction_numerical': 0.02305159165751921, 'mean_word_length': 2.737704918032787, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5113787', 'n_tokens_mistral': 341, 'n_tokens_neox': 329, 'n_words': 68}