You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tighten example test assertions with empirical bounds
Replace loose "didn't explode" tests with tight empirical bounds
across all 49 example files. Run each example, capture the final
body/particle state, and write assertions against the observed values.
- Fill 5 previously-empty test_final() stubs (3 IK, UR10,
cable_bundle_hysteresis) with real physics checks
- Add centroid, bounding-box, and velocity checks to ~20 examples
that only checked "above ground"
- Tighten ~10 examples with extremely loose bounds (bbox < 10-20,
z > -0.5) to observed values + small margin
- Add CPU vs CUDA guards where frame counts differ significantly
- Tolerances: ±2 % body positions, ±5 % particle centroids,
1.5x observed peak velocity
Skipped examples that were already tight: cartpole, basic_joints,
brick_stacking, diffsim (6), sensor_contact, selection_cartpole.
0 commit comments