baseline_for

Function baseline_for 

Source
pub fn baseline_for(root: &Path, benchmark_id: &str) -> Result<GateBaseline>
Expand description

2026-09-26: Assemble the baseline for one gate from every BENCH.toml in the tree.

unmeasured entries are left out, so GateBaseline::resolve on one fails rather than returning an entry with no bounds: with “no baseline for hardware …” when no measured entry is left on that hardware, and “no baseline for model …” otherwise. Errors on two defaults on one hardware, a checkpoint declared twice on one hardware, or a hardware with entries but no default.