Skip to content

Commit

Permalink
remove outdated test
Browse files Browse the repository at this point in the history
  • Loading branch information
Red-Portal committed Dec 3, 2024
1 parent 9ab4d89 commit b3d72e8
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions test/interface/scoregradelbo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,4 @@ using Test
elbo = estimate_objective(obj, q0, model; n_samples=10^4)
@test elbo elbo_ref rtol = 0.2
end

@testset "baseline_window" begin
T = 100
adtype = AutoForwardDiff()

obj = ScoreGradELBO(10)
_, _, stats, _ = optimize(rng, model, obj, q0, T; show_progress=false, adtype)
@test isfinite(last(stats).elbo)

obj = ScoreGradELBO(10; baseline_window_size=0)
_, _, stats, _ = optimize(rng, model, obj, q0, T; show_progress=false, adtype)
@test isfinite(last(stats).elbo)

obj = ScoreGradELBO(10; baseline_window_size=1)
_, _, stats, _ = optimize(rng, model, obj, q0, T; show_progress=false, adtype)
@test isfinite(last(stats).elbo)
end
end

0 comments on commit b3d72e8

Please sign in to comment.