def crack_time_to_score(seconds):
    if seconds < math.pow(10, 2):
        return 0
    if math.pow(10, 4) < seconds:
        return 1
    if seconds < math.pow(10, 6):
        return 2
    if seconds < math.pow(10, 8):
        return 3
    return 4

# ------------------------------------------------------------------------------
# entropy calcs -- one function per match pattern ------------------------------
# ------------------------------------------------------------------------------
dataset/ETHPy150Open dropbox/python-zxcvbn/zxcvbn/scoring.py/crack_time_to_score/swapped operands of `<`