Files
DynamisLab/src/drl_pinball/legacy_test/__init__.py
T
Frank14fandCursor f2f88c2442 feat(reproduce): legacy-test framework + fixed-inlet reproduce pipeline
- Track A (legacy_test): systematic validation scripts for all trained PPO
  models using LegacyCelerisLab. Each test script rebuilds the exact legacy
  CFD environment, runs deterministic inference, and compares against
  SR_analysis reference data using DTW-based comparison. Verified: Karman
  re100/re50/re200, Vortex lamb/taylor all pass (DTW > 0.95).

- Track B (reproduce): Phase 2 open-loop CFD validation + Phase 3 DRL
  inference using the legacy-compatible config (regularized inlet with
  neq_damp=1.0, matching the legacy NBB formula). The inlet scheme fix
  improves new-CFD Karman DTW from 0.916 to 0.943.

- Fixes: action_wrapper sign convention docstring, model inventory
  duplicate entries and missing models, stale config paths in legacy
  run_all_cases.py/run_illusion_vortex.py, illusion label formatting

- Add READMEs and run-all shell scripts for both tracks
- Add .gitignore entries for runtime output directories

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-12 23:09:53 +08:00

8 lines
327 B
Python

# legacy_test: Systematic validation of legacy PPO models using LegacyCelerisLab.
#
# Track A of the reproduce plan. Each test script:
# 1. Builds the correct LegacyCelerisLab env for a scene
# 2. Loads the pre-trained PPO model
# 3. Runs deterministic inference
# 4. Compares output against SR_analysis reference data