Visualizations
Tools for looking at traces, bots and training runs.
2 min read
The tools for looking at what the project produces: physics traces, trained bots and training runs.
| What | Tool | Page |
|---|---|---|
| Training runs, live, and real game vs RocketSim | The local Command Center (just web-dev) | Command Center |
| A trace or scenario in 3D | physlab view (just view), streamed to RLViser | RLViser replay |
| A trained bot playing | just watch, streamed to RLViser with a console summary | Watching bots |
| Charts of past runs on this site | ::TrainingChart, drawn from metrics.jsonl at build time | Training progress |
Status: Command Center, view and watch done OpenTelemetry metrics done, no spans. See Milestones & todos.
The Command Center#
A local page of the docs dev server (just web-dev, then /command-center/). It shows every
training run live, with charts, checkpoints and ratings; pairs each real-game trace with its
simulator traces and charts their errors tick by tick; and runs common commands as buttons. It needs
your local runs/ and recordings/, so it is never part of the published site. Details:
Command Center.
3D: RLViser#
RLViser is a 3D viewer for RocketSim, vendored in vendor/rlviser and built with
just rlviser. A browser build of it plays snapshots on pages and live streams in the Command Center.
Everything shown in 3D goes through physlab view, which opens RLViser when it isn't running:
just view <trace>replays a recorded trace at real time (--loop,--speed).just view --live <scenario>runs a scenario in RocketSim now and streams it.just watch <run or checkpoint>plays a trained policy and streams each game throughphyslab view --live.
Trained bots: just watch#
just watch plays a checkpoint against the scripted ball chaser, itself or another checkpoint, and
prints one line per game. --follow tracks a run that is still training; --progression plays a
run's checkpoints in order from the same kickoff. Details: Watching bots.
Charts on this site#
Every training run writes runs/<run>/metrics.jsonl, one JSON line per update, evaluation and
rating. The site's charts (::TrainingChart) snapshot selected metrics when the site is built.
Training progress uses them for the main 1v1 run, the
single-agent aerial curriculum and the A/B experiments.
Telemetry#
Each run writes metrics.jsonl and a few other files. Training and the physlab CLI also export
OpenTelemetry metrics, which the Command Center charts live (Telemetry).