Command Center

A local control panel for training runs, trace comparisons and commands.

5 min read

The Command Center is a page of this site that only exists when you run it on your own machine. It shows what is training and how runs are going, compares simulator and real-game traces, and runs the repo's commands as buttons.

sh
just web-dev    # then open http://localhost:4321/command-center/

It is never part of the published site: it needs your local runs/ folder, your GPU and your shell.

It has seven tabs, each with its own URL: Runs, Standing, Review, Actions & jobs, Sim vs real, Telemetry and Viewer. A job you start shows its output right away: beside the recipes on Actions & jobs, and in a dock at the bottom of the other tabs.

What it shows#

Training runs#

Every run under runs/, updated live. The Eval column is a match run's score against the strongest opponent it was evaluated against (Nexto, Necto, then the ball chaser) or a task run's held-out success rate. Select a run to see:

  • A summary in plain words, with the details behind a "What it trains" disclosure: the task, its success and episode rules, the observation, opponents and evaluation, the learner (including its speed flags), run info, and the reward table with the source of each term.

  • Headline numbers: status, stop reason, wall time, updates, steps per second, the best checkpoint, the score against earlier checkpoints, the idle-car baseline, the opponent pool size and the top of the league.

  • Live charts of any metric the run logs, from presets (reward components among them) or a metric picker. Overlay up to two other runs (dashed and dotted), with a "How these runs differ" table.

  • Checkpoints: evaluation score with its confidence interval, ratings, and badges for the best and final ones.

  • Ratings: the in-run ratings and the league round robin.

  • Standalone evaluations: wins, draws and losses, and the score with its confidence interval.

  • Exported evaluation games, each with a "Replay in RLViser" button.

Standing#

Where our best checkpoints rank against the community bots Necto and Nexto and the scripted ball chaser:

  • Our best vs each bot: wins, draws and losses, and the score with its confidence interval.

  • Ladder: ratings on the Elo scale (ball chaser = 1000), fitted from every checkpoint's games against the bots with the same model as the in-run ratings.

  • How the games are played: touches, shots, dodges, speed flips and half flips per game, ours and theirs.

  • Evaluated checkpoints: every checkpoint that has played Necto or Nexto, with a Watch button.

A checkpoint appears once just eval-bots has evaluated it, or when its run trains with --eval-bots.

Review#

Why goals happen (A2). It lists every goal of the games a loss taxonomy exported, sorted into categories by rules (just taxonomy <ckpt> writes runs/<run>/eval/<name>.taxonomy.json).

  • Category breakdown per opponent: count and share with its 95% interval, by primary category and by any category, for goals conceded and scored.

  • Goals, filtered by opponent, conceded or scored, and category. Replay last 5 s streams the game to RLViser from 5 s before the goal (just view --live <scenario> --from-tick <tick>; the game is still simulated from the start, so it stays bit-exact).

  • Labels: confirm the rules' primary category, pick another, or mark it unclear, with a note. Labels are saved beside the taxonomy (<name>.taxonomy.labels.json).

  • Labels vs rules: progress toward 30 labelled goals, agreement per category, and Next unlabelled goal.

Sim vs real comparisons#

Every real-game trace in recordings/, paired with each simulator trace of the same scenario. The list shows the aligned ticks, the ball's maximum position error, the first tick where the two diverge, and whether contacts happen on the same ticks. For a pair without a report, Compare runs just compare … --out reports/….json as a job.

Select a pair to see:

  • the runners and their versions, the number of samples, the tick rate, the tolerance and the first divergence;

  • error statistics (median, p95, max, RMS), the error at fixed horizons, and contact agreement;

  • charts of position, velocity and angular velocity per axis, with the reference solid and the other trace dashed, the per-tick error, and the divergence tick marked;

  • orientation error, for cars.

How the comparison works: Simulation accuracy.

Viewer#

RLViser in the page, showing whatever streams to UDP port 40244. Watch in browser on a run plays its bot here (the watch mode picker applies). From a terminal:

sh
just watch runs/selfplay/<id> --follow --port 40244
just view recordings/x.rocketsim.jsonl --port 40244

The viewer is built by just rlviser-web; until then the tab says so. Click the viewer to give it the keyboard (the same keys as RLViser).

$1

  • Commands: every just recipe, grouped and searchable, with fields for its arguments. Common ones (lint, tests, CI, scenario validation, the anti-cheat check) have their own buttons.

  • Jobs: everything started from the page, with live output and a Cancel button.

  • Watch a run in RLViser: plays the selected run's bot and opens RLViser (RLViser), or in the Viewer tab with Watch in browser.

  • GPU status: load, memory and temperature.

  • Telemetry: live charts of the OpenTelemetry metrics that training and physlab commands send it (Telemetry).

Safety#

  • It only answers requests from your own machine (localhost). The Viewer's feed listens on 127.0.0.1 only.

  • It only runs recipes that exist in the justfile, and passes arguments directly, never through a shell.

  • Long or risky recipes (training, anything that changes files or launches the game) ask you to confirm first.

  • Cancel stops a job and everything it started.

Not there yet#

  • Not carried over from the old tools: 3D and top-down path plots, an event timeline, a tick scrubber, charts against wall-clock time, and a static HTML export.

  • Play against a checkpoint in the real game: needs the RLBot integration (Play against the bot).