def METHOD_NAME(finite_space_model, one_point_design, true_eig):
    pyro.set_rng_seed(42)
    pyro.clear_param_store()
    donsker_varadhan_eig(
        finite_space_model,
        one_point_design,
        "y",
        "theta",
        num_samples=100,
        num_steps=250,
        T=dv_critic,
        optim=optim.Adam({"lr": 0.1}),
    )
    estimated_eig = donsker_varadhan_eig(
        finite_space_model,
        one_point_design,
        "y",
        "theta",
        num_samples=100,
        num_steps=250,
        T=dv_critic,
        optim=optim.Adam({"lr": 0.01}),
        final_num_samples=2000,
    )
    assert_equal(estimated_eig, true_eig, prec=1e-2)