Repository navigation
test: red run for B21 common References (do not merge) - #591
Closed
DrunkOnJava wants to merge 1 commit into
Closed
DrunkOnJava wants to merge 1 commit into
DrunkOnJava wants to merge 1 commit into
Conversation
Owner
Author
|
Red output recorded: 93 of Revit's Reference values on RE1 Architecture are missing on main (run 37133676030). |
DrunkOnJava
added a commit
that referenced
this pull request
Oct 3, 2026
…name (#35) (#592) B21, second slice of #35 (RE-154, #590). On all four RE1 models, Revit's export gives every element these Reference values, each holding the type's name: - Pset_QuantityTakeOff.Reference (IfcIdentifier); - its entity's common set's Reference (IfcIdentifier); - on walls and slabs, Pset_ReinforcementBarPitchOf{Wall,Slab}.Reference (IfcLabel). No stored parameter holds the value; rvt-rs reads the type name from the partition name entries (RE-38). **Commits** - **Test:** tests/common_reference.rs on the four RE1 models. Red on main in draft #591 (run 37133676030): 93 of Revit's values are missing on Architecture. The red output is in the commit message. - **Implementation:** each element named Family:Type:ElementId gets those sets. Only entities measured on the RE1 exports are listed. A door or window written as its opening (RE-84) gets none. - **Fix:** the first cut also skipped walls and slabs, whose types carry the no-geometry flag too. - **Pinned data**, with the maintainer's approval, in its own commit: - Core Interior step.IFCPROPERTYSET goes from 1086 to 2670. - The witness observations are regenerated (surface unchanged). **Measure** (run 37134311032, head against main) | model | property sets added | |---|---:| | Core Interior | 1,584 | | RE1 Architecture | 93 | | RE1 Electrical | 54 | | Einhoven | 21 | | RE1 Mechanical | 2 | Every scorer output is identical to main, and tests/common_reference.rs passes on the runners.
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.
Scratch branch: runs tests/common_reference.rs on main's code to record the red output for #35. Closed and deleted once the output is recorded.
Note
Low Risk
Test and CI registration only; no exporter or library behavior changes, though CI may fail when the corpus is present until #35 is fixed.
Overview
Adds a real-file integration test (
tests/common_reference.rs, RE-154 / #35) that exports the four RE1*.rvtmodels and compares common property setReferencevalues against Revit’s reference*.ifcexports, keyed by elementTagwhen entity andNamematch. The test parses STEP/IFC text (elements plusIFCRELDEFINESBYPROPERTIES→IFCPROPERTYSET) and fails on missing Revit references or extra/wrong ones; it skipsPset_SpaceCommonon the Revit side (covered elsewhere) and no-ops whenRVT_PROJECT_CORPUS_DIRor corpus files are absent.Registers the target as
real common_referenceintools/ci/test-targets.txtso CI and the local gate run it with the other corpus-backed exporter checks. Intended as a red baseline on current main until exporter work lands.Reviewed by Cursor Bugbot for commit 4b261d6. Configure here.