ctde_v0.make_report¶
make_report
¶
Build an interactive HTML report of trained-policy rollouts.
For each (label, run_dir) it replays the trained policy (same step as ppo._single_rollout,
agents colored by chosen SKILL or ROLE), exports the per-step trajectory, and writes
<out>/data.js + <out>/index.html — a self-contained canvas viewer with play / pause
/ scrub, per-agent SENSE region + COMM radius, DASHED comm links, and colored covered cells.
Open <out>/index.html in a browser (data.js loads via