Skip to main content

load_baseline

Function load_baseline 

Source
pub fn load_baseline(scenario: &str) -> TraceLog
Expand description

Load a trace fixture by scenario name.

Looks up baselines/<PINNED_CLI_VERSION>/<scenario>.jsonl and returns the parsed (direction, line) pairs. Panics if the baseline is missing - scenarios are expected to ship their baseline on creation.

ยงPanics

If the fixture file is missing, unreadable, or malformed.