Milestones & todos
What's done, in progress and next, as of 2026-10-16.
11 min read
What works today, what's in progress, and what comes next, for each part of the project. Details live on the linked pages.
Milestones at a glance#
There are two tracks. M milestones are about physics: measuring RocketSim against the real game
and making it match. T milestones are about training a bot. The short IDs still appear in a few
recipe names and code comments (just m1 runs the real-game ball drop).
| ID | Milestone | What it means | Status |
|---|---|---|---|
| M0 | Baseline | Scenario schema, RocketSim runner, compare, determinism | done |
| M1 | Real-game ball drop | BakkesMod harness, real captures vs RocketSim | done |
| M2 | Ball collision accuracy | 37-scenario ball suite + one-step replay tool | largely done, not closed |
| M3 | Cars in the real game | Drive cars through the harness: car physics, car–ball and car–car contacts | in progress: car physics, car–ball and flips done; car–car and car one-tick replay not started |
| M4 | Accuracy improvement | Patch RocketSim where it differs | P1 shipped; P2 found |
| M4.P2 | Small boost pad radius | The game gives boost from about 176 uu, RocketSim from 144; replay benchmark 91.85% → 92.24% | confirmed in the real game, not vendored |
| M5 | GPU research (optional) | The gpu-sim stages | ball + arena and car free flight done |
| T0 | RL environment | Batched Rust env + Python bindings | done |
| T1 | Single-agent curriculum | Ground and aerial touch tasks | done |
| T2 | Mechanics curricula | Flip resets, air dribbles, … | not started |
| T3 | Self-play | Match play, opponent pool, ratings | 1v1 done; 2v2 untrained |
| T4 | Real-game play | Run the bot in the real game through RLBot | not started |
| T5 | Scaling study | Pick the network size and recipe for a 3-week final run (Scaling study) | planned |
| – | Rust learner | The PPO learner in Rust, side by side with the Python one | single-agent on tch done; candle and burn compared |
| – | Observability | OpenTelemetry | metrics done; no spans or collector |
| – | CI | Checks on every push, with the collision meshes | not started |
| – | Lint & types | just ci formats, lints and type-checks every language in the repo | Rust, TypeScript and Python (Ruff, ty) done |
Simulation accuracy#
real-game ball drop done ball suite largely done car suite done in Free Play car–car not started
First comparison: a ball dropped from 500 uu, captured 5 times in the real game. Over 240 ticks RocketSim is within 0.005 uu of position and 0.009 uu/s of velocity, and all 5 captures are identical.
Ball suite: 37 scenarios, up to 15 s. Replayed one tick at a time, RocketSim matches the game on 18,889 of 18,900 steps. The misses are contacts at mesh seams.
Car suite: the plugin now drives the Free Play car. 34 car, 8 car–ball and 5 flip scenarios run in the real game. Jumps, landings and air control match at the measurement floor; driving, flips and car–ball hits within 0.05 uu; steering within 0.5 uu. Car orientation and input signs are verified.
Differences found: D1, fixed by patch P1. D2 was mostly a replay-tool bug; 11 steps remain unexplained. D3: when a car lands exactly flat on a face or edge, the game and RocketSim resolve the contact as mirror images; no patch. D4: small boost pads give boost from about 176 uu in the game and 144 uu in RocketSim; candidate patch P2.
Boost pads: 25
car-pad-*scenarios, captured twice each, pin down the pickup radius of small and big pads.Open: car–ball touches and other contacts in real captures are only seen indirectly.
Next: replay car captures one tick at a time, confirm P1's grid on car spin, and find a way to run two cars for the car–car scenarios.
All real-game work needs the game launched without anti-cheat (Running the real-game harness).
Details: Simulation accuracy, Sim vs real differences.
RocketSim patches#
P1 vendored P2 candidate not yet reported upstream
P1 puts angular velocity on the game's 1e-4 rad/s grid. It cuts 10 s rolling errors from up to 6.59 uu to under 0.02 uu, and lifts RocketSim's own replay benchmark from 91.08% to 91.85%.
P2 (candidate) would raise the small boost pad radius from 144 to 176 uu. Real-game captures confirm the radius, and in a scratch copy it lifts the replay benchmark from 91.85% to 92.24% with no category worse. Not vendored yet: the training environment's bit-exact replay tests need their episodes re-exported.
Replay-tool bugs to report: RocketSim's replay tool applies the car–ball extra impulse wrongly on the tick after one fires, and feeds held inputs to the sim during kickoff countdowns. Neither is physics.
Next: vendor P2, report P1, P2 and the replay-tool bugs upstream, and confirm the grid on car angular velocity in real captures.
Details: RocketSim patches.
RL environment#
done
RocketSim arenas stepped in batches by a Rust environment (crates/rlenv), with Python bindings: single-agent tasks and 1v1–3v3
self-play matches (1v1 and 2v2 tested, only 1v1 trained). With random actions on 28 threads it runs
about 2 M agent steps/s (Benchmarks).
Open gaps: no starting states from real replays (no dataset); "shot" is an approximation; a bot run through RLBot would see one extra tick of latency.
Details: Training methodology, Match mode.
Training#
single-agent curriculum done 1v1 self-play done fast learner: default for matches
Single-agent curriculum: the final aerial-touch stage succeeds on 246 of 256 held-out episodes (0.961) after 500 M steps in 27 minutes.
Main 1v1 run: 1.024 B steps in 90 minutes. The final bot beats the scripted
ball_chaser241–15 (win rate 0.941) and its own 105 M-step checkpoint 0.949.A/B tests: the Lucy-SKG reward learns about twice as fast as a simple one; action stacking made no difference; the reward-prediction auxiliary task breaks 1v1 training and is off.
Learner speed: the fast learner, now the default for match tasks on CUDA, runs 549 k steps/s, 2.65× the old one, and reached a 0.8 score 2.2–2.8× sooner on two seeds (fixed-wall-clock A/B).
Not yet verified: fast-learner runs past ~550 M steps, and any 2v2 training.
Limitations: one seed per configuration, untuned defaults, and
--init-checkpointis a warm start, not a resume.
Details: Training methodology, Lucy-SKG coverage.
Scaling study#
planned
The final bot will come from one run of about three weeks. Before it starts, a study picks its network size and recipe:
S0: tooling.
S1: steps/s per network size.
S2: recipe check at a small and a large size.
S3: a ladder of six sizes from 0.08 M to 60 M weights, extended in rounds.
S4: architecture at the leading size.
S5: the long-run schedule.
S6: the final run.
S1 and the plain S2 runs can start now; the page's run queue lists them with their commands.
Details: Scaling study.
Rust learner (experimental)#
single-agent PPO on tch, faster than Python CUDA graphs candle and burn compared
tch learner:
crates/learnerports the single-agent PPO learner to Rust on libtorch, through the tch-rs bindings. On ground touch (2026-10-17, 3 seeds) it runs 805 k steps/s, against 687 k for the Python learner and 770 k for Python with its CUDA graphs and pipelined rollout, with the same final success. Self-play matches are not ported yet.Why compare other frameworks: libtorch is a C++ library, so everything tch-rs doesn't bind (fused Adam, CUDA streams and graphs, …) needs a small C++ wrapper of our own. candle and burn are pure-Rust frameworks that drive the GPU without libtorch. candle is small and aimed mostly at inference; burn is a full training framework with its own GPU kernels and kernel fusion.
candle and burn: the same single-agent learner on both, sharing everything but the tensor work with tch (
crates/learner-core). On ground touch (2026-10-17, 3 seeds) all three learn equally well; steady-state speed is 842 k steps/s for tch, 455 k for burn (but about 165 k over a whole run, which spends most of its time compiling and tuning kernels) and 349 k for candle, whose backward pass is the bottleneck. Neither removes native code from the build, so tch stays the Rust learner.
Details: Rust learner.
Evaluation#
done
Single-goal games from held-out kickoffs, with Wilson 95% intervals and Elo-scale ratings
(ball_chaser fixed at 1000). A round robin over the main run's 11 checkpoints rates them from 830
to 1669.
Against the community bots, the main run's final bot scores 0.164 vs Necto and 0.023 vs Nexto, so it's well below both (Against Necto and Nexto).
Open: the ratings have no intervals; nothing has been tested in full 5-minute matches, in the real game, or against humans.
Details: Evaluation.
Visualization#
Command Center replaces the HTML reports and training dashboard 3D replay done
The Command Center shows training runs live and compares
real-game and simulator traces. just view replays traces in RLViser and just watch shows a bot
playing.
Details: Visualizations.
GPU simulator (experimental)#
ball + arena, car free flight done car on flat ground next
Ball + arena (stage B1): bit-identical to RocketSim on 51 scenarios. With contacts it's about as fast as 28 CPU threads.
Car free flight (stage C1): bit-identical while no contact is possible, about 18× the CPU.
Next: car on flat ground (C2). It continues only if end-to-end training is at least 3× faster than the CPU environment.
Details: GPU simulator.
CI#
not started. The repo has no remote yet, so .github/workflows/ci.yml has never run. It would run
just ci on Linux and Windows, the determinism checks, and the BakkesMod plugin test.
Download the collision meshes from private storage (an S3 bucket, say), so arena tests run in CI instead of being skipped.
Push the repo to a remote so the workflow runs.
Linting and type checking#
Rust, TypeScript and Python vendor/rlviser/build.ts not covered
just ci runs, for the Rust code, cargo fmt and Clippy with warnings as errors. For the docs
site's TypeScript it runs just ts-check: oxfmt, oxlint with warnings as errors, tsc, the
vitest tests and the content check. vendor/rlviser/build.ts, the one TypeScript file outside the
docs site, is not covered yet.
The Python learner (python/, with its tests) uses Ruff for formatting
and linting and ty for type checking, both from Astral like uv.
Both are in the uv dev group and configured in pyproject.toml; ty is still in beta, so its
version is pinned and upgrades can bring new findings.
Lint broadly: Ruff runs every rule family. The ones that don't fit (docstring layout,
printin the CLIs, size limits on the training loop, …) are ignored one by one, each with its reason inpyproject.toml.Strict types: every ty rule is an error, except three opt-in rules whose reasons are in
pyproject.toml. Public functions are annotated, andpython/physlab_rl/_native.pyitypes the Rust extension, so ty doesn't need it built. Tensor shapes stay unchecked; numpy and torch types are only as precise as their stubs.Gate:
just cirunsjust py-fmt-checkandjust py-lint, which install only the dev tools. ty needs torch (a ~3 GB download), sojust py-typecheckruns on the synced environment and has its own CI job with a cached environment.just py-checkruns all three locally.
Docs and repo housekeeping#
not started Group the repo by area, so each folder's purpose is obvious: for example
simulation/(scenarios, the BakkesMod plugin, its scripts) andtraining/(tasks, the Python learner). Paths change almost everywhere, so do it in one dedicated pass.not started Rename the project from PhysLab (
physlab) torocketleague-mleverywhere: thephyslabCLI and crate names, thephyslab_rlPython package, the BakkesMod plugin (PhysLab.dll), the rootpackage.jsonand the docs text. The site's Worker and the R2 bucket are already namedrocketleague-ml. The Alchemy stack's name (PhyslabDocsinalchemy.run.ts) keys its deployed state, so renaming it takes abun alchemy destroyunder the old name first, then a deploy with--adoptto take back the retained bucket.done Rename the docs folder to
web/, since it holds the local Command Center as well as the docs. Its TypeScript tooling (package.json, lint and format configs) now lives at the repo root, shared withinfra/.The README's reference table has no rows for rlviser (v0.9.3), rlviser-rocketsim (
=0.1.2), RLArenaCollisionDumper, rlgym, Necto or the paper.