Classical Navigation evidence audit — 25 October 2026

Scope and provenance
--------------------
Supplied evidence: /home/jerry/Code/project-materials/classical-navigation/.
Its README dates collection and browser capture to 22 October 2026. Before is
6b19d03; after is 3d493e4. Current checkout is
01cfadceebcf5a468449a8eacd2b61d1653e3473. Its marine_nav/, config/, tests/,
pyproject.toml and Dockerfile are unchanged from 3d493e4. Later commits add docs,
media and materials tooling. No repository or old portfolio-packet files changed.

Fresh checks used the existing classical-navigation-lab:latest image:
sha256:eab62b3c1c05f38759396aba6c7d6bbc8c9276126de8c37c94d25288ce23248d
Source was mounted read-only; PYTHONDONTWRITEBYTECODE=1 prevented source writes.

Fresh on 25 October:
- Reproduced all seven bundled profiles, with full-precision terminal metrics.
- Matched their rounded supplied metrics and the seven supplied HTML replay
  terminal summaries. Active-obstacle and static-obstacle minima agree in these
  seven runs.
- Repeated the EKF ablation (32 runs plus one convergence run). Its complete
  output JSON, including downsampled convergence history, matches supplied data.
- Checked the MPC benchmark inputs on both revisions, each with one warm-up and
  ten further calls at four horizons. All 44 calls per revision succeeded; worst
  obstacle-constraint residual was above -4e-8 m. No new timing was measured.
- Recomputed the supplied 216 stress-record summaries and benchmark ratios.
  The full stress sweep and D* randomized benchmark were not rerun. Their counts
  are audited supplied evidence, not fresh reproduction. Core unit tests are
  handled separately from this audit.

Use these current profile numbers
---------------------------------
Profile                  Final time   Static clearance  Position RMSE  Escapes
Baseline                    32.1 s       2.044845 m        0.515346 m       0
Geometric RRT*              30.8 s       2.273553 m        0.560488 m       0
Short-horizon RRT*          32.3 s       2.182863 m        0.544337 m       7
D* Lite                     32.1 s       2.182817 m        0.532524 m      10
Tracking MPC                32.4 s       2.107977 m        0.517533 m       0
Trajectory MPC              57.5 s       2.224640 m        0.486844 m       0
Combined MPC                37.4 s       2.080433 m        0.570433 m      19

Every current profile passed the estimated-position goal test, with zero
fallback and emergency-braking steps. D* Lite completed two global repairs and
three route revisions for the five-cell barrier added at 8 s and removed at 20 s.

Important definitions:
- Final time is the terminal trace timestamp: completed integration steps ×
  0.1 s. Supplied profile/compare time is the preceding sample timestamp and is
  exactly 0.1 s lower. Use 30.8–57.5 s in the current table. For before/after
  comparisons, keep the supplied October 22 definition on both sides and label it
  as reported sample time. Do not combine October 4 and October 22 timing runs.
- Clearance is sampled vessel-center distance to a circular obstacle boundary.
  It does not subtract hull radius or the 2.2 m planning inflation. The supplied
  headline minimum considers original static circles only. Replay clearance also
  considers active dynamic-cell proxy circles. These are simulation measures,
  not physical-vessel collision clearance or guaranteed continuous-time safety.
- Goal acceptance uses estimated position <1.5 m from goal. True terminal goal
  distance exceeds 1.5 m for baseline (1.577297), RRT* (1.535299), tracking MPC
  (1.646164) and combined MPC (1.544513). Avoid “all seven reached within 1.5 m”
  without specifying the estimate.
- The profiles share the obstacle layout, but have different dynamics/scenarios.
  Trajectory MPC uses still water, 1.2 m/s target speed and 0.1 s yaw lag.
  The others use current [0.12,-0.06] m/s, 2.2 m/s target and 0.7 s yaw lag.
  D* Lite also has scheduled map edits. This is a bundled-profile demonstration,
  not a controlled ranking of algorithms under identical conditions.

Before/after claims supported by supplied October 22 data
-------------------------------------------------------
Stress: 108 runs PER revision = baseline, D* Lite and short-horizon RRT* × nine
current vectors (each component -0.3,0,+0.3 m/s) × sensor seeds 1,2,3,7. Maximum
current magnitude is 0.424264 m/s. The parameter sets match between revisions.

                     Static overlaps   Goals missed   Braking runs   Worst m
Baseline, 36 runs           2 -> 0          0 -> 0         1 -> 0     -0.441 -> 1.473
D* Lite, 36 runs            6 -> 0          2 -> 0        12 -> 0     -3.504 -> 1.578
Local RRT*, 36 runs         4 -> 0          0 -> 0         0 -> 0     -0.719 -> 0.742
Total                     12 -> 0          2 -> 0        13 -> 0

“Collision” in the collector means a rounded sampled STATIC circle clearance
below zero. It excludes dynamic cells and hull extent. “12 -> 0 recorded static
overlap runs in a 108-run current/seed sweep” is the precise headline. Neither
MPC profiles nor broad out-of-distribution scenarios are part of this sweep.

