Repository navigation
v1.0.0-rc1: integrate BWM generation and fix NC state alignment - #16
Merged
Merged
Conversation
Select attackers from nearby candidates with complete history and choose direction-compatible lane goals. Reject failed trajectory optimization and validate generated motion before export, with configurable limits and updated usage documentation. Validation: static checks only; runtime tests were not run.
Index replay objects by frame and use the contact sample for NC classification. Keep replay geometry and object state on the same sampling grid while preserving constant-velocity prediction and existing initial-object consumers. Validation: static syntax checks, diff checks, and code review; runtime tests were not run.
WCJ-BERT
marked this pull request as ready for review
December 4, 2026 10:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Description
Prepare the
v1.0.0-rc1integration candidate with a portable Behavior World Model (BWM) generation workflow and SimEngine-compatible scenario publication. Reject invalid attack goals, failed optimization, and discontinuous generated motion, and fix NC classification using stale object states.This is a release candidate: current-head runtime and GPU validation remain pending.
Type of Change
Motivation and Context
BWM needs a reproducible path from scene selection through generation to scenarios consumable by SimEngine. Invalid terminal goals and optimizer fallbacks can produce abrupt trajectory boundaries. Separately, SimEngine NC previously combined contact-frame geometry with a first-seen object velocity, allowing the same contact to be classified differently across scoring windows.
Changes Made
scripts/run_bwm.sh validate|generate|publishentrypoints.Related Issues
No linked issue.
Testing
git diff --check 804ba944..6beb0641for the BWM and NC fix commits, and the documentation update's staged diff check.git diff --check origin/main...HEADreports 707 trailing-whitespace/blank-EOF findings in 29 files, primarily from the imported BWM source; cleanup remains outstanding.Performance Impact
NC replay indexing adds dictionaries of references to existing tracked objects; objects are not deep-copied per frame. Motion validation adds candidate checks and stricter rejection may reduce generation yield. Runtime and memory impact have not been benchmarked.
Documentation
Compatibility and Dependencies
Existing public SimEngine entrypoints remain unchanged. BWM uses its dedicated Python 3.9 / PyTorch 2.3 / CUDA 12.1 environment and pinned inference dependencies. Motion thresholds are provisional and require calibration on generated data. Existing staged scenarios are not revalidated by publishing; use a new scenario name for regeneration.
Checklist
origin/main(13463cf1)Additional Notes
v1.0.0-rc1is the proposed candidate designation for this PR. This PR does not create a release/tag or bump the existing0.1.0package metadata.NC still means no-at-fault collisions. Unconditional all-collision training-reward gating, including rear contact, is not implemented by this PR.