def fake_train(lrate, batch_size, arch):
    """Optimum: lrate=0.2, batch_size=4, arch='conv'."""
    f1 = (
        (lrate - 0.2) ** 2
        + (batch_size - 4) ** 2
        + (0 if arch == "conv" else 10)
    )
    return f1