Buckets:
| # Environment tests (`envtest/envtest_v1/` in the bucket) | |
| Evaluation only: no policy was trained for this. Every saved policy of the curriculum ladder was driven at each of | |
| eight environments, alone and in traffic, and the final fleets were also driven at several traffic volumes. Traffic | |
| lights are off everywhere. Actions are the policy mean (no sampling). Five seeds (1 to 5). | |
| Code: `sbcs/envtest.py` (the test), `cluster/envtest_manifest.py` (the list of tests), `cluster/envtest.sbatch`. | |
| Copies are in `envtest/envtest_v1/code/`. Run on Vega, October 2026, on the final environment (code 4e01956). | |
| ## What it answers | |
| | Paper item | Use | | |
| |---|---| | |
| | 3. Learning growth per environment | rows and trips of the stage ladder (A1 to B3) at one environment | | |
| | 3a, 3b. Metric and numbers per environment | trips (outcome, time, stops, distance) and rows (cost parts, speed) | | |
| | 3c. Variable traffic volume | the final fleets at 1 to 12 cars (unit scenes) and 1 to 48 cars (grid, city) | | |
| | 3d. Trajectory distributions, human-like behaviour | `traj` (positions every 0.2 s) and `events` (who went first) | | |
| | 4. Direct PPO, curriculum PPO, PPO-Lagrangian | the final fleets side by side at every environment and volume | | |
| | 5. Safety factors | cost parts per car-step in rows; TTC and PET per conflict in events; crash trips | | |
| ## The eight environments | |
| | Environment | Scene | Usual cars | Note | | |
| |---|---|---|---| | |
| | Straight road | `school_street` | 8 | a 320 m street with kerb parking: a trip pulls out, drives and parks at least 40 m on (median trip about 50 m). It is a street move, not highway cruising | | |
| | T-junction | `site_t` | 8 | | | |
| | 4-way crossing | `cross` | 8 | | | |
| | Roundabout | `roundabout` | 8 | | | |
| | Highway ramp | `merge` | 8 | one on-ramp joining a highway. No fleet trained here in traffic (only the driving school, alone). Many crashes happen in the entry queue before the ramp: split trips by end position (`x1`) | | |
| | Diamond interchange | `site_diamond` | 8 | off-ramps and on-ramps. Every freeway entry must take the exit: outcome `wrong` = missed exit | | |
| | Street grid | `city@sw` | 16 | the south-west district of the city (9 T-junctions, 2 crossings, 1 roundabout); the whole map is loaded, trips start and end in the district | | |
| | Full city | `city` | 24 | trips of 100 to 450 m anywhere | | |
| "Usual cars" is what the traffic curriculum trained with. Unit scenes have 15 to 62 spawn places, so their volume | |
| levels stop at 12. | |
| ## The fleets (per seed s) | |
| | Stage | Run id | Trained on | | |
| |---|---|---| | |
| | A1 to A6 | `v5-school-O-full-s{s}-A1-street` ... `-A6-test` | driving school, one car: street, highway, lane change and ramp, curves, turns, all mixed | | |
| | A7 | `v6-school-O-full-s{s}-A7-city` | one car: the city's junction designs and whole-city trips | | |
| | B1, B2, B3 | `v6-S2-cur-{none,d0.00158,d0.00079}-s{s}-B1-sites`, `-B2-districts`, `-B3-city` | traffic curriculum: 8 cars at junction sites, 16 in districts, 24 in the city | | |
| | direct | `v6-S2-dir-{none,d0.00158}-s{s}-B3-city`, `v6r2-S2-dir-d0.00079-s{s}-B3-city` | the city only, same total steps | | |
| | polished | `v6x-pol-std-{none,d0.00158}-s{s}-P-city` | the direct fleet, 60M more steps in the city | | |
| `none` = plain PPO; `d0.00158` and `d0.00079` = PPO-Lagrangian at 1/2 and 1/4 of the unconstrained cost. A1 to A7 are | |
| one network (it drives every car). From B1 on a fleet is eight independent networks ("operators"). | |
| Tests: every fleet at every environment with 1 car and with the usual number. The final fleets (A7, the six B3 | |
| fleets, the two polished ones) also at 1, 2, 4, 8, 12 cars (unit scenes) and 1, 8, 16, 24, 32, 48 cars (grid, city). | |
| 2,850 tests. | |
| ## Files | |
| `NNNN` is the task number (64 tests per task). Every table has `test` (the test number), `fleet`, `scene`, `n`. | |
| | File | One line per | Main columns | | |
| |---|---|---| | |
| | `NNNN.parquet` | test | `steps` (car-steps), `sim_s`, `speed` and `stopped` (sums over `seen` car-steps; speed in m/s), `cost`, `cost_collision`, `cost_ttc`, `cost_pet`, `cost_road`, `inf_offside`, `inf_kerb`, `inf_reroute`, trip counts `arrive`, `crash`, `out`, `wrong`, `timeout`, `events`, `complete`, `event_collisions`, `wait_mean`, `operators`, `lagrangian`, `budget`, `train_scene`, `error` | | |
| | `trips_NNNN.parquet` | trip | `outcome`, `cause` (of leaving the road), `t0`, `t1` (s in the episode), `seconds`, `stopped` (s below 0.5 m/s), `dist` (m), `cost`, `x0`, `y0`, `x1`, `y1`, `episode`, `slot`, `operator` | | |
| | `events_NNNN.parquet` | junction or merge conflict | `site_kind`, `relation`, `first`, `a_yields`, `pet`, `ttc_min`, `collision`, `complete`, per side `a_`/`b_`: `wait`, `eta`, `speed`, `move`, `arrive_t`, `pass_t`, `on_ring`, `ramp`, `slot` | | |
| | `traj_NNNN.parquet` | car every 0.2 s, first 100 s of the test | `episode`, `step`, `slot`, `x`, `y`, `heading`, `speed` | | |
| Outcomes: `arrive`; `crash` (hit another car); `out` (left the road); `wrong` (missed a turn with no way back); | |
| `timeout` (stood 30 s, or the trip took over 100 s). | |
| ## How to read them | |
| - An episode keeps n cars on the road for 100 s (a finished car is replaced at once; a failed one after 1 s). After | |
| that nobody is replaced and the episode ends when the last trip does. The per-step totals of a row count the first | |
| 100 s only, where the volume is n. | |
| - Outcome shares: from the row counts or the trips table. Every trip started at full volume. | |
| - Rates per time or per car-step (arrivals per minute, conflicts per car-step): from the trips table (`t0`, `t1`) and | |
| from events with `t_open` below 100 s. Do not divide a row count by `sim_s` or `steps`. | |
| - Cost per car-step = `cost / steps`; the same for each cost part. Mean speed = `speed / seen`. | |
| - All collisions = `crash` trips and `cost_collision`. `event_collisions` are only those inside a recorded conflict. | |
| - Free-flow travel time for the delay in traffic: the same fleet's one-car test at the same environment. | |
| - One-car tests: an episode ends at the first failed trip, so weak operators drive less. Average per `operator`. | |
| - The straight road has no conflict events (no crossing paths) and merge events have no PET. TTC there can be computed | |
| from `traj`. | |
| - A test with `error` not empty did not run; its other columns are empty. | |
| - The same environment seed (`seed` = 9000 + s) is used for every fleet of seed s. | |
| ## Limits | |
| - Growth is measured between stages (the saved policy at the end of each stage), not step by step inside a stage. | |
| Curves over training steps are in each run's `metrics.jsonl`, mixed over the scenes of that stage. | |
| - Fleets trained in the city are outside their training conditions at the small scenes, and above 24 cars. | |
| - A test is 400 s at full volume for 8 or more cars (3,200 s for one car): about 100 to 250 trips, 5 to 40 complete | |
| conflicts. Pool seeds for rates; that is too few conflicts to read one fleet's right-of-way rule at one site. | |
Xet Storage Details
- Size:
- 6.86 kB
- Xet hash:
- 3d4367b7e450b7256bcad8a0d98d5c362a03f9f3eeff6bcffe315399c34623ce
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.