Repository navigation
research(re): RE-168, an element record's leading reference slot is its phase; ElementId 3 is New Construction (B56, #228) - #667
Merged
Conversation
…ce list is its phase; ElementId 3 is New Construction (B56, #228)
DrunkOnJava
enabled auto-merge (squash)
October 4, 2026 17:43
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.
RE-168 (Measure runs 37220480957, 37220915687): ElementId 3 is the ProjectPhase 'New Construction' on Core Interior and RE1 Mechanical (a fill pattern on RE1 Architecture). Where a file's phases are 1 Existing and 3 New Construction, an element record's first reference slot is one of them on all but a handful of records: the element's phase. RE1 Architecture numbers its phases otherwise and its records lead with a Level. Report and probes only.
Note
Low Risk
Research-only additions (example probes and markdown report); no library or runtime behavior changes.
Overview
Documents RE-168 (#228, B56): on typical models, an element partition record’s first reference slot lines up with a ProjectPhase (often ElementId 3 = “New Construction”), not a workset or arbitrary id.
Adds two CLI probes under
examples/: one dumps all ElementId 3 data objects (class, strings); the other lists ProjectPhase names, histograms the leading reference slot per record (with optional IFC export Tag overlap), and spot-checks RE1 Plumbing element 442378. The reportreports/element-framing/RE-168-leading-slot-phase.mdcaptures Measure evidence across Core Interior and RE1 MEP vs RE1 Architecture (phases/levels numbered differently). Open questions (Phase Created vs display phase, export filtering) are explicitly left unsettled.Reviewed by Cursor Bugbot for commit 64b548b. Configure here.