<commit_before>from os import sep as ossep
_user_set = set()

def __init__(self):
    f = open(ossep.join('.','sina_spider','utils','userlist'), encoding='UTF-8')
    for line in f.readlines():
        self.add_user(*line[:-1].rsplit(' '))  
        '''add your account information at userlist file 
        like this :
        username1 password1
        username2 <PASSWORD>
        '''
    

@property
def user_set(self):
    return sorted(self._user_set)

def add_user(self, user, password):
    self._user_set.add((str(user), str(password)))



if __name__ == '__main__':
    print(UserSet().user_set)<commit_msg>fix bug<commit_after>from os import sep as ossep

class UserSet(object):
    _user_set = set()

    def __init__(self):
        f = open(ossep.join('.','sina_spider','utils','userlist'), encoding='UTF-8')
        for line in f.readlines():
            self.add_user(*line[:-1].rsplit(' '))  
            '''add your account information at userlist file 
            like this :
            username1 password1
            username2 <PASSWORD>
            '''
        

    @property
    def user_set(self):
        return sorted(self._user_set)

    def add_user(self, user, password):
        self._user_set.add((str(user), str(password)))



if __name__ == '__main__':
    print(UserSet().user_set)
{'fraction_non_alphanumeric': 0.14036418816388468, 'fraction_numerical': 0.007587253414264037, 'mean_word_length': 2.6946778711484596, 'pattern_counts': {'":': 0, '<': 5, '<?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': '631559', 'n_tokens_mistral': 423, 'n_tokens_neox': 412, 'n_words': 94}