Repository navigation
test: red run for B20 unfilled openings (do not merge) - #583
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: 62 of Revit's 62 unfilled slab and shading-device openings are missing on main (run 37126870895). |
DrunkOnJava
added a commit
that referenced
this pull request
Oct 3, 2026
…Revit tags them (#227) (#584) B20, part 2 of #227 (RE-151). Revit's export writes each hole in a floor's sketch both as a void of the slab profile and as an IfcOpeningElement voiding the slab. The opening uses the hole's outline through the slab's thickness, sits in the slab's frame, is named Family:Type:<type id>, and is tagged with the lowest ElementId of the sketch lines on the hole. **Commits** - **Test:** tests/unfilled_openings.rs. Red on main in draft #583 (run 37126870895): 62 of 62 missing. The red output is in the commit message. - **Implementation:** - Void loops carry the lowest id of the sketch lines lying on them. - A Floor (slab or shading device) writes one IfcEntity::VoidOpening per tagged void. - The writer places each one in its host's placement, with its own identity axis (#232), and voids the host. It is not a building element, so storey containment and the building-element counts are unchanged. - **Scorer:** opening_boxes_vs_ifc.py also scores unfilled openings, by their own Tag. - **Witness:** with the maintainer's approval, the Core Interior rvt-rs observations are regenerated in their own commit. The surface is unchanged (6 fields, 0 diffs); the hash moves because of the 62 new openings. **Measure** (run 37128180603, head against main) - Core Interior unfilled openings: 0 to 62 of Revit's 63. All 62 are within 0.001 ft of Revit's box: 42 IfcSlab, 20 IfcShadingDevice. - Every other model's outputs are identical to main. - The 63rd opening is a hole in wall 55840's elevation-profile sketch, which rvt-rs does not read.
DrunkOnJava
added a commit
that referenced
this pull request
Oct 3, 2026
Updates BACKLOG.md: B09 is done (#580), and B20's #227 slab and shading-device openings are in #584, with their Measure evidence. The progress log also records which 0.4.x milestones are blocked here, and why. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Documentation-only updates to backlog status and progress notes; no runtime or test code changes in this diff. > > **Overview** > **BACKLOG.md** is brought in line with recent merges and in-flight geometry work. > > **B09** moves from *in review* to **done** in the ranked table. The progress log now records #580 as merged, with the existing red/green narrative for `tests/element_materials.rs` and Measure gains on Core Interior and RE1 disciplines. > > **B20**’s progress section is expanded for milestone **#227** and PR **#584**: slab and shading-device sketch holes as openings (tag = lowest sketch-line id), with draft **#583** red run, Measure **62/63** openings within tolerance, and witness regeneration. It also documents the remaining **63rd** opening (wall 55840 elevation profile, blocked on edited-profile reading) and a short list of other **0.4.x** milestones blocked on Snowdon-only models, missing oracles, or format evidence. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 65de679. 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.
Scratch branch: runs tests/unfilled_openings.rs on main's code to record the red output for #227. Closed and deleted once the output is recorded.
Note
Low Risk
Test-only and CI manifest change; no production exporter logic in this diff.
Overview
Adds a real-file integration test (
tests/unfilled_openings.rs) for RE-151 / #227: it exports2024_Core_Interior.rvt, parses STEP/IFC forIfcOpeningElements that are voided but not filled, and asserts rvt-rs matches Revit’s reference IFC for the 62 slab and shading-device cases (openingTagand hostTag), with no extras or omissions. The test skips whenRVT_PROJECT_CORPUS_DIRor the reference export is missing.Registers
unfilled_openingsunder therealclass intools/ci/test-targets.txtso CI and the local gate run it. Intended as a red test on current main until exporter work lands.Reviewed by Cursor Bugbot for commit cbb8186. Configure here.