Repository navigation
ci(measure): count apart the properties of an export Revit made with no property sets (RE-239) - #1115
Merged
Merged
Conversation
…no property sets (RE-239)
DrunkOnJava
enabled auto-merge (squash)
October 30, 2026 00:21
4 tasks done
DrunkOnJava
added a commit
that referenced
this pull request
Oct 30, 2026
…1016) (RE-239) (#1120) ## Summary rvt-rs writes an element's type name as `Reference` only in the 34 IFC4 standard sets where a measured Revit export writes it with the same value (`CONFIRMED_REFERENCE_SETS`), and in no other set until one does. The maintainer's decisions, 2026-10-29 (RE-239 §7): keep the census set-asides of #1115 and #1118, which Revit's IFC4 exports back, and make `Reference` fail closed everywhere rather than skip the one unconfirmed set found. ## Motivation #1016 (W7). The census set aside 4,210 rvt-rs values its reference exports could not hold. Checked against the office's and R2025's IFC4 exports, 24 of their 25 properties are written equal there and never different; `Pset_ShadingDeviceCommon.Reference` is in no export. rvt-rs could also write `Reference` in 9 further sets no export confirms. ## Changes - `src/ifc/export_content.rs`: `CONFIRMED_REFERENCE_SETS`, the 34 sets (31 equal on the office and R2025 IFC4 exports, and the duct fitting, duct segment and pipe fitting types on RE1's IFC2X3 exports); `reference_set_kinds` keeps only those. - `tests/fixtures/project-counts/2024-core-interior{,-slim}.json`: `IFCPROPERTYSET` 6,528 to 6,508, with a dated note. - `research/witness/...core-interior*/observations/rvt-rs.json`: `IFCPROPERTYSET` 6,528 to 6,508, `IFCPROPERTYSINGLEVALUE` 29,102 to 29,082, `IFCRELDEFINESBYPROPERTIES` 7,062 to 7,042, copied from this PR's CI artifact; both verdicts replay PASS, verdict files unchanged. - RE-239 §7 (the coverage table and every set left out, with why), `changelog.d/changed/shading-device-reference.md`. ## Testing Measure [40986458174](https://github.com/DrunkOnJava/rvt-rs/actions/runs/40986458174), against main at b31c3f4, every model and scorer: - Exports that move: Core Interior (its 20 shading devices lose `Pset_ShadingDeviceCommon`), RE1 Electrical (its 5 alarms lose `Pset_AlarmTypeCommon`) and BIMcollab's 2015 structural model (its footings' sets). Every other export is byte-identical. - Census: equal, different and missing unchanged on every model; RE1 Electrical's values Revit does not write 5 to 0; Core Interior's set-aside 4,130 to 4,110. - 1,227 of 1,229 scorer outputs byte-identical; the two that differ are those census lines. Unit tests: none (banned). ## Audit-honesty checklist - [x] RE-239 §7 lists the 34 sets and every set left out, with why - [x] Changelog fragment - [x] No private paths, emojis or jargon ## Legal and contribution hygiene - [x] Apache-2.0 ## Breaking changes None in the API. Exports of models with shading devices, alarms, footings, reinforcing bars, transport elements or ramp flights lose those elements' `Reference` sets. ## Related issues Refs #1016.
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.
Summary
tools/re/psets_vs_ifc.py, the W7 property census, now counts apart what rvt-rs writes on a model whose Revit export writes no standard property set at all, instead of counting it as values Revit does not write. Revit's reference export of Core Interior writes no property sets (RE-239 §5), so its 4,130 values were the census's largest extra and said nothing about rvt-rs.Motivation
Under the strict rule for properties (no value Revit's export omits, 2026-10-29), the census's "rvt-rs values Revit does not write" column is the worklist. An export setup that writes nothing is not an omission it can score:
qtos_vs_ifc.pyalready counts quantities apart where the export has none (RE-242).Changes
tools/re/psets_vs_ifc.py: where Revit's export holds noPset_property, the extras are printed on a line of their own, "Revit's export writes no standard property set (its setup, RE-239 §5); rvt-rs values not scored: N", and the per-set extras listing is skipped. Every other export is scored as before.Testing
Measure 40978234397 (
--ref fix/census-setup-without-psets -f ref=main -f nordic=true -f r2025=true -f scorers=psets_vs_ifc):Equal, different and missing are unchanged on every model. No code or export changes; unit tests: none (banned).
Audit-honesty checklist
Legal and contribution hygiene
Breaking changes
None.
Related issues
Refs #1016 (W7).