Skip to main content

replay

Function replay 

Source
pub fn replay<M: Model>(
    model: M,
    trace: &SessionTrace,
) -> Result<ReplayResult, ReplayError>
Expand description

Replay a recorded session trace through a fresh model.

Feeds all recorded events, resizes, and ticks through a new StepProgram, stepping only at frame boundaries (matching the original recording cadence). Compares frame checksums against the recorded values.

Returns ReplayResult with match/mismatch information.