Skip to content

ci(measure): qtos_vs_ifc keys an opening by whether something fills it, so Revit's further cuts are not scored against rvt-rs's door opening (#1016) - #1188

Merged
DrunkOnJava merged 3 commits into
mainfrom
ci/qtos-opening-keys
Oct 30, 2026
Merged

DrunkOnJava merged 3 commits into
mainfrom
ci/qtos-opening-keys

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

tools/re/qtos_vs_ifc.py keyed every object by its Tag, so the openings Revit's export writes with one Tag, a door's own opening and the further cuts the door or a curtain wall makes in other hosts, collapsed to one key: a later one overwrote an earlier one, and their quantities were scored against rvt-rs's door opening. #1161 fixed the same thing in the property census. This uses its property_key_of (opening:<Tag>:filled or :void), records on each opening the classes of what fills it so RE-235 §5's door-opening rule still finds the door, and counts the quantities on openings rvt-rs does not write apart, on their own line (#1165 tracks those openings). No export changes.

Measured

qtos_vs_ifc on the same exports of main at f73908b, every model, main's scorer (run 41136016672) against this branch's (run 41136020671). Only the office moves:

office before after
as built 39,721 / equal 28,020 / different 1 / missing 11,700 39,388 / 28,020 / 1 / 11,367
at permit 40,013 / 27,966 / 1 / 12,046 39,679 / 27,966 / 1 / 11,712
  • Counted apart, on openings rvt-rs does not write: 527 as built (Width 176, Height 175, Depth 169, Area 5, Volume 2), 528 at permit.
  • RE-235 §5's swapped door-opening Width and Height: 191 → 187 each. The 187 are exactly the door openings whose Depth is Revit's (187 equal); the 4 others were further cuts sharing a door's Tag.
  • Now scored as missing, visibly: 25 window openings' Width and Height.
  • Every other model's output is byte-identical.

Changes

  • tools/re/qtos_vs_ifc.py: property_key_of for objects and quantity sets, filling classes on openings, the count-apart line.
  • docs/release-1.0-criteria.md (W7's quantity totals), changelog.d/changed/qtos-opening-keys.md.

Testing

  • The two Measure runs above. No unit tests.
  • No src/ change; no export moves.
  • changelog.py check and api-doc-ids.py pass.

Related issues

Refs #1016, #1165. Follows #1161.

@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Self-review: only openings change keys (property_key_of falls back to key_of); the wall and slab helpers keep key_of. The door-opening defect now reads the filling classes recorded on the opening, and its 187 match the 187 door openings scored equal on Depth. Values on unwritten openings were previously dropped silently or overwritten; they are now listed. Equal and different are unchanged on every model. Armed.

@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 30, 2026 22:14
@DrunkOnJava
DrunkOnJava merged commit 88e2889 into main Oct 30, 2026
27 checks passed
@DrunkOnJava
DrunkOnJava deleted the ci/qtos-opening-keys branch October 30, 2026 22:20
Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 31, 2026
Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant