Repository navigation
feat(ifc): storeys, the building and spaces carry Revit's spatial property sets (#35) - #603
Merged
Merged
Conversation
…y-count and unknown-logical property sets (#35) tests/spatial_property_sets.rs compares, on the four RE1 models, every Pset_AirSideSystemInformation, Pset_ProductRequirements, Pset_BuildingStoreyCommon and Pset_BuildingCommon Revit's export gives a storey, the building or a space with rvt-rs's, property for property. Red on main (draft #602, run 37139848516, Corpus health tier 2): ---- re1_spatial_property_sets_are_revits stdout ---- thread 're1_spatial_property_sets_are_revits' panicked at tests/spatial_property_sets.rs:170:9: RE1 Architecture: 29 of Revit's 29 spatial property sets differ in rvt-rs's export ((object, set), Revit's, rvt-rs's): [(("IFCBUILDINGSTOREY Level 1", "Pset_AirSideSystemInformation"), {"Name": "IFCLABEL('Level 1')"}, None), (("IFCBUILDINGSTOREY Level 1", "Pset_BuildingStoreyCommon"), {"AboveGround": "IFCLOGICAL(.U.)"}, None), (("IFCBUILDINGSTOREY Level 1", "Pset_ProductRequirements"), {"Name": "IFCLABEL('Level 1')"}, None), (("IFCBUILDINGSTOREY Level 2", "Pset_AirSideSystemInformation"), {"Name": "IFCLABEL('Level 2')"}, None), ... failures: re1_spatial_property_sets_are_revits test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.92s
…perty sets (#35) Revit's IFC4 exports of the four RE1 models give each storey Pset_AirSideSystemInformation and Pset_ProductRequirements with Name its name, and Pset_BuildingStoreyCommon with AboveGround unknown; the building Pset_BuildingCommon with NumberOfStoreys and IsLandmarked unknown; and each space the two Name sets with the room's name. rvt-rs now writes the same. - entities: PropertyValue::Logical (IfcLogical, None for unknown); PropertySet::name_sets. - step_writer: emit_property_set, shared by element sets and the new storey and building sets. A model with no decoded Level has neither. - export_content: a room's two name sets.
… the spatial sets, with the maintainer's approval (#35)
…spatial sets, with the maintainer's approval (#35)
… the spatial sets, with the maintainer's approval (#35)
DrunkOnJava
enabled auto-merge (squash)
October 3, 2026 17:56
DrunkOnJava
added a commit
that referenced
this pull request
Oct 3, 2026
Phase 0 of session 2: repository state, test inventory, the property-set gap after #603/#605/#608, RE-157's finding, and ranked items B26 to B43 with the 16 committed for this session. Also records #601 to #608 in B21's progress and corrects the B23 table's stale statuses. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Documentation-only maintainer backlog updates; no runtime, CI config, or application code changes in this diff. > > **Overview** > Updates **`BACKLOG.md`** for maintainer **session 2 (2026-10-03)**: session settings now record test policy **(a)** (leave remaining suites untouched after B23), the **ordered committed queue** (B27→B33 and related ids), and a fresh **Phase 0** snapshot (git/CI, unit-test inventory post-mirror deletion, `psets_vs_ifc` gaps, RE-157 pipe inner diameter). > > Adds a **session-2 work table** for **B26–B43** (16 items committed, B42/B43 blocked on models), extends the **B21 progress log** with **#601–#608** and reframes still-open parameter/property-set work toward the new items, logs **four session findings** (witness CI cycles/B27, duct segment quirk, etc.), and **marks B23 mirror-deletion areas** as done in **#574–#577** with Python kept under **B25**. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 502bb34. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
This was referenced Oct 3, 2026
DrunkOnJava
added a commit
that referenced
this pull request
Oct 3, 2026
The slim (full-project) OctetProof step ran only when every step before it passed, so a change that moves rvt-rs's observation showed the slim drift one push after the full one, and regenerating the witness took two CI rounds (#603: run 37140112338 skipped the slim step). The full verdict step gets `id: witness_full`, and the slim step runs `if: !cancelled() && (steps.witness_full.outcome == 'success' || steps.witness_full.outcome == 'failure')`. The job still fails if either verdict fails. Verified on scratch draft #610 (run 37144054315): with one extra property set per storey injected, the full verdict failed with REPLAY_DRIFT, the slim verdict ran, and the published artifact held both fresh observations (IFCPROPERTYSET 2963 in each). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > CI workflow step ordering and conditions only; no product code or witness logic changes. > > **Overview** > The **slim** OctetProof verdict step no longer depends on the full verdict passing—only on the full step having **finished** (success or failure, unless the job was cancelled). > > The full verdict step is tagged with **`id: witness_full`**, and the slim step uses a conditional so it still runs when the full verdict fails (e.g. `REPLAY_DRIFT`). That way a single CI run can publish **both** fresh observation sets in the `octetproof-core-interior` artifact (B27), instead of skipping slim and forcing a second push to see slim drift. **Job failure semantics are unchanged**: either verdict failing still fails the job. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 6885393. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
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.
Revit's IFC4 exports of the four RE1 models give storeys, the building and spaces these sets, which rvt-rs did not write (#35):
Pset_AirSideSystemInformation.NameandPset_ProductRequirements.Name(its name,IfcLabel),Pset_BuildingStoreyCommon.AboveGround(unknown,IfcLogical);Pset_BuildingCommon.NumberOfStoreys(IfcInteger) andIsLandmarked(unknown);Namesets, with the room's name.Changes:
PropertyValue::Logical(IfcLogical,Nonefor unknown) andPropertySet::name_sets.step_writer:emit_property_set, shared by the element sets (output unchanged) and the new storey and building sets. A model with no decoded Level gets neither.export_content: a room's two name sets.Test:
tests/spatial_property_sets.rs(real target). Red on main: draft #602, run 37139848516, 29 of Revit's 29 sets missing on RE1 Architecture; the output is in the test commit's message.Note
Medium Risk
Touches STEP property-set emission for spatial hierarchy and adds a new
PropertyValuevariant, but element property output is refactored only and changes are covered by corpus regression tests.Overview
Closes #35 by aligning IFC export with Revit’s spatial property sets on storeys, the building, and spaces.
Model & emission: Adds
PropertyValue::Logical(IfcLogical, including unknown) andPropertySet::name_setsfor the two RevitNamelabel sets. The STEP writer introduces sharedemit_property_set(element sets unchanged, just refactored) and emits per-storeyPset_AirSideSystemInformation,Pset_ProductRequirements, andPset_BuildingStoreyCommon.AboveGround(unknown); on the building,Pset_BuildingCommonwith storey count andIsLandmarked(unknown) when levels exist. Export: Rooms get the two name sets fromm_nameviaElementPropertySet. Viewer:scene_graphformats logical values as Yes/No/Unknown.Tests: New
spatial_property_setsreal-target test compares RE1 RVT exports to reference IFC; CI target list updated.Reviewed by Cursor Bugbot for commit 0e07b3c. Configure here.