def epsilon_schedule(eps: float, n_frames: int) -> float:
    """
    Epsilon is annealed linearly from 1 to 0.1 over the n_frames
    """
    change = (1 - 0.05) / n_frames
    eps -= change
    eps = max(eps, 0.05)
    return eps