Repository navigation
feat(ifc): a room's Pset_SpaceCommon, with its Floor Finish (#35) - #589
Merged
Merged
Conversation
RE-153: Revit's export of RE1 Architecture gives each of its 11 rooms a Pset_SpaceCommon with Reference (IfcIdentifier, the room's name and number) and FloorCovering (IfcLabel, its Floor Finish). The new real-file target checks that every space rvt-rs writes carries the same set, property for property and value type for value type, and that no other space carries one. Red on main (draft #587, run 37131559218, Corpus health tier 2): test re1_architecture_space_common_is_revits ... FAILED thread 're1_architecture_space_common_is_revits' panicked at tests/space_common.rs:146:5: 11 of Revit's 11 Pset_SpaceCommon sets differ in rvt-rs's export (space, Revit's, rvt-rs's): [("RE-1", {"FloorCovering": "IFCLABEL('Tatami')", "Reference": "IFCIDENTIFIER('4 Tatami RE-1')"}, None), ...] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.91s
RE-153: a room's Floor Finish is the text parameter -1006903
(ROOM_FINISH_FLOOR), an entry id · u32 n · UTF-16 joined to its room by
the Adler-32-verified data object holding it. On RE1 Architecture it is
Revit's Pset_SpaceCommon.FloorCovering on 11 of 11 exported rooms.
- partition_room_parameters: enclosing_data_object finds the verified
object around a byte, and scan_room_text_parameter reads a room text
parameter through it (Revit 2024 and later).
- partition_schema_mvp: rooms carry m_room_floor_finish.
- ifc: PropertyValue::Label and ::Identifier write IfcLabel and
IfcIdentifier, the types standard property sets declare; each room gets
Pset_SpaceCommon with Reference ("<name> <number>") and FloorCovering.
…ted witness observations, for Pset_SpaceCommon (#35) With the maintainer's approval. Each of Core Interior's 116 rooms now carries Pset_SpaceCommon (Reference), as Revit's export writes it, so step.IFCPROPERTYSET moves 970 -> 1086 in both project-count manifests (project_count_fixtures: 'property_sets decoder step.IFCPROPERTYSET: actual 1086, expected 970 +/- 8'). The witness observations are copied from Measure run 37131863056; the surface is unchanged and the hash moves 6ae889e0... -> ff9e5a75...
DrunkOnJava
enabled auto-merge (squash)
October 3, 2026 15:24
DrunkOnJava
added a commit
that referenced
this pull request
Oct 3, 2026
…t-rs's (#35) (#593) A Measure scorer for #35. Every single-value property in a Pset_ set that Revit's export relates to an object is compared with rvt-rs's value, by object (Tag, space or storey Name, or building), set and property. Each counts as equal, different or missing. Baseline on main (Measure run 37134925110): | model | Revit values on objects rvt-rs writes | equal | |---|---:|---:| | RE1 Architecture | 253 | 22 | | RE1 Mechanical | 255 | 0 | | RE1 Plumbing | 444 | 0 | | RE1 Electrical | 153 | 0 | On Architecture, the 22 equal values are the 11 room Floor Finishes and the 11 room References from #589. Core Interior's slim export writes no property sets. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Research/CI-only Python scorer and workflow list change; no runtime export or auth paths. > > **Overview** > Adds a **Measure / research scorer** that compares Revit-export **`Pset_*` single-value properties** on shared IFC objects against **rvt-rs** exports, keyed by element `Tag`, space/storey `Name`, or `building`. > > The new `tools/re/psets_vs_ifc.py` script reports totals and per-(set, property) counts of **equal**, **different**, and **missing** values (numbers normalized to six significant figures; rvt-rs-only and non-`Pset_` sets are ignored). **`psets_vs_ifc`** is registered in `tools/ci/measure-reference-models.sh` so reference-model CI runs it alongside the other IFC scorers. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit dbce5e1. 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.
B21, first slice of #35 (RE-153, #588).
Revit's export gives each room a Pset_SpaceCommon with two properties: Reference (IfcIdentifier, the room's name and number) and FloorCovering (IfcLabel, its Floor Finish). A room's Floor Finish is the text parameter -1006903. Its entry is joined to the room through the Adler-32-verified data object holding it.
Commits
Measure (run 37131863056, head against main)