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§
- Recorded
Request - One recorded request key (matching = method + path suffix + step).
- Recorded
Response - One recorded response in a transcript entry.
- Transcript
- A whole transcript document.
- Transcript
Entry - One case×format×row sequence with its adjudicated verdict.
- Transcript
Player - The player: a
StepDriveranswering from recorded exchanges. - Transcript
Step - The adjudicated expectation for one step exchange.
Enums§
- Expected
Verdict - 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.