D* Lite: 320 flagged repairs out of 638 before, 0 out of 668 after. Before has
265 status mismatches against Dijkstra and 55 paths longer than Dijkstra's cost.
At 1 m: 111/301 -> 0/335; at 0.5 m: 209/337 -> 0/333. This is a seeded randomized
generator: 150 candidate starts at each resolution and up to four move/edit
attempts. Failed initial routes, blocked moved starts and missing edits are
skipped. Route-dependent branches also consume random numbers differently, so
these are different generated check sets, not 638 matched cases repaired by the
patch. The oracle checks success status and path cost, not every possible
validity property. Report denominators and describe the tested comparison.

Current-aware EKF: at [0.3,-0.3] m/s current, pooled position RMSE is
2.362 m with current states frozen and 0.600 m with current estimation (74.6%
lower). At zero current it is 0.490 -> 0.557 m, so improvement is not universal.
This is the new implementation with current covariance/process noise set to zero
for the still-water ablation, not a direct old-filter/new-filter comparison.
Each current/filter uses seeds 1,2,3,7, but navigation runs closed-loop, so the
filter changes the route, duration and sampled sensor locations. RMSE pools all
position samples, weighting longer runs more. It is not error on one identical
recorded trajectory. The one convergence run finishes near [0.257,-0.380] m/s,
not exactly the true [0.3,-0.3] m/s.

Performance, supplied October 22 timings only:
MPC horizon 10: 16.0 -> 2.7 ms (5.93×); 15: 23.2 -> 3.8 ms (6.11×);
40: 58.4 -> 7.5 ms (7.79×); 80: 117.5 -> 15.6 ms (7.53×).
Global RRT*, 2000 iterations: 2.91 -> 0.28 s (10.39×), both costs 69.755.
Seven-profile marine-nav-compare command: 47.4 -> 8.1 s (5.85×).

These are single-workstation measurements, with no repeated trials, variance or
uncertainty. MPC means ten warm calls at one fixed state/reference; the collector
did not record solver status. The separate October 25 quality check found all
calls successful for those inputs. MPC also changes hard obstacle constraints
to penalized soft constraints, so the comparison includes formulation and
implementation changes, not just problem caching. RRT* microbenchmark removes
wall-clock budgets on both sides. Old bundled RRT* profiles retain 2 s global
and 0.08 s local planning deadlines; new profiles use iteration budgets. Thus
old profile tracks can depend on machine load. The seven-profile command also
writes plots, and profile simulation durations differ. Avoid general real-time
or hardware-independent speed claims.

Visible remaining limits: combined MPC yaw command is at >=99% of its 0.7 rad/s
limit in 66.0% of 374 steps (tracking 7.1%, baseline 0%). Prediction assumes
instant yaw-rate response, while the standard simulated vessel has 0.7 s lag.
Reducing local RRT* replanning from 5 Hz to 1 Hz lowered recorded static clearance
from 2.18 m to 0.98 m despite reaching the estimated goal in both cases.

Media provenance
----------------
MP4s were captured from the lab's HTML replay viewer with headless Chrome on
October 22. capture.cjs seeks every third 0.1 s replay frame; encode.sh writes
12 fps video, hence 3.6× simulation playback, then ten held terminal frames.
All three are 1240×928. Baseline and D* Lite are 118 frames / 9.833333 s; combined
MPC is 135 frames / 11.25 s. The short final hold means total video duration is
not simply simulation duration divided by 3.6. Dashboard and viewer images are
browser screenshots. None is vessel-bag, Gazebo or field-test footage.

Generated artifacts and reproduction
------------------------------------
verified-metrics.json: dated compact metrics, conditions, definitions and audit.
profile-comparison.csv: current full-precision metrics plus October 22 before/after.
fresh-profiles.json / .csv: independent current profile reproduction.
fresh-ekf/data/ekf.json: repeat of supplied collector, matching complete JSON.
perf-solution-check-{old,new}.json: 44 solver-quality calls per revision.
supplied-evidence-manifest.json: source data, collectors, replays and video hashes.

To repeat the current profile check from a shell:
docker run --rm -e PYTHONDONTWRITEBYTECODE=1 \
  -v /home/jerry/Code/Autonomy-Stack/Classical-Navigation:/workspace:ro \
  -v /home/jerry/Code/portfolio-materials/classical-navigation/update-2026-10-25/audit:/out \
  classical-navigation-lab:latest python /out/reproduce_profiles.py

For EKF, mount supplied scripts at /scripts:ro and audit/fresh-ekf at /out, then
run python /scripts/collect_ekf.py. For solver quality, run
python /out/check_perf_solutions.py new with the current source; run it with old
and a read-only git-archive 6b19d03 source tree for the before result.

To validate stored records and rebuild derived files:
python3 /home/jerry/Code/portfolio-materials/classical-navigation/update-2026-10-25/audit/derive_audit.py
