Skip to content

ci(measure): the property census counts curtain members' IsExternal apart, as the exporter's cache output (W7) (RE-269) - #1170

Merged
DrunkOnJava merged 10 commits into
mainfrom
re/270-curtain-member-census-apart
Oct 30, 2026
Merged

DrunkOnJava merged 10 commits into
mainfrom
re/270-curtain-member-census-apart

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

Follows #1159 (RE-269) and the maintainer's decision of 2026-10-30: the 10,267 curtain-member IsExternal values Revit's export writes on the BIM4LCA office as built (10,304 at permit) are the exporter's cache of element types at work, not the model's. rvt-rs never writes them, so tools/re/psets_vs_ifc.py now counts them apart with the other known-wrong exporter values (RE-235 §5) instead of as missing. No export changes; only the census and the documents that quote it. No new RE report: RE-269 covers it.

Motivation

W7 (docs/release-1.0-criteria.md), #35. 10,003 of the census's 12,672 missing values (with --revit-set-placement) were curtain mullions' IsExternal, which the model cannot give.

Measured

psets_vs_ifc, the scorer of this branch against main at b9e0ce7's scorer, on the same exports. Property values Revit's export writes on objects rvt-rs writes (total / equal / different / missing):

main this branch
office as built, with --revit-set-placement 57,773 / 45,045 / 56 / 12,672 47,506 / 45,045 / 56 / 2,405
office at permit, with it 57,915 / 45,227 / 56 / 12,632 47,611 / 45,227 / 56 / 2,328
office as built, without it 57,773 / 44,079 / 56 / 13,638 47,506 / 44,079 / 56 / 3,371
office at permit, without it 57,915 / 44,261 / 56 / 13,598 47,611 / 44,261 / 56 / 3,294

Runs: before 41117828966 (with) and 41117835321 (without), after 41117832403 and 41117838385, on main at b9e0ce7 and this branch at 6789519. Equal and different are unchanged on all 31 models; only the two office files move, by 10,267 and 10,304 values. The new lines the census prints:

Revit values known to be wrong, left out (RE-235 §5, RE-269): Pset_MemberCommon.IsExternal on curtain members 10003
Revit values known to be wrong, left out (RE-235 §5, RE-269): Pset_MemberCommon.IsExternal on types 4
Revit values known to be wrong, left out (RE-235 §5, RE-269): Pset_PlateCommon.IsExternal on curtain members 260

(permit: 10,031, 4 and 269). The unfiltered run 41114107468 (-f base=main -f nordic=true -f r2025=true -f ifc_flags=--revit-set-placement, this branch at 582aa50 against main at a866151) has 1,409 files identical between the two sides, every ifc.sha256 among them: no export moved.

The largest of the 2,405 still missing are the glazing set's IsLaminated and IsTempered (846 each) and rooms' OccupancyType (234).

Scope of the count-apart (a choice to confirm)

The census counts a curtain member's value apart only where the export's own type objects hold IsExternal in the member's set, which is how that exporter's output (24.0.5.432 on the office) differs from a later one's. RE1 Architecture's 12 members (exporter 26.2.0.20, IFC2X3, no type holds one) are scored: still missing, 64 as before. If the decision is to leave every curtain member's value out whatever the exporter, curtain_cache_values is one condition to drop.

Changes

  • tools/re/psets_vs_ifc.py: curtain_cache_values, the RE-235 §5, RE-269 count-apart lines, the docstring.
  • docs/release-1.0-criteria.md W7 row, docs/supported-profile.md, docs/support-matrix.json (the ifc-is-external note), README and ROADMAP (cite RE-269), RE-235 §5 (a row and the counts).
  • changelog.d/changed/psets-curtain-member-is-external.md.

Testing

  • End to end on real files: the Measure runs above; no unit tests added.
  • No exporter output changes (nothing under src/), so no witness replay.
  • python3 tools/release/changelog.py check and python3 tools/ci/api-doc-ids.py pass.

Breaking changes

None.

Related issues

Refs #35, #1018. Follows #1159.

@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Owner review: scorer and docs only; no export moves (unfiltered 41114107468: every ifc.sha256 identical). curtain_cache_values counts a curtain member's IsExternal apart only where the export's own type objects hold one, which marks the exporter whose type cache RE-269 measured (24.0.5.432 on the office). That is the scope of the maintainer's 2026-10-30 decision and no wider: RE1 Architecture's 12 members, from exporter 26.2.0.20 with no type cache, are values Revit writes correctly that rvt-rs does not, so they stay scored as missing. Counting them apart would hide them, and writing the host rule for them is the option the maintainer did not take. Census: equal and different unchanged on all 31 models; office missing 12,672 → 2,405 with --revit-set-placement, 13,638 → 3,371 without. Armed.

