Skip to main content

Module player

Module player 

Source
Expand description

The transcript player — the runner-verification pack’s part 1: replay a fixed transcript and reproduce the adjudicated verdicts.

The transcript is itself a specified artifact (transcript.schema.json): an ordered sequence per case × format × row of recorded exchanges with adjudicated expected verdicts; the player answers the Nth matching request with the Nth recorded response (matching = method + path suffix), so a fixture file fully determines what any conformant runner must conclude.

A replay judges every assertion a recorded exchange plus the catalogue’s own corpus decides (crate::exec::assertions::eval_from_exchange) and REFUSES the entry for any family it cannot, on both assertion seams: no verdict is ever reproduced over an assertion nobody evaluated.

Structs§

RecordedRequest
One recorded request key (matching = method + path suffix + step).
RecordedResponse
One recorded response in a transcript entry.
Transcript
A whole transcript document.
TranscriptEntry
One case×format×row sequence with its adjudicated verdict.
TranscriptPlayer
The player: a StepDriver answering from recorded exchanges.
TranscriptStep
The adjudicated expectation for one step exchange.

Enums§

ExpectedVerdict
The adjudicated verdict vocabulary of the pack.

Functions§

replay_entry
Replay one transcript entry against its case and judge whether the runner reproduces the adjudicated verdict.
verdict_matches
Whether a produced row outcome reproduces the adjudicated verdict.