Skip to content
Developer Preview

load_transcript

Parses one scenario’s transcript.ndjson.

Function in muse_code

load_transcript(scenario_dir: Path) -> Transcript

Name Type Description
scenario_dir The scenario directory.

The parsed transcript, fold not yet run.

Raises Description
ValueError A line is not the {"dir","raw"} shape or its raw is not one standalone JSON object (the format contract, schema/msp/transcripts/README.md).
Source

clients/sdk-py/src/muse_code/replay.py:96