DeepanSadhukhan/sbcs / HANDOFF.md
DeepanSadhukhan's picture
|
download
raw
6.3 kB
# Handoff, 13 October 2026
For the next session, which has Vega access, the Hugging Face bucket `DeepanSadhukhan/sbcs` and the professor's plan.
Read this first, then `GUIDE.md` (the bucket guide) and `envtest/SCENARIOS.md` in the bucket.
## What the professor asked for, and where it is
| His point | Status | Where |
|---|---|---|
| Eight scenarios, each trained independently | Done: 7 small scenarios (355 runs with the city baseline); crossing also in Study 1; full city in Study 2 | `runs/v7-iso-*`, `runs/v5r-S1-*`, `runs/v6-S2-dir-*` |
| 1. Conflict definition and performance measure per scenario | Written | `envtest/SCENARIOS.md` |
| 2. Visualisation per scenario (heat maps, conflict points) | Working figures done; paper-style figures not | `envtest/report/*_heatmap.png` and others |
| 3. Variable traffic volume | Done, every fleet | `envtest/envtest_iso*`, `envtest/envtest_v1` |
| 4. Variable constraint level | Done: none, 1/2, 1/4, 1/10, fixed price 1 and 4 | same |
| 5. Human behaviours, numbers and examples | Numbers done (first come first served, yield to the right, ring priority, mainline priority, waits, gaps). Written interpretation and picked example clips not done | `envtest/report/*_behaviour.csv`, the "Who goes first" tables |
| Models: direct PPO, curriculum PPO, PPO-Lagrangian, all variants | Result tables done for every scenario | `envtest/report/*_results.csv`, `*.md` |
| Ablations | Done earlier (crossing, city) | `GUIDE.md`, sections C to E |
| Comparison with other methods | Shared-network PPO, MAPPO, MAPPO-Lagrangian, CoPO-style, fixed-penalty PPO at 7 scenarios; shared-network PPO in the city | `envtest/envtest_isosota`, `envtest/report` |
## Headline results (share of trips that arrive, usual number of cars, 5 seeds)
- Independent PPO trained at the scenario: 57 to 88 %. It beats the school graduate at the small scenarios.
- Independent PPO-Lagrangian stalls: at a 1/4 budget 2 to 15 % at junction scenarios (on-ramp 51 %). Risk cost falls
mostly because cars stand still.
- Shared-network PPO: 75 to 96 %. MAPPO: 74 to 95 %. MAPPO-Lagrangian at 1/2: 84 to 96 %, best at all seven small
scenarios with the lowest crash share.
- Full city, 24 cars: shared-network PPO 95 %, independent direct PPO 65 %, with 60M more steps 82 %, school graduate 80 %.
- Reading: the freeze comes from independent learning under a budget, not from the budget. Independent fleets are the
hard setting where rules must emerge without sharing, and they pay for it.
## Honesty rules for the paper
- MAPPO, MAPPO-Lagrangian and the CoPO-style method are our own re-implementations in `sbcs/ppo_lag.py`
(`Cfg.critic="central"`, `Cfg.coord`), run once with our settings. The CoPO-style one uses a fixed angle and all cars
of the scene as neighbours: it is CoPO's idea, not CoPO. MACPO was not implemented.
- Budgets are the two (three) absolute numbers of Studies 1 and 2 at every scenario, not rescaled per scenario.
- Growth along the curriculum is not monotone: the school graduate does better in 24-car city traffic (80 %) than
fleets after traffic training without a budget (64 to 65 %).
- Training-time conflict records and replays of the `v7-iso` runs are partial (about the first two thirds of training
for most runs). Final behaviour comes from the tests.
- `v5r-S1x-cross-O-full-lam4-s6`, `-s11`, `-s14` stopped at 59.0 to 59.9M of 60M steps; the first paper says 60M.
## Not done
- Paper-style figures, the written behaviour analysis with example clips, the new paper text.
- MAPPO-Lagrangian in the full city; CoPO with its learned angle; a baseline trained without the driving school.
- Decision on the three short fixed-price runs (finish or footnote).
- Nothing since commit 4e01956 is committed. New files: `sbcs/envtest.py`, `cluster/envtest*.{py,sbatch}`,
`cluster/iso*.{py,sbatch}`, `cluster/report_scenarios.py`, `cluster/push_mirror.py`, `tests/test_envtest.py`,
`docs/{envtest,scenarios,bucket_guide,project_in_simple_words,handoff_2026-10-13}.md`, `reports/scenarios*`,
`artifacts/school/`, `vega_archive_2026-10-13/`; changed: `sbcs/{ppo_lag,telemetry,crossplay,traffic_curriculum,live}.py`,
the viewer sources.
## Vega (trimmed on 15 October)
- `~/sbcs` now holds only: `sbcs.sif` (the container), `sbcs/`, `cluster/`, `tests/`, `VERSION` (the current code, identical
to this repository's working tree, version `4e01956+iso`, uncommitted), and empty `logs/` and `manifests/`. Submit jobs
from `~/sbcs`. Driver policies are not staged: run `cluster/stage_policies.py` (or the trainer downloads them).
- Everything removed was first copied here: Vega-only files (patched Study 1 code, rule-injection data, scripts) in
`vega_archive_2026-10-15/`, all logs and job lists in `vega_archive_2026-10-15/vega_logs_and_manifests.tgz`,
older small files in `vega_archive_2026-10-13/`. Older code versions are in git history (1b4a88a, dd11851, 9185751).
- The partial training records of the `v7-iso` runs (conflict records and replays, 1.8 GB) were copied off Vega and
uploaded to the bucket on 15 October; nothing of them is left on Vega.
- **Quota:** the home folder has 100 GiB for the whole shared account. Check before writing:
`getfattr -n ceph.dir.rbytes --only-values ~` against 107374182400. A 12 GB copy of checkpoints filled it on
12 October and stopped 355 runs. There is no scratch disk.
- Uploads from Vega to Hugging Face are unreliable. The trainer keeps checkpoint, policy and metrics in
`~/sbcs/mirror` when `SBCS_MIRROR` is set (as `cluster/iso.sbatch` does), resumes from it and deletes the checkpoint
when a run finishes. Test jobs keep their tables in `~/sbcs/envtest_out/<set>` when the upload fails.
- Node `cn0644` failed jobs at start ("unknown userid"); rerun such tasks. Tasks can sit "requeued held" after a node
failure: `scontrol release <ids>`.
- Other people run `rs-*` jobs on the same account. Never touch them.
## How to rebuild the report
Download the test folders (`envtest/envtest_v1`, `envtest_iso`, `envtest_isoextra`, `envtest_isosota`,
`envtest_isocity`) and the runs' `metrics.jsonl`, export the maps (`python web/export_maps.py DIR`), then:
python cluster/report_scenarios.py --data D1,D2,D3,D4,D5 --maps MAPS --runs RUNS --out reports/scenarios

Xet Storage Details

Size:
6.3 kB
·
Xet hash:
93a4f6f60d7aca3cb4c3d55a0c85d80930e752121cbd448cb0990261598acec9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.