Files

Shared first-pass semantic evidence

This is the active first-pass semantic stage as of the owner-authorized integration on 2026-10-16 (Worker release fd9350739b785225). It replaces repeated image encodings in orthophoto/ortho_segment.py and full_plan/semantic_layers.py. Each identical crop is encoded once; the existing per-class prompts, threshold, output precision, overlap aggregation, opacity admission and output file layout are retained. It adds no persistent embedding cache, extra renders, retained object geometry or recovery passes.

semantic_survey.py separates the common crop schedule and model inference from the output consumers. semantic_survey_stage.py loads the existing pinned SAM3 model and writes the normal/ground surface and paint/building masks. The semantic-survey.json receipt distinguishes image encodings from prompt decodes and marks completion explicitly. Per-consumer timings are joint timings and must not be added together.

Run evaluation/qualify_shared_survey.py CONFIG.json from the canonical repository virtual environment. The harness reserves the Core simulation queue, uses the installed Worker006 images, creates an immutable session and releases only its own containers and reservation after cleanup is confirmed. It compares fresh control outputs to fresh candidate outputs against the same read-only Gaussian renders. test_semantic_survey.py runs in the existing mapper image; it does not require installing scientific dependencies on the operator Mac.

The configuration selects an installed release, its definition SHA-256, and named scene observation directories. Use a new shared-survey-* session ID for every attempt. A completed session cannot be overwritten. An optional consumer_comparison replays the unchanged first full-map assembler using the previously verified semantic pair and the original immutable geometric prefix. It checks every feature ID, property and geometry; it does not replay the entire refinement chain or establish object recall.

Qualification on 2026-10-16: both Maroseyka (68 tiles) and Smolensk 6.3 (21 tiles) had exact array, coverage and model parity. Image encodings fell from 5,004 to 2,545; all 11,935 prompt decodes were preserved. Fresh paired semantic runs took 684.437 -> 513.359 seconds and 342.407 -> 251.484 seconds respectively, including container/model startup. The unchanged Smolensk first assembler produced the same 108 features, including exact geometry and properties. This is a single paired run on development scenes, not a full-chain timing or holdout result.

Evidence sessions in the canonical .runtime/simulation-qualifications/:

  • shared-survey-pilot-20261016142916: four unit tests and a two-tile pilot.
  • shared-survey-full-20261016143244: both complete scene semantic comparisons.
  • shared-survey-consumers-20261016150544: the real first assembler comparison.

The integrated graph contains 90 stages, previously 91. A scoped release keeps the installed predecessor intact and changes only the coordinator, definition, two shared-semantic modules and timing profile. The real Windows layout and provider identity, worker startup, Core health and queue/API tests passed. The new stage uses the measured 251.484-second Smolensk seed; it is an approximate ETA weight, not a new whole-street timing measurement. The owner will run the first full product calculation. Full downstream equivalence/timing is still unmeasured; existing downstream admission and refinement stages are unchanged.