Skip to content

Deep-validation backlog fixes (ODL-120/127/129/130/132/134/136/137/139/142/143) - #58

Merged
palcode merged 3 commits into
mainfrom
fix/hacker-backlog
Nov 24, 2026
Merged

palcode merged 3 commits into
mainfrom
fix/hacker-backlog

Conversation

@palcode

@palcode palcode commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Works through the Backlog issues left from the deep validation report (ODL-116..143). Nothing here changes a gate, OpenVINS config, EKF2 params, the image, the flight profile or a scored number. No flights: the default flight path is unchanged (the bridge only runs in the opt-in EV launch).

Fixed

Key Change
ODL-120 align_trajectories and localization_metrics.main sort and dedupe GT/estimate stamps (first sample wins). Strictly increasing input is returned untouched. All 50 recorded bags checked: 0 repeated or backwards stamps on any scored topic, so no score moves and scoring_version stays 2.
ODL-127 Judge: an unknown or null scenario is a failed scenario check; bool, str and negative metrics fail; fractional, bool or negative retries fail (and pass@1 is false). Old vs new judge on 397 recorded summaries: 0 verdict changes.
ODL-129 json_safe handles np.ndarray and np.bool_.
ODL-130 Bridge: non-finite OV positions and samples whose stamp is not newer than the last are dropped before the jump check, so a jump after a NaN is still caught; alignment needs a finite yaw; the in-air reset behaviour is documented.
ODL-132 YOLOX: letterbox resize at least 1 px; wh logits clipped before exp; at most 300 candidates enter NMS; empty NMS result is (0, k).
ODL-134 A relative .sdf world is resolved against the repo only, never the CWD. All 7 scenario fingerprints are identical to main (and the documented-fingerprint tests pass).
ODL-136 airborne_agl must be [min, max] with min < max (registry); --airborne-min/max-agl reversed is an argparse error.
ODL-137 stop-all.sh regex-escapes the pkill -f pattern, so dronelab (copy) matches itself and not dronelab copy.
ODL-139 quaternion_to_euler normalises first; zero/NaN quaternion gives NaN angles.
ODL-142 docs/decisions/ added (README with the ADR format; excluded from the site like AGENTS.md); _v1 topic name in architecture.md; README test count. The wiki.ros.org link returns 200 now.
ODL-143 Tests for the listed mutation survivors: horizontal-error formula, GT yaw conversion, judge >= boundary, ov_published logic, vio_origin_samples fallback, YOLOX decode corner and IoU maths, registry exit codes, bridge yaw_from_quat / ENU yaw.

Left for Pallab (still Backlog)

  • ODL-127 part 4: overall_verdicts is PASS when only failing non-gating flights ran. That is a verdict-design choice; unchanged.
  • ODL-128: needs a gate on the dropped-sample fraction, and dropping NaN samples would change jump counts and scores.
  • ODL-130 part: the staleness timeout for vehicle_local_position needs a chosen value (design).
  • ODL-140: float PX4 params need param-type handling and a fixed-wing flight to verify; no current scenario needs one.
  • ODL-141: removing openjdk-21 needs an image rebuild.

Tests

  • New: test_backlog_fixes.py, drone_perception/test/test_yolox_robustness.py (both in the run-regression list), and two tests in test_quaternion.py.
  • Regression pytest set: 428 passed. pytest ros2_ws/src: 437 passed, 6 xfailed (the known lint debt), 0 errors. Per package from its own directory: mission_manager 97, perception 41, telemetry 7 passed.
  • shellcheck (warning) clean; gitleaks clean.

…2/134/136/137/139/143)

- metrics: sort and dedupe GT/estimate stamps before alignment (a no-op
  for increasing input; all 50 recorded bags checked), json_safe handles
  np.ndarray / np.bool_, reversed --airborne-*-agl band is an error.
- judge: unknown scenario, bool/str/negative metrics and fractional or
  negative retries fail instead of passing; no recorded verdict changes.
- registry: airborne_agl must be [min, max] with min < max.
- fingerprint: relative .sdf world resolved against the repo, not CWD.
- stop-all.sh: pkill pattern is regex-escaped.
- bridge: drop non-finite poses and out-of-order samples before the jump
  check; alignment needs a finite yaw; in-air reset documented.
- YOLOX: >=1 px resize, clipped wh logits, top-300 candidates into NMS,
  (0, k) empty result.
- telemetry: quaternion_to_euler normalises its input.
- tests for each fix and for the listed mutation survivors.
@palcode
palcode merged commit b1d11c6 into main Nov 24, 2026
4 checks passed
@palcode
palcode deleted the fix/hacker-backlog branch November 24, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant