Expand description
Parameter-block test fixtures shared across the workspace.
These fixtures build ParameterBlockSpec values, so they live in the crate
that owns that type rather than in a downstream test-support crate. Following
the workspace convention for test_support modules, this is a plain
always-compiled pub mod: feature gates and #[cfg(test)] module gates are
banned here, and a cfg(test) module would be invisible to downstream
crates’ test builds anyway. The contents are pub, so they are reachable
(no dead-code lint) yet only ever called from #[cfg(test)] code.
Structs§
- Binomial
Location Scale Base Fixture - A minimal two-block binomial location–scale problem:
n = 7Bernoulli responses with an intercept-only threshold block and an intercept-only log-σ block, each carrying a unit ridge penalty.
Functions§
- binomial_
location_ scale_ base_ fixture - spec_
from_ dense - An unpenalized block wrapping a dense design under the default gauge priority.
- spec_
from_ dense_ with_ priority spec_from_densewith an explicit gauge priority, for fixtures that pin which block wins a shared-affine gauge contest.