<commit_before>import time

from tqdm import tqdm


def follow(self, user_id):
    user_id = self.convert_to_user_id(user_id)
    msg = ' ===> Going to follow `user_id`: {}.'.format(user_id)
    self.console_print(msg)
    if not self.check_user(user_id):
        return True
    # Check if we hadn't previously followed the user
    followed = self.followed_file
    if user_id in followed:
        self.logger.info("User previously followed, skipping.")
        return True
    if not self.reached_limit('follows'):<commit_msg>Fix error in followed file usage<commit_after>import time

from tqdm import tqdm


def follow(self, user_id):
    user_id = self.convert_to_user_id(user_id)
    msg = ' ===> Going to follow `user_id`: {}.'.format(user_id)
    self.console_print(msg)
    if not self.check_user(user_id):
        return True
    # Check if we hadn't previously followed the user
    followed = self.followed_file
    if user_id in followed.set:
        self.logger.info("User previously followed, skipping.")
        return True
    if not self.reached_limit('follows'):
{'fraction_non_alphanumeric': 0.09898242368177614, 'fraction_numerical': 0.0, 'mean_word_length': 3.380566801619433, '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': '1522136', 'n_tokens_mistral': 348, 'n_tokens_neox': 341, 'n_words': 96}