"""Exports of a run — where student-specific choices are made. export/train[.
Faded frames are history (the preceding macro of a mid-chain task). Actions are in recording-viewport " "pixels. Check that each accepted trajectory really completes the instruction.
" + "".join(parts)) (out / f"{macro}.html").write_text(page) (out / f"{macro}_sample.jsonl").write_text("".join(json.dumps(r, ensure_ascii=False) + "\n" for r in rows)) return out / f"{macro}.html", len(trajs)