Repository navigation
refactor(ifc)!: a door's and window's hand-off values leave users' IFC - #1308
Merged
Merged
Conversation
…nd its property set Nineteen properties of RvtElementRecordGeometry were values one stage of the export wrote so a later stage could read them back (the opening a type and transform give, the origin of a turned instance, and the type, cut-loop, cut-solid, record-box and symbol-wire sizes), not facts about the element. They now stay inside the exporter: the opening cuts are worked out from them as before, and the new IfcModel::filler_sizes carries what the writer needs of them, a door's or window's OverallWidth and OverallHeight and whether its symbol cuts an outline. The cascade that picks the sizes moves from the STEP writer into the exporter unchanged, so OverallWidth, OverallHeight and every opening are what they were; the only change to the IFC is the 19 properties and their IFCPROPERTYSINGLEVALUE lines. The *_PROPERTIES constants stay, as the names of the hand-offs. BREAKING CHANGE: IfcModel has a new public field, filler_sizes, and the doors' and windows' property_set no longer holds OpeningCentreX, OpeningCentreY, OpeningAxisX, OpeningAxisY, OpeningBaseElevation, OpeningWidth, OpeningHeight, InstanceOriginX, InstanceOriginY, TypeWidth, TypeHeight, CutWidth, CutHeight, CutSolidWidth, CutSolidDepth, CutSolidHeight, BoxWidth, BoxHeight and SymbolWireWidth.
…'s IFC property set
…214 to 27708 with the hand-off properties Both artifacts' rvt-rs observations are the ones this branch's CI produced (octetproof-core-interior); the verdicts replay to PASS and the committed verdict files are unchanged.
…32 doors' OverallHeight and OverallWidth
DrunkOnJava
marked this pull request as ready for review
November 4, 2026 02:09
DrunkOnJava
enabled auto-merge (squash)
November 4, 2026 02:09
1 task done
DrunkOnJava
added a commit
that referenced
this pull request
Nov 4, 2026
…nd the hand-off entry says where an opening's place is (#1308) (#1312) ## Summary Two wording fixes from the second read of #1308 (hand-off values leave users' IFC): - `docs/support-matrix.json`, `family-instance-transforms`: `export_content::INSTANCE_ORIGIN_PROPERTIES` is now called "(a hand-off, not written in the IFC)", as the entries for the cut-loop and type sizes already are. - `changelog.d/changed/handoffs-leave-ifc.md`: "an importer that read one of them reads `OverallWidth` and `OverallHeight` instead" held for the sizes only. It now says an opening's centre, axis and base elevation are in its `IfcOpeningElement`'s placement and extrusion. ## Testing - `python3 tools/release/changelog.py check` passes; the support matrix still parses as JSON. Docs only: no code, export or measured figure changes. ## Legal and contribution hygiene - [x] Apache-2.0. ## Related issues Refs #1308.
Owner
Author
|
Automated Claude Code review (the maintainer's review agent; it read the code, the viewer route and Measure run 41755280111): no blocking items. The size cascade moved from the STEP writer into the exporter unchanged, and nothing else reads the 19 names. In the run, deleting those 19 properties' lines from |
DrunkOnJava
added a commit
that referenced
this pull request
Nov 4, 2026
… its output from a score cache (#1237) (#1317) ## Summary Measure's scorers and schema checks no longer run again on a model whose inputs have not changed: each step's output is kept in a content-addressed score cache, the validation and the EXPRESS rules check share one parse of the IFC, and the three binaries the Build step makes are cached per commit. Every output is byte-identical to a run with the cache off (runs below). ## Motivation Run 41748430211 (unfiltered, 47 minutes): the Measure step was 43 of them, CPU-bound, 164 task-minutes on four cores. In a typical pull request more than 90% of the models export byte-identical to main, yet every scorer ran on head again and base re-scored main from scratch; the Build step added about 70 seconds to every job. Refs #1237. ## Changes - `tools/ci/measure-cache.py` (new): `lookup`, `store` and `finish`. A hit writes the cached output and a `<step> cached` line to `timings.log`; a failing helper says "not cached" and the step runs as before. - `tools/ci/measure-reference-models.sh`: `cscore` (the scorers in the two lists, `ports_vs_ifc`, `revit_property_sets_vs_ifc`) and `cached` (the four schema steps) look a step up before running it. Exports, `rvt-info`, `rvt-gltf`, the witness exports, diagnostics, probes and the scorers named only through `scorers` always run. - `tools/ci/ifc_validate_summary.py`: `--both MODEL STATEMENTS RULES.txt` runs the validation and the rules check on one `ifcopenshell.open`; the schema function runs it as one step, `schema-validate-rules`. - `.github/workflows/measure.yml`: a `score_cache` input, a key step, `actions/cache/restore` before the build and `finish` plus `actions/cache/save` after the Measure step, per shard and generic in the shard's name; the binary cache (below). - `tools/maintainer/clean_caches.py`: the two new key families; `docs/maintaining.md`: the operator note. ## What an entry hashes One sha256 over, for each cached step: - the step's name, the scorer's path and every command-line argument as given; - the content of each file argument: the rvt-rs IFC (without its `FILE_NAME` and `IFCOWNERHISTORY` lines, which carry the export time, the lines `ifc.sha256` leaves out), Revit's reference IFC, the glTF, the validation findings and the property set definitions; - the scorer and every `tools/re` and `tools/ci` module it reaches by `import`, importlib path or name, by source (the closure, read with `ast`), and every file under `tools/re` and `tools/ci` that is not Python (the Measure script, the requirements, the schemas); - the value of every environment variable the closure reads, apart from the two that only size the mesh cache: `PSETS_MISSING` for `psets_vs_ifc` and, through its import, `qtos_vs_ifc`; - the files a scorer reads that its arguments do not name (`EXTRA_INPUTS`): `diagnostics.json` beside the IFC for `qtos_vs_ifc`, the sibling Revit exports for `unfilled_openings_vs_ifc`; - the Python minor version, the platform and libc, the sha256 of `tools/ci/requirements-ifc.txt`, the installed version of every package it pins, the versions `ifcopenshell` and `numpy` report, `RVT_IFC_FLAGS`, and the sha256 of `measure-cache.py` itself (so a change to what is kept or looked up starts a cache; the format and the key prefix are at 2). A step is not cached, and the log says why, when its closure lists a directory, takes a directory from an argument, opens a file by a literal path, runs a program, draws a number or a date, reads the IFC's export time, or reads an environment variable by a computed name, or when an argument is a directory. It is kept only when it finished with status 0 and neither its output nor any file it also wrote (the validation findings, the rules summary) is over 4 MiB or shows a failure a rerun could mend (`unreadable:`, a traceback, a `MemoryError`, a dead worker); an entry that lacks a file the step wrote is a miss. `ifc_validate_summary.py --both` exits 1 when a check failed, where its separate runs print the failure and exit 0, which is how a `MemoryError` in the rules check was once stored and replayed. In the cold run below every step of every cacheable model was cacheable: the only "not cached" lines are the held-out models'. ## Custody The held-out models and BIMcollab's carry no licence and only their counts leave the runner (`tools/ci/scrub-holdout-results.sh`, RE-252). The Actions cache of a public repository can be restored by a workflow that a fork's pull request changes, so none of their output is cached. I excluded those models entirely rather than caching what the scrub keeps: `holdout-*`, `bimcollab-*` and `spent-*` are never looked up or stored (a spent pair is measured and uploaded in full, but BIM Whale's AdvancedProject was spent and went back to held out on 2026-11-03, so a spent model's outputs are not safe either), every entry names its model in `meta.json`, and the end of every run removes an entry that names such a model, or none. That costs a real share: in run 41748430211 the 18 held-out models took 32.8 of the 119 task-minutes of model steps (28%); they run only with `-f holdout=true`, and their shard is the critical path of such a run. The proof, from the saved caches' own report (run 41767777822, `holdout=true`, before `spent-*` was excluded): the held-out shard logged 810 lookups (18 models, 45 steps each), every one "not cached", and its cache held only the 45 `spent-*` entries that are now not cached either (run 41773807203, `holdout=true`, models `core-interior spent-*`, shows them "not cached"). Entries by model prefix, per shard: rest `core 45, einhoven 3, nordic 90, r2025 1099, re1 180`; office as built `nordic 45`; office at permit `nordic 45`; samples `sample 99` and `sample 72`; "held out: 0 found and removed" in all six. ## Poisoning A cache entry is reached only by a run whose scorers, files and libraries hash alike, but that is not safe by construction: a build script of the measured ref could rewrite the installed IfcOpenShell, which the key names only by version. So the shared cache (`measure-scores-v2-main-<shard>.*`) is restored after the Build step, so no build script sees a writable cache, and is saved only where rust-cache is: the workflow dispatched from `main` and the side measuring `main`'s own code. A pull request run and a run of any other ref only read it (the default path ran in this pull request's own run 41764834456: `enabled=true save=false`, "Save the score cache" skipped). `-f score_cache=<name>` is the one exception, and is how this change was proved: it reads and saves `measure-scores-v2-x-<name>-<shard>.*` from any ref, which GitHub scopes to that branch and which the shared cache never reads. ## Binary cache `rvt-bin-v1-<full SHA>-<OS>-<arch>-<toolchain hash>-ci` holds `rvt-ifc`, `rvt-gltf` and `rvt-info`. What it holds is a function of its key (that commit's code built by that toolchain), only a run of that commit restores it, so a run of any ref may save it; a pull request's run does not (its caches are its own). A ref that is not a full SHA is built each time and the probe examples always are. One hit: run 41766966558 missed and saved it (11.04 MiB, Build step 43 s), run 41767281433 on the same commit restored it ("rvt-ifc, rvt-gltf and rvt-info restored from the binary cache", Build step 0 s). `clean_caches.py` keeps the newest sixteen. ## Testing No changelog fragment (the earlier `ci(measure)` pull requests, #1285 and #1295, carry none); `tools/check-local.sh` and `tools/bench.sh` are not applicable, no Rust changed and nothing is built or measured on this Mac. Every run below is pinned to main 46aa05f (`-f ref=46aa05f36652a95478da199bc3b2d36daee546d9 -f base=none`), unfiltered runs with `-f nordic=true -f r2025=true -f samples=true -f holdout=true`, and compared with `diff -r -x '*.log' -x commit.txt -x 'runner*.txt'` (`diagnostics.json` is compared too: it is byte-identical across these runs, and `qtos_vs_ifc` reads it) over the merged `measure-head` artifacts (the held-out models' `counts.txt` and `ifc.sha256` included). | Run | What | Wall | Task-minutes (steps run) | Steps cached | | --- | --- | --- | --- | --- | | 41763751267 | cache off, 4 shards | 19.0 min | 123.9 | 0 of 1,872 | | 41763754352 | cold cache, 4 shards | 15.6 min | 118.8 | 0 | | 41767777822 | cold cache, 6 shards | 12.4 min | 101.7 | 0 | | 41769277902 | warm cache, 6 shards | 11.6 min | 34.7 | 1,579 of 1,872 | Output identity: cache off against cold (4 shards) 0 lines of difference; cache off against cold (6 shards) 0; cold against warm 0; cache off against warm 0. The task-minutes are the sums of `timings.log`, and the runs are on different runners (the same code ran 123.9, 118.8 and 101.7 task-minutes in the cache-off and the two cold runs, none with a hit), so the cold runs show no cost of the cache that the runner spread does not hide, and only the warm drop is a finding. The held-out models' timings are scrubbed from the artifact, so these leave out their share. The warm run is not the best case, and I say why. Four of its six shards hit every step (rest 1,417 of 1,417: Measure step 5.7 to 1.4 min; office at permit 45 of 45: 9.2 to 1.0 min; samples 2024 and later 72 of 72: 4.8 to 1.6 min; the held-out shard's 45 `spent-*` steps of 45) and two missed every step (office as built 0 of 45, samples to 2023 0 of 99, 33 of the 34.7 task-minutes). Those two jobs landed on a newer runner image (20261028.624 against 20261021.618) whose Python was 3.12.16, not 3.12.15, and the key held the full `sys.version` and, because `numpy.version` is a submodule, a path with the patch in it. The last commit holds the minor version and the versions the packages report instead; it has not been proved at unfiltered scale (d5e0b7c). The four fully hit shards cost 1.7 of the 34.7 task-minutes. Wall time of the unfiltered warm run stays 11.6 minutes because the held-out shard (never cached, 10.2 min) is its critical path; without `-f holdout=true` there is no such shard. The discriminating checks: a filtered run (runs 41769281348 cold, 41770605090 with `-f psets_missing=Pset_WallCommon.Reference`, core-interior, einhoven, re1-architecture) hit 89 steps and missed 4: `psets_vs_ifc` and `qtos_vs_ifc` on the two models that have a reference, nothing else. The first smoke proof, before sharding: cache off 8.48 task-minutes, cold 9.48 with identical output, warm 0.28 (130 of 130 steps cached) with identical output. Commit 2 (one parse for validation and rules), same smoke models: `schema-validate-rules` 3.13 task-minutes against 3.91 for `schema-validate` plus `schema-rules` in the cache-off run; on the office at permit it is 4.67 against 4.8 in run 41748430211, about 3%: the parse is a small part of an 82 MB file's checks. A changed input misses and an unchanged one hits (head with the review fixes; filtered runs, models core-interior, einhoven and re1-architecture, one cache name): run 41773809976 filled the cache at main 706f22d (93 steps run and kept); run 41774389501 then measured cebe163 (#1308, which moves the IFC of models with doors and windows) with that cache and diffs to 0 lines against run 41773812555, cache off at cebe163. `ifc.sha256` moved for core-interior and re1-architecture and not for einhoven. The cache missed on exactly those two, 40 steps each (every step keyed on the IFC), and hit on einhoven's 3 of 3 steps; on the two moved models it also hit the 5 glTF scorers each (`wall_bodies_vs_ifc`, `wall_ends_cv_vs_ifc`, `wall_layers_vs_ifc`, `slab_layers_vs_ifc`, `glb_material_colours_vs_ifc`), whose inputs, the glTF and Revit's export, #1308 does not change. That is 13 hits and 80 misses. A spent pair is not cached (run 41773807203, `holdout=true`, models `core-interior spent-*`, on the head with the review fixes): core-interior's 45 steps were kept (45 misses, 45 entries, all `core`), and the spent pair's 45 steps were each logged "not cached: held out now or once" with no hit, miss or kept line; the cache report says "held out (holdout-*, bimcollab-*, spent-*): 0 found and removed". Cache size: the six shards' saved caches are 343, 46, 45, 32, 25 and 19 KiB compressed (0.5 MiB, 1,723 entries). ## Mesh cache (not extended) Every scorer that meshes, read for what it passes to IfcOpenShell and keeps (`mesh_parts` keeps the vertices and faces of `create_shape(settings, element)` under the default settings with `use-world-coords`, keyed by element): | Scorers | Meshing | Shares with the `meshes` task? | | --- | --- | --- | | `stair_bodies_vs_ifc`, `roof_bodies_vs_ifc`, `column_bodies_vs_ifc` | the same call and settings | rvt-rs's file: `mesh_bodies_vs_ifc` meshes only `saved_graphics_mesh` bodies, and stair flights, roofs and sectioned columns are other body sources, so nothing to share; Revit's file only where rvt-rs holds that source | | `wall_heights_vs_ifc`, `wall_ends_list`, `wall_bodies_vs_ifc` | `create_shape(settings, wall, Body)`, an explicit representation the cache key lacks | no | | `wall_layers_vs_ifc`, `wall_ends_cv_vs_ifc`, `layer_sets_vs_ifc`, `slab_layers_vs_ifc` | read the shape's materials and material ids, which the cache does not keep | no | | `door_bodies_vs_ifc`, `box_bodies_vs_ifc` | `ifcopenshell.geom.iterator` | no | | `openings_vs_ifc`, `opening_boxes_vs_ifc`, `unfilled_openings_vs_ifc`, `plan_profiles_vs_ifc`, `oriented_boxes_vs_ifc`, `space_overlaps_vs_ifc`, `frames_vs_ifc`, `duct_bodies_vs_ifc` | the same call, on element sets no other scorer meshes (the three opening scorers overlap each other, about 30 s of the office's 1,800 task-seconds) | no | No scorer meshes both what the cache's key can name and what the `meshes` task has meshed, so extending the cache would lengthen the office's critical path (`saved_meshes_vs_ifc` then `mesh_bodies_vs_ifc`) for nothing shared; no commit made. What a conversion could save is parsing: `stair_bodies_vs_ifc` opens each file once per class (six parses) and `column_bodies_vs_ifc` opens ours twice. ## After merge The first dispatch from `main` is cold: it runs everything, as today, and saves each shard's cache. Later dispatches from `main` and every pull request's base side hit on every model whose export has not moved since the last save; a pull request's head side hits on the models its change leaves alone once a save covers that export. The measured SHA in the save key names the code that produced a cache, and a hit never depends on it. The real check is the first pull request after merge that moves an export: its changed models miss and the rest hit. ## Breaking changes None. ## Related issues Refs #1237.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Nineteen properties of
RvtElementRecordGeometrywere values one stage of the export wrote so a later stage could read them back, not facts about the element. They no longer reach the IFC. The exporter keeps them to itself, works the opening cuts and each door's and window'sOverallWidthandOverallHeightout of them as before, and hands the writer the result. Trust markers, provenance, identity and measured facts stay in the set.Motivation
Griffin's decision of 2026-11-03 ("Move hand-offs out"): internal hand-off values leave users' IFC, trust markers stay. It extends the 2026-10-27 rule for scorer-only values (a value only rvt-rs's own stages or scorers read goes in internal state or the
rvt-ifc --diagnosticsJSON, never in the IFC; #1052).Inventory
Every property written into
RvtElementRecordGeometry, who reads it, and what this PR does with it.Hand-offs, moved out (19). No reader outside rvt-rs's own stages: nothing in
tools/re,tests, the viewer, Python or the docs reads any of them, so the diagnostics JSON gets nothing.OpeningCentreX,OpeningCentreY,OpeningAxisX,OpeningAxisY,OpeningBaseElevation,OpeningWidth,OpeningHeight(RE-93, RE-94)ifc::filler_type_cut(the opening cut);OpeningWidthandOpeningHeightalso sizeOverallWidthandOverallHeightInstanceOriginX,InstanceOriginY(RE-87, RE-89)ifc::tapered_host_window_cutTypeWidth,TypeHeight(RE-187)OverallWidth,OverallHeight, last choiceCutWidth,CutHeight(RE-215)OverallWidth,OverallHeight, first choice; whether the opening getsQto_OpeningElementBaseQuantities.Depth(RE-244)CutSolidWidth,CutSolidDepth,CutSolidHeight(RE-225)ifc::cut_solid_size(the opening's depth and height)BoxWidth,BoxHeight(#810)OverallWidth,OverallHeight, third choiceSymbolWireWidth(RE-318)OverallWidth, ahead ofBoxWidthKept, with what justifies it:
BodySource,ProfileResolved,ProfileSource,BodyHeightSource,TopCoverElementId,TopCoverElementIds,ThicknessResolved,Thickness,ThicknessSource,SpaceOutlineSource,AreaBodyRefusal,LevelBindSource,StoreyBindSource,FamilyNameSourcetools/rescorers,saved_meshes.rs,schedule_csv.rs, the quantity passes,rvt-ifcdiagnostics, testsLevelElementId,ElementId(rooms),RoomNumber,RoomName,FamilyName,TypeName,RevitClass,SourceStream, the type's text parameters (RE-77),NominalDiameterIfcSpaceandObjectTypenames),IDENTITY_PROPERTIES,tests/fitting_nominal_diameter.rs,psets_vs_ifcBoundingBoxHeight,AxisLength,SectionShape,SectionWidth,SectionDepth,SectionWebThickness,SectionFlangeThickness,Join{Start,End}WallElementId,Join{Start,End}RunsThrough,JoinCutWallCounttests/column_cut_body.rs,beam_sections_in_ifc.py, profile sets, the viewer's wall-join panelProfileVertexCount,ProfileVoidCount,ProfilePieceCount,TypeSymbolElementId,TypeSectionWidth,TypeSectionDepth,JoinTrimStart,JoinTrimEnd,JoinReachStart,JoinReachEnd,LevelBindResolvedAxisLengthandSectionShapeare the borderline ones:add_beam_lengthreadsAxisLengthback to writeQto_BeamBaseQuantities.Lengthandmaterial_profile_sets_from_sectionsreadsSectionShape, but both are also the measured factsbeam_sections_in_ifc.pyscores from the IFC. They stay (moving them would need a diagnostics key and a schema for no change a user sees).The other rvt-rs sets (
RvtWallGeometry,RvtArcWall,RvtArcWallRectOpening,RvtFloorGeometry,RvtRsDiagnosticCandidate) carry nothing a later stage reads back.Changes
src/ifc/export_content.rs: the 19 are collected in a separate list (RecordGeometry::handoffs,TypedProductionAppend::record_handoffs, by entity index) and never reach the entity'sproperty_set. A mode without geometry records none, as it wrote none. The*_PROPERTIESconstants staypub, as the names of the hand-offs.src/ifc/mod.rs:opening_cuts_through_hostsreads the hand-offs through new helpers, in place of the entity's property set.filler_sizes_from_handoffsis theOverallWidthandOverallHeightcascade (cut loop, opening, box or symbol wire width, type size), moved here unchanged from the STEP writer.IfcModel::filler_sizesis new.src/ifc/entities.rs:FillerSize(width, height, whether the symbol cuts an outline).src/ifc/step_writer.rs: readsIfcModel::filler_sizesinstead of working the sizes out of properties.docs/support-matrix.json: evidence names the new path.changelog.d/changed/handoffs-leave-ifc.md.viewer/tests/journey.spec.ts: the Core Interior journey checks the downloaded IFC's door sizes.Serialised
IfcModelThe model JSON the viewer holds changes in two ways: a door's or window's
property_setloses the 19 properties, and afiller_sizeskey appears when it is not empty (likeopening_cuts). Nothing else changes. The hand-offs are not in the model at all, so none reaches the viewer's panel or Python. A first design kept them on the model underserde(skip); the viewer's "Download as IFC4 STEP" sends the model back throughmodelToIfcStep, so a skipped table would have written every door and window withOverallWidthandOverallHeight$.filler_sizesis serialised for that reason.Python's
rvt_to_ifccallsRvtDocExporterandwrite_stepon the exporter's own model, with no JSON between. The opening cuts run insideexport_rvt_doc_reporting, before the model leaves the exporter; no pass runs them on a deserialised model.Viewer download path:
viewer/tests/journey.spec.tsdownloads the IFC but checks its header and one element line, not its bytes againstrvt-ifc's. No spec compares the two.Testing
Unit tests are banned in this repository: none added. Nothing was built or run locally (
cargo fmtonly); the build, clippy, rustdoc and the real-file gates are this PR's CI. Measured end to end on GitHub's runners through Measure.tools/check-local.shpasses: not run locally; this PR's CI (fmt, clippy, rustdoc, the MSRV and platform builds, Corpus health, IfcOpenShell, semver) passesMeasured result (Measure 41755280111, this change at
91bb0215againstmainat44b0b46c,-f nordic=true -f r2025=true -f samples=true -f holdout=true -f keep_ifc=true, every scorer):main's but for the 19 properties. For each of the 93 models whose IFC the run kept (Core Interior, Einhoven, the four RE1 models, the office's four files, 24 R2025 models, 58 Autodesk samples and the spent Vitoria pair), the base IFC with the 19IFCPROPERTYSINGLEVALUElines ofRvtElementRecordGeometryremoved, their ids dropped from the set's list and every id renumbered in file order, is byte for byte the head IFC (the run's clock inFILE_NAMEandIfcOwnerHistorymasked, as Measure's ownifc.sha256masks it). 62 of the 93 hold none of the 19 and are identical as written; 31 hold 22,338 between them (Core Interior 1,506; the office as built 3,959 and at permit 3,925; RE1 Architecture 47; the R2025 Rooms_Door_Windows and its five stair siblings 38 each; 21 Autodesk samples of 2024 to 2027, 10 to 2,501 each and 12,673 in all).OverallWidth,OverallHeight, the openings and every other attribute and property are therefore what they were. The comparison isstepnorm.pybelow.scorer-diff.txt(artifactcompare-scorer-diff) holds two entries, both Core Interior's witness observation:IFCPROPERTYSINGLEVALUE29,214 to 27,708 (-1,506) and the observation hash that follows from it. Every other scorer output of every model is identical,psets_vs_ifc(W7),qtos_vs_ifcanddoor_window_sizes_vs_ifcincluded, and so is every model'sdiagnostics.jsonandrvt-infooutput.-f holdout=true, whose IFC is not kept): counts and scorer outputs identical tomain's. The IFC hash differs on 10 of them, as it does on the measured models with doors or windows above; their IFCs are not kept, so that is not checked line by line.octetproof-core-interior) for both artifacts, and differ from the committed ones only inIFCPROPERTYSINGLEVALUE(29,214 to 27,708) and the hash.tools/ci/witness-verdict.pywith CI's arguments replays both to PASS (replay: matchfor all three witnesses), and the committedverdict.jsonof each is byte for byte what the replay writes, so no verdict file changes. The artifact's own verdict, which reports the drift, is not committed.tests/fixtures/project-counts/2024-core-interior*.jsonpinIFCPROPERTYSET(6,510), which does not move (no set empties), and no row pinsIFCPROPERTYSINGLEVALUE, so neither fixture changes; Corpus health passes.viewer/tests/journey.spec.tsdownloads the IFC but checked its header and one element line, not its bytes againstrvt-ifc's: no spec compared the two. The journey on Core Interior now asserts that the downloaded STEP has anIFCDOORline with numericOverallHeightandOverallWidthfor every door the diagnostics count (132). It passes in Deploy viewer (41756212239), which runs the browser's path (modelToIfcStepon the model sent back from JSON). Python'srvt_to_ifcwrites the exporter's own model without JSON.semver checksincluded (the!and the footer announce the break).The comparison script and the per-model log (
stepnorm.py <base.ifc> <head.ifc>, exit 0 when identical) are not committed; the IFCs are in Measure'smeasure-baseandmeasure-headartifacts for 90 days.Diagnostics
No key is added to
rvt-ifc --diagnosticsanddocs/export-diagnostics.mdanddocs/schemas/export-diagnostics.schema.jsondo not change: no scorer or test reads any of the 19.parameter_value_countcountsPset_values only and does not move.Audit-honesty checklist
reports/andCHANGELOG.mdkeep the history they recordedchangelog.d/changed/, with the upgrading noteLegal and contribution hygiene
Breaking changes
BREAKING CHANGE:
rvt::ifc::IfcModelhas a new public field,filler_sizes, and the property set of a door or window no longer holdsOpeningCentreX,OpeningCentreY,OpeningAxisX,OpeningAxisY,OpeningBaseElevation,OpeningWidth,OpeningHeight,InstanceOriginX,InstanceOriginY,TypeWidth,TypeHeight,CutWidth,CutHeight,CutSolidWidth,CutSolidDepth,CutSolidHeight,BoxWidth,BoxHeightandSymbolWireWidth. Nothing user-facing changes value:OverallWidth,OverallHeightand the openings are what they were.Related issues
Griffin's decision of 2026-11-03, "Move hand-offs out". Follows #1052 (scorer-only values) and #1300 (
SymbolWireWidth).An automated Claude Code agent (Sonnet 5.5) wrote this change and measured it. The repo's Sonnet 5.5 xhigh review of a code-changing PR as it leaves draft is the maintainer session's to run; it had not run when this was written.