Skip to content

ci: the semantic check judges the BIM4LCA housing too, and a CI step fails a pull request where the fetcher's list, its dump case and the open-model list disagree (#1678) - #1680

Merged
DrunkOnJava merged 4 commits into
mainfrom
feat/semantic-housing-dumps
Nov 11, 2026

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

The six BIM4LCA housing files join the semantic check: each gets an MCP dump and is listed as an open model, so a change confined to them, such as #1665's slab and roof quantities, is no longer invisible to it. A CI step, tools/ci/check_semantic_models.py, fails a pull request where the fetcher's MODELS_LIST, its dump case and OPEN_MODEL_NAMES disagree; run on main as it was before #1677 it reports exactly the two timber models of #1675. No export changes.

Motivation

Closes #1678; follows #1675 (#1677). The housing comes from the same VTT archive as the office (CC BY-SA 4.0), so the licence that lets the office's dumps go to Jev covers it. A model that joined the fetcher without its dump case or its list entry made every complete run's check read NOT MEASURED once; the guard makes that a failure in the pull request that adds the model.

Changes

  • tools/ci/measure-reference-models.sh: the dump case covers nordic-housing-*.
  • tools/re/semantic_diff.py: OPEN_MODELS and OPEN_MODEL_NAMES list the housing and its six models.
  • tools/ci/check_semantic_models.py (new), run by the PII guard job of ci.yml: five ways the three lists can disagree, and --refusals, which shows it failing on six mutated copies of the two files.
  • docs/maintaining.md: the guide counts 42 open models and names the check.

Testing

No unit tests added; the existing test_jev_check and test_semantic_diff suites still pass locally, which is a guard and not evidence. The new check is a contract check on the real files and is shown failing on mutated copies and on the real defect (main before #1677: the two timber offices). End to end: Measure run 42940165321 (this branch's tooling; head 6e58c27 against base 74a5034, complete), judged against the rows registered on #1678 and reported there:

A side effect of that run, stated there: the Semantic check job refused to send the housing diff (main's list lacks the housing until this lands) and failed on a main commit, by design. This pull request's own gate run is dispatched from main's tooling, so no housing dump is written and the check scores it against the list of 36.

  • tools/check-local.sh passes: not run locally (no local builds here); CI runs it
  • Verified end to end on real Revit files: Measure run 42940165321 (BIM4LCA housing and office, CC BY-SA 4.0, fetched by Measure)
  • If this touches the IFC exporter: N/A, no exporter change
  • If this is a performance change: N/A

Audit-honesty checklist

  • README / docs reflect the current state after this PR: no user-facing claim changes
  • A user-visible change has its changelog fragment: N/A, CI tooling only
  • No emojis, private paths or personal addresses in committed files

Legal and contribution hygiene

  • I agree this work is licensable under Apache-2.0
  • No Autodesk proprietary source, decompiled internals or NDA'd SDK content
  • No new test fixtures

Breaking changes

None.

…a complete Measure run is no longer NOT MEASURED (#1675)

The two timber office files joined the fetcher without a MCP dump or an entry in OPEN_MODEL_NAMES, so their folders matched OPEN_MODELS, held no dump and put every complete run's semantic check under NOT MEASURED. The check's test now derives its expected count from the model list.
…at joins the fetcher needs its dump case as well as its list entry (#1675)

The guide still said 34, and nothing told a contributor that a fetcher's new model without a dump reads as a gap.
…fails a pull request where the fetcher's list, its dump case and the open-model list disagree (#1678)

The six housing files come from the same VTT archive as the office (CC BY-SA 4.0), so the licence that lets the office's dumps go to Jev covers them; a change confined to them, such as #1665's slab and roof quantities, was invisible to the check. tools/ci/check_semantic_models.py reads MODELS_LIST, the dump case and OPEN_MODEL_NAMES and names the five ways they can disagree; on main before #1677 it reports the two timber models of #1675, and --refusals shows it failing on mutated copies.
# Conflicts:
#	docs/maintaining.md
#	tools/ci/measure-reference-models.sh
#	tools/re/semantic_diff.py
@DrunkOnJava DrunkOnJava added area:ci Work in the ci area. type:ci Continuous integration or automation work. labels Nov 11, 2026
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 11, 2026 02:09
@DrunkOnJava
DrunkOnJava merged commit 612daab into main Nov 11, 2026
79 checks passed
@DrunkOnJava
DrunkOnJava deleted the feat/semantic-housing-dumps branch November 11, 2026 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci Work in the ci area. type:ci Continuous integration or automation work.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant