Skip to content

Semantic check: the BIM4LCA housing has no MCP dump, so a change confined to its six files is invisible to it #1678

Closed

Description

@DrunkOnJava

The semantic check (#1334) judges 36 open models and none of the BIM4LCA housing files, so a change confined to them is invisible to it. #1665's slab and roof quantities are one: the 10 slabs with holes it changes are all in the housing, and the check's last verdict could say nothing about them.

The six housing files (nordic-housing-* in tools/ci/measure-reference-models.sh) come from the same VTT ARCH.zip as the office, CC BY-SA 4.0 (docs/reference-models.md), so the licence that lets the office's dumps go to Jev covers them. They are on neither OPEN_MODELS nor the dump case, so measure() skips them silently as unknown-scope folders without a dump.

To do, after #1675 lands (it touches the same three lines): add nordic-housing-* to the dump case and OPEN_MODELS, list the six names in OPEN_MODEL_NAMES, and measure first what it costs: the dump size against MAX_DUMP_BYTES, the shard time of the largest housing files, and the number of tokens Jev reads for the complete run. Rows are registered on this issue before that run.

Activity

  1. added
    area:ci
    priority:P2
    type:ci
    on Nov 11, 2026
  2. DrunkOnJava commented on Nov 11, 2026

    @DrunkOnJava
    OwnerAuthor

    Rows registered before the run (branch feat/semantic-housing-dumps, 8e9a863, stacked on #1677: the six nordic-housing-* models join the dump case, OPEN_MODELS and OPEN_MODEL_NAMES; plus tools/ci/check_semantic_models.py).

    The run: this branch's tooling, -f ref=6e58c27c (#1647) -f base=74a50347 (RE-408, one commit earlier; #1647 is the only commit between them), complete (nordic, r2025, no models filter). Two commits of main, so no pull request's check is touched: semantic-check.yml runs from main and refuses a housing diff until this lands, by design.

    If H1 to H3 hold and H4 shows the chunks inside their cap, the pull request follows #1677; if a housing dump is missing or a shard overruns, the cost is reported here and the housing stays out until it is cut.

  3. DrunkOnJava commented on Nov 11, 2026

    @DrunkOnJava
    OwnerAuthor

    Result of Measure 42940165321 (feat/semantic-housing-dumps, this branch's tooling; -f ref=6e58c27c against -f base=74a50347, complete: nordic, r2025, no models filter), against the rows registered above:

    • H1 held. The semantic-diff manifest has requested_all true, 42 models compared, skipped and uncovered empty and 42 folders checked: each of the six nordic-housing-* models holds a dump on both sides.
    • H2 held. The largest housing dump I opened, the timber as built's (the housing's largest shard artifact), is 2,001,316 bytes (1.91 MiB) against the 400 MiB cap; the whole semantic-diff artifact is 246 KB (72 KB zipped).
    • H3 held. The housing shards took 3.0 to 5.9 minutes on both sides (3.1 to 4.8 in run 42934767155, which had no housing dumps); none is near 10.
    • H4 held. jev_check.py --dry-run on the artifact builds 13 chunks of 138,753 characters, no refusal and no gap, against 10 chunks and 99,131 characters with the six housing diffs left out: the housing adds 3 chunks and 39,622 characters (MAX_CHUNKS is 150), which is about 10,000 tokens, a tenth of a cent at Jev's price.
    • H5 held. The six housing models show 14, 13, 6, 6, 13 and 13 findings, 0 elements added or removed and 3 changed on each large file (7 on each terrain file), and every finding is what feat(ifc): an element still drawn as its record's box says why its saved mesh was not used, on the element and counted in the diagnostics (#1645) #1647 changed: RvtElementRecordGeometry.SavedMeshRefusal and trust_markers.SavedMeshRefusal appearing on the sampled box-drawn elements (sanitary terminals, furniture, a railing, a ramp) and the saved_mesh_refusals counters of the diagnostics. So the check sees the housing, which is the point.

    One side effect to state. semantic-check.yml runs from main with main's semantic_diff.py, which does not list the housing, so the Semantic check job of this run stopped at "refusing to send: model 'nordic-housing-concrete-as-built' is not on the openly licensed list" (workflow run 42942604516, failed, no check run written, nothing sent). That is the guard working as designed, and it fails every run dispatched with housing dumps until this lands; it is on a main commit, not on any pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:cipriority:P2type:ci

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions