Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
c89b412
ci: pin Ubuntu runners to 22.04
WCJ-BERT Nov 5, 2026
abc081b
feat(bwm): import Behavior World Model snapshot
WCJ-BERT Jul 23, 2026
33d81e8
feat(bwm): add layered generation config loading
WCJ-BERT Jul 23, 2026
e135192
feat(bwm): add compatible pipeline config entry
WCJ-BERT Jul 23, 2026
89d236e
feat(bwm): make runtime paths portable
WCJ-BERT Jul 23, 2026
d8bd703
refactor(bwm): trim inference runtime dependencies
WCJ-BERT Jul 23, 2026
96a6a7b
feat(bwm): add public generation launcher
WCJ-BERT Jul 23, 2026
4624429
build(bwm): define reproducible inference environment
WCJ-BERT Jul 23, 2026
e847ab6
feat(bwm): define publication paths
WCJ-BERT Jul 23, 2026
b0f915c
feat(bwm): publish augmented scenarios safely
WCJ-BERT Jul 23, 2026
ad7a833
feat(bwm): expose scenario publication
WCJ-BERT Jul 23, 2026
dbcd2a4
refactor(bwm): require layered generation configs
WCJ-BERT Jul 23, 2026
64cdcb1
refactor(bwm): remove unsupported entrypoints
WCJ-BERT Jul 23, 2026
1285d04
refactor(bwm): isolate generation package imports
WCJ-BERT Jul 23, 2026
d065155
refactor(bwm): remove Waymo training support
WCJ-BERT Jul 23, 2026
6da503f
refactor(bwm): remove legacy generation helpers
WCJ-BERT Jul 23, 2026
8924779
refactor(bwm): trim third-party runtime surface
WCJ-BERT Jul 23, 2026
96a8d25
refactor(bwm): remove training and simulation infrastructure
WCJ-BERT Jul 23, 2026
c3063f3
refactor(bwm): reduce source to inference closure
WCJ-BERT Jul 23, 2026
04a78cd
refactor(bwm): remove private runtime assumptions
WCJ-BERT Jul 23, 2026
37c81f6
docs(bwm): add public inference usage guide
WCJ-BERT Jul 23, 2026
d86c68e
fix(bwm): load inference checkpoint metadata safely
WCJ-BERT Jul 23, 2026
d7df8da
fix(bwm): align lane geometry with training features
WCJ-BERT Oct 9, 2026
029b7c0
fix(bwm): correct route caching and goal conditioning
WCJ-BERT Oct 9, 2026
7a172d8
fix(bwm): use complete native drivable geometry for DAC
WCJ-BERT Oct 9, 2026
8b78b62
fix(bwm): honor log and token scene filters
WCJ-BERT Oct 9, 2026
8cc2be4
fix(bwm): wire generation budgets and output controls
WCJ-BERT Oct 9, 2026
4f52bbd
fix(bwm): align scene timestamps and ego poses with SimEngine
WCJ-BERT Dec 3, 2026
54fce55
chore(bwm): translate inference comments and diagnostics to English
WCJ-BERT Dec 3, 2026
804ba94
docs(bwm): document quality gates and rollout fine-tuning workflow
WCJ-BERT Dec 3, 2026
393193e
fix(bwm): reject invalid attack goals and discontinuous motion
WCJ-BERT Dec 4, 2026
6beb064
fix(simengine): align NC object states with collision frames
WCJ-BERT Dec 4, 2026
47c5037
docs(bwm): link the published inference checkpoint
WCJ-BERT Dec 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
lint:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.8", "3.9"]
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
continue-on-error: true

type-check:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -76,7 +76,7 @@ jobs:
continue-on-error: true

markdown-lint:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -89,7 +89,7 @@ jobs:
continue-on-error: true

check-dependencies:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
syntax-check:
name: Python Syntax Check
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.8", "3.9"]
Expand All @@ -30,7 +30,7 @@ jobs:

import-check:
name: Import Check
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -54,7 +54,7 @@ jobs:
# This is a placeholder for future integration with self-hosted runners
integration-tests:
name: Integration Tests (Placeholder)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -74,7 +74,7 @@ jobs:

