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,179 @@
# Observed plan markings from supplied Gaussian scenes
An isolated replacement candidate for ground-arrow analysis. The supplied
Gaussian scene is immutable. The pipeline recovers visible XY plan objects;
expected-depth continuity is recorded separately and is not a physical survey.
The user clarified on 2026-10-16 that incoming scans must be consumed as-is and
that the objective is at least 95% object recovery, allowing imperfect input.
That percentage is an object-level evaluation target, not a pixel threshold.
The current production provider and its 357-file closure are unchanged. This
candidate has not been published or selected as the production provider. Roads,
sidewalks, curbs, signs, crosswalks and other classes are outside this arrow
implementation's qualified scope.
## Data flow
1. Systematic top views use parallel rays for Gaussian SH colour and native
depth/alpha. Camera/terrain planning is an existing input to this evaluation.
2. A uniform 16 m survey with 8 m stride selects visible windows and records
coverage. The pinned semantic model encodes each selected window once.
3. One candidate registry retains the initial observations. An entity owns one
immutable world-aligned paint frame, with a physical illumination-filter halo.
No detector or renderer is invoked again during reconstruction.
4. The search fits four-parameter similarity poses of fixed presets to original
paint. Semantic proposals provide association and initialization, not a
supposedly exact metric contour. A complete witness binds the semantic
score, its own region and its own target; sources cannot be mixed by maxima.
5. Search, final selection and independent remeasurement share one admission
contract. The independent path measures the original pixels again.
6. Reconciliation runs only after verification binds exact result bytes. It
preserves previous object identities and unrelated features. Retained old
geometry is explicitly separate from fresh reconstruction.
## Observation contract
`plan_marking_policy.py` explicitly versions the observed XY contract. Native
4096px depth/alpha is not smoothed, repaired or downsampled to pass a check.
Finite positive depths, alpha >= .85 and context/ground depth agreement <= .12 m
still determine visibility. Primary complete coverage, >= .97 observed validity,
original-pixel IoU >= .65, boundary mean <= .075 m and p90 <= .15 m remain gates.
Whole-object support, parts, endpoints, negative paint and connectivity remain
measured. Unknown pixels cannot become supporting paint.
The previous local expected-depth-span veto and maximum error at every ideal
preset corner are now quality diagnostics. This is an explicit acceptance
contract change, not a claim that the old contract passed. Individual corner
wear is judged in the context of the complete boundary and observed parts.
A semantic proposal must be associated with the same object (overlap coefficient
>= .55); its old .78 template IoU is no longer treated as metric ground truth.
The original-paint measurements still govern the reconstructed shape.
Two concrete shape/ownership faults were also corrected. White and yellow paint
channels are disjoint; a yellow crossing cannot be joined to the white arrow's
component merely because its saturation is modest. Both actual wings of the
straight arrow head require real paint; their complete area requires >= .65
direct support. Partial wear is measured over the head, not vetoed separately
for each half. Head support and original-pixel IoU use exact intersections
with the immutable .025 m pixel cells. This removes pose-dependent pixel-centre
counting steps from the search/admission agreement; the .65 IoU gate is retained. The former last-20%-of-length probe covered only the
narrowing tip for the long profile and could admit a plain stripe through
morphological dilation. The new wing test does not use dilated stem support.
Output authority remains observation-only, route permission is unassigned, and
standard compliance is not assessed. Two overlapping renders are observations
of the same scan, not independent physical acquisitions. An absent second view
remains explicitly unknown. Depth-quality fractions are retained on each object
and remeasured by the verifier; they do not certify heights.
## Qualification and evidence
Quality baseline qualification: object version v22, observed XY contract v5. Session
`topdown-plan-full-20261016074318` freshly rendered the supplied Maroseyka PLY and
reran survey, semantic inference, all-group reconstruction and independent
verification. It freshly recovered **20/21 confirmed arrows (95.24%)**, including
arrow 8; **10/11 original misses** and all **16 previously fixed arrows** are
recovered. The only unrecovered confirmed arrow is number 2 (group 5), with
observed validity approximately .952-.954 against the retained .97 gate and
insufficient head evidence. It is preserved with its previous geometry and
never counted as fresh. No further tuning to force 100% is required by the
owner's clarified target.
The fresh output has 21 independently verified arrows: 20 reference matches
and one visually verified additional straight-right arrow (group 14). All 21
accepted source/overlay crops were visually inspected; no false positives were
observed. The prior stripe false positive (group 58) is rejected. The frozen
reference denominator remains 21. Reconciliation preserves all 21 confirmed
identities, adds the new arrow and produces 585 map objects, with one retained
old arrow geometry, no conflicts/deletions and unrelated objects unchanged.
The negative Smolensk 6.3 scene used immutable saved renders but a NEW survey
and semantic pass: 354 windows, zero proposals and zero accepted arrows.
The 39 invariant tests passed on Worker006. Shared tested and executed source
hashes match. Production's 357-file closure remains unchanged.
Full Maroseyka stage seconds: capture 976.219, survey 231.859, semantic 277.266,
reconstruction 280.125, verification 100.312; total **1865.781 s (31:06)**.
The earlier complete arrow run took 2047.657 s (34:08) and recovered 16/21.
Observed full-time reduction is 8.88%; reconstruction decreases from 485.750
to 280.125 s (42.33%). Both runs use the same PLY and pre-existing camera/terrain
plan. All 136 RGB and 136 native depth/alpha files are byte-identical. The capture
code is identical; runtime variation there is not an optimization claim. This
is a single-run comparison of explicit different admission contracts, not an
all-class production cold-start benchmark or a repeated performance estimate.
There are 557 systematic windows, 78 object groups and 67 distinct fit problems.
Reconstruction invokes the detector zero times and requests zero new renders.
All seven owned qualification sessions are cleaned up, reservations released,
and canonical Core remains HTTP200/operational on port8000.
Archive SHA-256: `3be3e487fe9d35299ca9f37d93f4be179cfa904b94abb31a9455e3abd64dce79`.
The frozen 21-arrow development reference is used only by evaluation. Matching
is same-class and one-to-one with identity IoU >= .5; its contours are not metric
ground truth. Additional observed objects are reviewed separately and never used
to change this denominator after a run. Development results do not establish a
95% rate on arbitrary new scenes; holdouts remain sealed during development.
All heavy tests and rendering run on Worker006 through the versioned qualification
builder/worker harness. It freezes the import closure, reserves Core's simulation
resource, uses bounded owned containers and performs cleanup in finally. Source,
input, result and collection hashes are retained with UTC and monotonic timings.
No intermediate experiments are published in Ops.
## Causal evidence retained
For arrow 8, five of 21 tail samples failed the former .18 m depth-span gate.
Their native neighborhoods span .187923-.189568 m despite high opacity. Independent
Gaussian compositing reproduces those depths within .0000190735 m: this is not a
rounding bug. Bright edge Gaussians and background Gaussians contribute displaced
expected depths. The error was to use this composite-depth variation as proof
that visible XY paint was absent. The input Gaussians remain byte-identical.
The audit modules are evaluation tools, not recovery stages. The unadopted
conditional-depth and all-corner optimizer experiments remain in historical
qualification evidence and are not part of the inference path. No blind pose
sweep, historical pose or source-layer editing is used for admission.
## Performance qualification, 2026-10-16
The same v22/policy-v5 arrow path now uses an exact spatial index, a packaged
upstream gsplat CUDA extension, at most two concurrent lossless observation
writers, zero-copy alpha access and source-tile-grouped crop materialization.
These changes do not alter point selection/order, cameras, native resolution,
coverage, semantic inference, object fitting or acceptance thresholds.
Full measured Maroseyka times (fresh source capture through independent check):
| Stage | Baseline | One writer | Two writers |
|---|---:|---:|---:|
| orthographic-observations | 976.219 | 698.625 | 467.437 |
| survey | 231.859 | 204.078 | 203.016 |
| semantic | 277.266 | 277.328 | 279.313 |
| reconstruct | 280.125 | 273.953 | 275.093 |
| verify | 100.312 | 98.250 | 98.313 |
| Total seconds | 1865.781 | 1552.234 | 1323.172 |
The final run `topdown-writer-queue-20261016101327` took 1323.172 seconds
(22:03), versus 1865.781 (31:06): 29.08% less time. All 136 RGB files, 136
native geometry files, 557 patch records, the coverage ledger and every recovered
arrow's geometry are identical to baseline. Fresh known arrows remain 20/21;
all 21 identities are preserved, with the same one retained previous geometry
excluded from fresh recovery. The same additional true arrow remains separate.
The first optimized full run rechecked the Smolensk negative (zero arrows).
The second changes only writer concurrency; it does not repeat that negative.
40 invariant tests and the synthetic orthographic camera check passed.
These are single-run measurements with pre-existing camera/terrain plans,
pinned models and source files on Worker storage. OS cache/background load was
not controlled. One-time CUDA compilation/build/tests are separate from per-scene
timing. This is still the arrow candidate, not an all-class production switch.
The production 357-file algorithm closure is unchanged. UI/queue changes are
separate and documented in `simulation/ai-polygon/INFRASTRUCTURE_QUEUE.md`.
Final evidence archive SHA-256:
`1e51d99dbfd245914cdde07349e126f3af51ad4bcb9bbecfa42ab15d7d1af2db`.
The ready runtime is pinned to
`sha256:0df53bf9a160cd04cdea47254948053bf3bcebb5ba0efc8dd61030540b65a763`.
Two superseded compiler caches/binary duplicates were retired only after exact
checksum agreement with the retained qualified runtime; logs/manifests remain.