def clean_up(pid_dir, rule):
    retry_count = os.path.join(pid_dir, rule.name % "%s.retry_count")
    next_retry = os.path.join(pid_dir, "%s.next_retry" % rule.name)
    failed = os.path.join(pid_dir, "%s.failed" % rule.name)
    if os.path.exists(retry_count):
        os.unlink(retry_count)
    if os.path.exists(next_retry):
        os.unlink(next_retry)
    if os.path.exists(failed):
        os.unlink(failed)
dataset/ETHPy150Open chango/inferno/inferno/lib/pid.py/clean_up/swapped operands of `%`