Preserve offline geometry, marking, replay and evaluation pipelines with source manifests and synthetic tests. Research qualification does not activate these methods as production navigation.
78 lines
4.6 KiB
ReStructuredText
78 lines
4.6 KiB
ReStructuredText
Two-view bounded sections qualification
|
|
======================================
|
|
|
|
This offline pass takes the accepted consensus-pass-20261012 vector map and
|
|
its pinned Gaussian ground render evidence. It adds no paint. Common rules,
|
|
identical parameters and one frozen source execute on all three scenes.
|
|
|
|
Components and evidence
|
|
-----------------------
|
|
OpenCV minAreaRect, remap and grayscale morphology propose straight common
|
|
sections and measure local paint contrast. SciPy peak detection distinguishes
|
|
one physical ridge from a second genuine row, including intermittent paint.
|
|
Shapely clips only the confirmed longitudinal interval. The existing
|
|
consensus_profiles module supplies the two-view evidence gate unchanged.
|
|
|
|
A source can be partly overlapped, unlike the previous 75% whole-object rule.
|
|
The common interval must be at least 0.60 m. Source length is 0.60--70 m,
|
|
source width <=0.60 m; keeper length 1.45--70 m, width <=0.40 m. Direction
|
|
agreement is <=4 degrees and lateral distance <=0.65 m. Two nearest covering
|
|
views are fixed before signal checks; no positive-view cherry-picking.
|
|
|
|
Both views need >=95% valid samples and >=85% bright keeper support, keeper
|
|
median contrast >=22. The inherited single-ridge, empty-offset or containment
|
|
criteria and second-ridge veto decide a cut. Vehicles, low alpha, non-road
|
|
labels and protected markings are unknown/protected rather than dark asphalt.
|
|
The views are two renders of one reconstruction, not independent observations.
|
|
|
|
Multiple cuts of one source are unioned. Every nominated keeper survives
|
|
unchanged. Unselected features remain byte-equivalent as JSON objects. For
|
|
selected sources, the old boundary outside confirmed sections is preserved;
|
|
new endpoints interpolate existing Z through Shapely's 3D polygon operation.
|
|
No global snap, coordinate patch, per-street threshold or manual ROI is used.
|
|
Tiny numerical polygons of area <=1e-9 m2 are omitted; this is not a cosmetic
|
|
length filter. No uncertain remaining tail is deleted just for appearance.
|
|
|
|
Gap safeguard
|
|
-------------
|
|
Two existing observed long dashes with matching period and direction may
|
|
nominate a gap. Each anchor must be visible and bright in both views. The
|
|
whole lateral corridor of the old source must show empty, valid asphalt:
|
|
>=95% validity, >=90% dark samples, 90th percentile contrast <8. Real paint,
|
|
unknown pixels, a different rhythm or one view veto the cut. A GOST rhythm is
|
|
not permission to erase paint. If no candidate clears these requirements,
|
|
no gap edit is made. Real-map acceptance and controlled examples are reported
|
|
separately; the gap rule is not claimed as effective on scenes with zero hits.
|
|
|
|
Qualification and replay
|
|
------------------------
|
|
Use the canonical Mission Core repository and its existing private cache.
|
|
Worker006 performs every numeric computation, test and raster render in the
|
|
pinned CPU image sha256:925b093545e15c270d95d4076139ad8ed48e790eccd9434a58495d58c97671d0.
|
|
The recorded-job queue reserves simulation and releases after container
|
|
cleanup. Read-only root, no network, 4 CPUs, 20 GiB RAM, 1 GiB tmpfs and a
|
|
1800-second stage timeout apply. Mac orchestration does not run image math.
|
|
|
|
Canonical research entry: simulation/urban-plan-research/sections_pass/bundle.json.
|
|
The manifest maps unchanged modules to previous canonical stages and new files
|
|
to this stage. algorithm-source.zip contains a flat Python source bundle.
|
|
The review font is external and pinned by SHA; its qualified copy remains in
|
|
the qualification source directory. Existing registry paths, SSH configuration,
|
|
Gaussian caches and repository environment are required for replay.
|
|
|
|
Qualification root: .runtime/simulation-qualifications/sections-pass-20261012/operator.
|
|
The replay directory contains runner, collector, verifier, scene registry and
|
|
frozen-source manifest. Set URBAN_SOURCE_BUNDLE to the fully assembled pinned
|
|
source directory. Run test_sections on one scene, then refine_sections,
|
|
audit_sections, render_sections and render_plan sequentially for each scene.
|
|
The stage runner resolves input by registry, not a scene-specific algorithm.
|
|
collect_sections verifies all transferred files; verify_sections checks all
|
|
source hashes, identical policy, map audits, baseline hashes, input hashes,
|
|
released resources and live-map preservation.
|
|
|
|
Output includes before/after JPGs, complete vector maps, replacements and
|
|
per-cut evidence, audits, tests, input hashes and execution receipts. Prior
|
|
GOST dimensional assessment and crosswalk audit are retained unchanged. No
|
|
geodetic accuracy, complete recall or legal compliance is established. This
|
|
is a research candidate; no live map deployment, Ops publication or commit.
|