Skip to content

ci(measure): the property census counts what a project's own property set file places apart, as out of W7's scope (RE-239) - #1180

Merged
DrunkOnJava merged 6 commits into
mainfrom
ci/census-export-file-values
Oct 30, 2026
Merged

DrunkOnJava merged 6 commits into
mainfrom
ci/census-export-file-values

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

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

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

Related issues

Refs #35, W7. Follows #1170.

@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Self-review: export_file_values applies only to an IFC4 export whose FILE_DESCRIPTION names a Reference View (the office's), and sets aside only the two sets RE-239 §1 traced to the project's own file, the glazing set off doors and windows and the occupancy set. Every other model's census output is byte-identical; equal is unchanged on the office; the set-aside counts equal RE-239's table. This implements the maintainer's 2026-10-26 scope decision in the measurement and widens nothing. Armed.

@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 30, 2026 21:19
@DrunkOnJava
DrunkOnJava merged commit f73908b into main Oct 30, 2026
27 checks passed
@DrunkOnJava
DrunkOnJava deleted the ci/census-export-file-values branch October 30, 2026 21:48
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