Repository navigation
docs(criteria): write W6's and W7's values below the table, one item per line, so pull requests changing different values stop conflicting - #1177
Merged
Conversation
…per line, so pull requests changing different values stop conflicting
Owner
Author
|
Self-review: verified by script that each new section's lines, joined by spaces, equal the W6 and W7 cells on main b17d628 byte for byte, and that no line starts with list, heading, quote or table syntax (which would change the rendering). The HTML comments sit on their own lines followed by a blank line, so they end their HTML block before the paragraph. Anchors |
DrunkOnJava
enabled auto-merge (squash)
October 30, 2026 20:24
2 tasks done
8 tasks done
DrunkOnJava
added a commit
that referenced
this pull request
Oct 30, 2026
…e floors it is joined to leave it whole (#1046) (RE-270) (#1166) ## Summary #1162 and #1152 are on `main`. rvt-rs now also writes a wall's `GrossSideArea`, `NetSideArea`, `GrossVolume` and `NetVolume` on a wall joined to roofs, floors or footings that lie clear of it, when its record confirms its length: 18 more office walls as built and 22 at building permit, Revit's on every one, none different and none Revit's export leaves out (RE-270, the second rule). 2 of each are walls #1152 cuts at a floor. ## Motivation #1046 step 1 (walls). The first rule (#1162) takes the walls nothing joins to or cuts. Most of the rest are joined to a floor or roof at the top. Two readings decide whether such a wall is still the prism its record's box gives: whether the elements it is joined to leave it whole, and whether the box's ends are Revit's. The first is measured on rvt-rs's own bodies, the second by the record's `Length` (RE-252: the curve cut back at its joins is as long as the curve, both ends read twice alike). Each is needed: with the joins clear but no length, 45 of 53 office walls as built are right; with both, 18 of 18 (RE-270 §4). ## The wall top cuts (#1152) The pass runs after `wall_tops`, on purpose (stated in `export_content/wall_areas.rs` and at the call site): it reads each extrusion at its final height, and a wall that pass cut has the floor's underside for its top, which that floor then clears. RE-267 §7 found Revit's export writes no `Height`, and so (RE-270 §1) no side areas, on the cut walls it draws as a mesh: 1746099 and 1767978 as built, 1488456, 1746099, 1795193 and 3363820 at permit, and nothing read tells them from the rest. None of them gets a value: each holds a step the rule does not allow (a cut pair or a cutout), or a body that is not the record's box with a confirmed length (1767978 as built is drawn from its line). The rule takes 2 cut walls in each office (2897628 and 2897629, joined to floor 2991742 alone, Revit's on all four quantities in both files); the 3 other cut walls with a confirmed length and a record-box rectangle (2872774, 2872775, 2872777) are also joined to slab 1875411, whose body lies inside their height, so they stay out. No cut wall gets a value Revit omits, so no exclusion of `wall_top_cut_at_covering_floor` walls was needed; the exclusion would cost 2 walls in each office. ## Changes - `src/research/native_walls.rs`, `src/research/partition_schema_mvp/{fields,walls}.rs`: `WallRecords::bounded`, the walls whose record holds no step but the harmless ones, `JoinToRoofGStep` and `CleanPairGStep`, with the ElementIds their roof and floor joins name (top and base), and `WALL_BOUNDED_FIELD` on each. - `src/ifc/export_content/wall_areas.rs` (new), `src/ifc/export_content.rs`: a pass after `wall_tops` writes the four quantities of the first rule on each such wall that carries a `Length`, whose body is the record's box (a rectangle) and whose named elements are slabs, roofs or footings drawn as plain extrusions lying wholly above its top or wholly below its base. `prism_quantities` is the one formula both rules use. - Core Interior's witness observations (one wall more: `IFCQUANTITYAREA` 489 to 491, `IFCQUANTITYVOLUME` 356 to 358, copied from Measure's witness output), RE-270 §4, README, W7 (its own line, as #1177 sets out), the supported profile, the reconnaissance addendum and `changelog.d/added/wall-areas-volumes-joined.md`. ## Testing Unit tests are banned in this repository; none added. Measure [41120485504](https://github.com/DrunkOnJava/rvt-rs/actions/runs/41120485504): this branch (972d215) against `main` (6eca8e0, with #1152 and #1162), every model and every scorer. Only `qtos_vs_ifc` and Core Interior's witness observations move; every other scorer's output and `diagnostics.decoded.parameter_value_count` are byte-identical to `main`'s. Since that head, the branch only merges `main` commits that touch no `src/` file (probes, `psets_vs_ifc.py`, the holdout scrub, docs), so the exports are unchanged. [41124825328](https://github.com/DrunkOnJava/rvt-rs/actions/runs/41124825328) lists each wall (`tools/re/wall_quantities_vs_ifc.py`). | | office as built | at permit | R2025 | |---|---:|---:|---:| | walls the second rule adds | 18 | 22 | 0 | | ... of them cut by #1152 | 2 | 2 | 0 | | walls carrying the four, with #1162's | 67 | 70 | 91 | | the four equal to Revit's, of those | 67 | 70 | 91 | | the four equal before, after (each quantity, of 579 and 607 as built, 565 and 589 at permit) | 49 to 67 | 48 to 70 | 91, unchanged | | quantities equal, before | 27,948 | 27,878 | 775 | | quantities equal, after | 28,020 | 27,966 | 775 | | different, before and after | 1 (the mullion) | 1 | 0 | | written that Revit's export omits | 0 | 0 | 0 | The R2025 walls under roofs are all under sloped roofs, which rvt-rs draws as solids and the rule does not measure. Left out and measured: walls a floor passes through, cut pairs, cutouts, embedded walls and sweeps (RE-270 §6). - [x] Verified end to end on real Revit files (BIM4LCA office, CC BY-SA 4.0; puzzbobb's R2025 models, Apache-2.0): Measure above, `tools/re/wall_quantities_vs_ifc.py` and `probes/examples/probe_1067_native_dump.rs` reproduce it - [x] Witness observations refreshed in this PR - [x] No local build: `rustfmt` only; CI is the gate ## Audit-honesty checklist - [x] README, W7, the supported profile and the reconnaissance addendum say what is and is not written - [x] Changelog fragment under `changelog.d/added/` - [x] Limitations (walls a join intrudes on, sloped roofs, walls without a confirmed length, mesh-drawn cut walls) are in RE-270 §4 and §6 and this body - [x] Reverse-engineering finding: scorer, probe, addendum and report included ## Legal and contribution hygiene - [x] Apache-2.0; clean-room: revit-ifc is read for what Revit's exporter writes and cited (`CreateWallBaseQuantities`), not copied
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
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 nowand### 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 againstmain). 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.pyreads the page only for the issue numbers it cites, which are all still there.Audit-honesty checklist
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.