documentation-build:
name: Check Documentation
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
27 changes: 21 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
- [Deep Dive by Module](#deep-dive-by-module)
- [SimEngine - Photorealistic Closed-Loop Simulation](#simengine---photorealistic-closed-loop-simulation)
- [AlgEngine - End-to-End Model Training \& Fine-Tuning](#algengine---end-to-end-model-training--fine-tuning)
- [Behavior World Model (BWM)](#behavior-world-model-bwm)
- [Scene Reconstruction - 3D Gaussian Splatting-based method, MTGS](#scene-reconstruction---3d-gaussian-splatting-based-method-mtgs)
- [Citation](#citation)
- [Contributing](#contributing)
Expand Down Expand Up @@ -138,13 +139,14 @@ Zero disengagements in 200 km on-road testing on a mass-produced ADAS platform.

## System Architecture

WorldEngine consists of two tightly coupled subsystems:
WorldEngine consists of three tightly coupled core modules:


| Module | Function | Core Technology |
|--------|----------|----------------|
| **[SimEngine](docs/WE_simulation.md)** | Closed-loop simulation with ego & agents | Hydra, Ray, rendering |
| **[AlgEngine](docs/AlgEngine.md)** | End-to-end model training & evaluation | MMDetection3D, UniAD/VADv2/HydraMDP |
| **[SimEngine](docs/simengine_usage.md)** | Closed-loop simulation with ego & agents | Hydra, Ray, rendering |
| **[AlgEngine](docs/algengine_usage.md)** | End-to-end model training & evaluation | MMDetection3D, UniAD/VADv2/HydraMDP |
| **[Behavior World Model](docs/bwm_usage.md)** | Behavior-driven scenario generation and publication | PyTorch, diffusion modeling, Hydra |


## Roadmap
Expand All @@ -157,7 +159,7 @@ WorldEngine consists of two tightly coupled subsystems:
- [x] Open-source release (code, data, early pre-trained models)
- [x] arXiv preprint
- [x] Stable pre-trained models
- [ ] Behavior World Model integration
- [x] Behavior World Model integration


## Getting Started
Expand All @@ -168,15 +170,16 @@ WorldEngine provides comprehensive guides for each stage of your workflow:

| Guide | Purpose | Key Topics |
|-------|---------|------------|
| **[Installation](docs/installation.md)** | Set up both conda environments | Two-environment setup (simengine + algengine), dependencies, troubleshooting |
| **[Installation](docs/installation.md)** | Set up module environments | SimEngine, AlgEngine, and BWM environments, dependencies, troubleshooting |
| **[Data Organization](docs/data_organization.md)** | Prepare datasets and checkpoints | Data structure, Hugging Face/ModelScope downloads, symlinks |
| **[Quick Start](docs/quick_start.md)** | Run your first experiment in 5 min | Quick test tutorial, understanding results, complete pipeline |
| **[SimEngine Usage](docs/simengine_usage.md)** | Master closed-loop simulation | Rollout scripts, distributed testing, configuration, metrics |
| **[AlgEngine Usage](docs/algengine_usage.md)** | Train and fine-tune models | Training from scratch, evaluation, rare case extraction, RL fine-tuning |
| **[BWM Usage](docs/bwm_usage.md)** | Generate augmented scenarios | Layered config, inference, quality gates, SimEngine publication |

### Installation

WorldEngine requires **two separate conda environments** due to different Python requirements.
WorldEngine uses **three separate conda environments** for SimEngine, AlgEngine, and BWM.

**Full installation guide:** [docs/installation.md](docs/installation.md)

Expand Down Expand Up @@ -231,6 +234,18 @@ Learn how to train models, extract rare cases, and fine-tune:

**[AlgEngine Usage Guide](docs/algengine_usage.md)**

#### Behavior World Model (BWM)

Generate behaviorally varied scenarios from selected nuPlan scenes and
publish them for SimEngine:

- **Layered configuration** shared with AlgEngine SceneFilter selections
- **Pre-trained inference** in the dedicated `bwm` environment
- **Quality-gated generation** using trajectory, collision, and drivable-area checks
- **Atomic publication** to `data/sim_engine/scenarios/augmented/`

**[BWM Usage Guide](docs/bwm_usage.md)**

#### Scene Reconstruction - 3D Gaussian Splatting-based method, MTGS

WorldEngine's simulation environments are powered by 3D Gaussian Splatting (MTGS):
Expand Down
Loading
Loading