feat(research): preserve urban geometry pipelines and qualification suites

Preserve offline geometry, marking, replay and evaluation pipelines with source manifests and synthetic tests. Research qualification does not activate these methods as production navigation.
This commit is contained in:
DCCONSTRUCTIONS
2026-10-29 09:10:00 +03:00
parent 5d56237124
commit 69dc566665
611 changed files with 52016 additions and 28 deletions
@@ -0,0 +1,52 @@
# Local evidence for final linear markings
This offline pass accepts any final Gaussian plan and its calibrated survey,
semantic fields, and coverage renders. There are no feature IDs, place names,
coordinate overrides, or operator-drawn regions in the detector modules.
`audit_linear_windows.py` partitions each linear marking into disjoint 3 m
ownership cells using Shapely. The existing `glyph_views` sampler adds a 1 m
context halo, so adjacent image windows overlap. Areas are counted once, and the
union must equal the original polygon. Tiny fragments containing no 4 cm sample
are explicitly unmeasured. Geometry and inference provenance are preserved.
The two nearest eligible render tiles are chosen by geometry before their paint
is read. Existing thresholds remain: 98% valid coverage, at most 20% paint support
for weak evidence, and at least 85% for strong paint support. Mixed paint,
occlusion/semantic mismatch, and absent render coverage remain separate states.
The per-feature `linear_support` field reports measured area fractions; it is
not a calibrated probability, a label for traversability, or a completeness score.
Repeating the audit refreshes this field while preserving every other property.
`linear_windows_bundle.json` declares the audit's complete local source closure;
the coverage planner and renderer reuse the existing corridor bundle separately.
`plan_linear_coverage.py` converts every missing-window footprint to an input for
the existing `coverage_plan.plan_centers`. The existing `render_coverage.py`
creates metric 60 m / 4096 pixel Gaussian renders, using its prior height slice,
10 m center grid and 40-tile budget. No extra physical observation is claimed.
`linear_coverage_views.py` verifies their hashes and appends them to the original
views without modifying prior evidence. Unknown vehicle-mask coverage remains
blocked. `EXTRA_COVERAGE_ROOT` is optional.
The previous whole-object audit is optional (`/previous-audit.json`) and is used
only for comparison. It is never needed to run on a new location. When supplied,
it must match the input map hash. Required mounts follow existing research
passes: `/fullplan`, `/survey`, `/ortho`, `/evidence_plan`, `/coverage_base`, and
`/out`; all evidence mounts are read-only. The runtime dependencies and source
hashes must be pinned in the qualification manifest.
Weak paint alone never deletes geometry. Additional renders can also be supplied
to the existing corridor reconstruction pass: this is a separate operation with
its own paint/gap/edge checks, before/after transactions and replay audit.
Nonlinear symbols, road boundaries, pedestrian zones, facades and crosswalks
must remain unchanged by that operation. Render every transaction before
admitting its output for experimental display.
Publish accepted maps through `scripts/publish_qualified_urban_maps.py`, keeping
previous revisions and exact API readback. The ordinary product analysis button
does not yet execute the complete research chain. Neither two renders of one
Gaussian model nor these tests establish surveyed accuracy or recognition recall.
`tests/test_urban_linear_windows.py` covers disjoint area ownership, curved paths,
holes, long lines, missing/occluded/disagreeing views, undersampled fragments and
coordinate translation. Run its scientific dependencies on Worker 006.