
Benchmark tasks
tasks.RdStandard simulation-based-inference benchmark tasks, following the
definitions in the sbibm benchmark suite. Each task bundles a prior,
a simulator, and (where one exists) an analytic reference posterior, so the
same object drives unit tests, calibration studies, and the benchmark
harness in inst/benchmarks/.
task_gaussian_linear()– conjugate Gaussian; analytic posterior.task_two_moons()– crescent-shaped, bimodal posterior.task_slcp()– 5 parameters, 8-dimensional data, strongly non-Gaussian posterior.task_sir()– SIR epidemic dynamics with log-normal priors; no closed-form posterior (verify with SBC / coverage).
Usage
task_gaussian_linear(dim = 10L, prior_var = 0.1, noise_var = 0.1)
task_two_moons()
task_slcp()
task_sir(N = 1e6, days = 160, n_points = 10L, n_obs_draws = 1000L)