@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 30, 2026 19:52
@DrunkOnJava
DrunkOnJava merged commit b17d628 into main Oct 30, 2026
27 checks passed
@DrunkOnJava
DrunkOnJava deleted the re/270-curtain-member-census-apart branch October 30, 2026 20:22
DrunkOnJava added a commit that referenced this pull request Oct 30, 2026
…per line, so pull requests changing different values stop conflicting (#1177)

## Summary

Every W6 or W7 change edits one table cell, a single line of 1,800 and
5,400 characters, so any two open pull requests that add a value
conflict, and each landing put the others in conflict again (#1152,
#1163, #1170 today). This moves the two "value now" cells into sections
below the table, `### W6 measured now` and `### W7 measured now`, with
one sentence or list item per line. Markdown joins the lines of a
paragraph with spaces, so the page reads the same: joined back, each
section is byte-identical to the cell it replaces (checked by script
against `main`). The table's cell now links to its section; the
requirement, bar and status stay in the table.

## Changes

- `docs/release-1.0-criteria.md`: the two cells moved, an HTML comment
in each section saying why the lines break where they do, and one
sentence in "Keeping this page".

## Testing

Docs only. Checked by script that the text of each section, its lines
joined by spaces, equals the cell on `main` (b17d628) exactly, that no
line begins with Markdown list, heading, quote or table syntax, and that
every other line of the page is unchanged. `tools/maintainer/audit.py`
reads the page only for the issue numbers it cites, which are all still
there.

## Audit-honesty checklist

- [x] No status, bar or measured value changes
- [x] Changelog fragment: not needed (layout of a docs page)
- [x] No emojis, no private paths or personal addresses in committed
files

## Related issues

None; open W6 and W7 pull requests (#1166, #1171 to #1175) move their
additions into the new sections when they next merge `main`.
DrunkOnJava added a commit that referenced this pull request Oct 30, 2026
… set file places apart, as out of W7's scope (RE-239) (#1180)

## Summary

On 2026-10-26 the maintainer ruled out of W7's scope the values a
project's own export-time property set file places (RE-239), but the
property census still counted them as missing, so W7's headline
"missing" mixed what rvt-rs owes with what no reader can give.
`tools/re/psets_vs_ifc.py` now counts them apart, in the same way as
RE-235 §5's and RE-269's values: in an IFC4 Reference View export,
`Pset_DoorWindowGlazingType` on an element that is not a door or a
window, and `Pset_SpaceOccupancyRequirements`. revit-ifc's certified
list of the sets that view creates (`IFCCertifiedEntitiesAndPSets.json`,
CLEANROOM.md source 5) holds neither, so only such a file writes them
(RE-239 §1). The glazing set on doors and windows, where IFC4 applies it
and rvt-rs writes it, stays scored. No export changes.

## Measured

`psets_vs_ifc` on the same exports of `main` at b09310a, every model
(office, R2025, RE1, Core Interior, Einhoven), with main's scorer
(before) and this branch's (after):

| office | before | after |
|---|---|---|
| as built, `--revit-set-placement` (41129221110 → 41129228138) | 47,506
/ equal 45,069 / different 56 / missing 2,381 | 45,525 / 45,069 / 1 /
455 |
| at permit, with it | 47,611 / 45,251 / 56 / 2,304 | 45,704 / 45,251 /
1 / 452 |
| as built, without it (41129217725 → 41129224669) | 47,506 / 44,103 /
56 / 3,347 | 45,525 / 44,103 / 1 / 1,421 |
| at permit, without it | 47,611 / 44,285 / 56 / 3,270 | 45,704 / 44,285
/ 1 / 1,418 |

Set aside: 1,981 as built (`IsLaminated` 846, `IsTempered` 846,
`OccupancyType` 234, `OccupancyNumber` 55) and 1,907 at permit, exactly
RE-239 §1's counts in standard sets (its 32 and 31 `FI_` values are not
standard sets, which the census never scored). The 55 `OccupancyNumber`
values, written by the file as `IfcInteger` where IFC4 declares
`IfcCountMeasure`, were 55 of the 56 that differed. The glazing set on
doors and windows stays scored: 535 and 531 values each, all equal.
Every other model's `psets_vs_ifc.txt` is byte-identical before and
after.

## Changes

- `tools/re/psets_vs_ifc.py`: `export_file_values` and its count-apart
line, the docstring.
- `docs/release-1.0-criteria.md` (the census lines in `### W7 measured
now`), RE-239 §5 (a dated note),
`changelog.d/changed/psets-export-file-values.md`.

## Testing

- [x] End to end on real files: the four Measure runs above. No unit
tests.
- [x] No `src/` change, so no export moves and no witness replay.
- [x] `python3 tools/release/changelog.py check` and `python3
tools/ci/api-doc-ids.py` pass.

## Related issues

Refs #35, W7. Follows #1170.
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