Repository navigation
ci: Measure scores the BIM4LCA housing and timber office pairs, and RE-402 records the first measurement of the shipped rules on them (#1636) (RE-402) - #1653
Merged
Conversation
…rd and a cache of their own each (#1636) VTT's ARCH.zip holds Revit 2024 files with Revit's own IFC export that no run scored: the housing in concrete and timber (as built and at building permit), its two terrain files, and the timber office (as built and at building permit). Sixteen files, 1.12 GB, pinned in research/bim4lca-measure.tsv. Each large model has a shard of its own; a shard fetches and caches only its pair (tools/ci/fetch-bim4lca.py takes file names), and a filter naming only BIM4LCA models gets a shard per model. The semantic dumps stay with the models the semantic check lists.
… a reference model (#1636)
…t, so a project its export rotates is compared in one frame (#1636) Revit's export of the BIM4LCA housing places the IfcSite 60.6 degrees off rvt-rs's frame. The stair, wall and opening scorers undo that placement with ifc_common.site_frame; the roof and duct scorers compared raw world coordinates, so on the first measurement of these models every roof read 85 to 213 ft from Revit's with volumes equal to the seventh digit, and the one duct 134 ft. A synthetic pair (one roof and one duct under a rotated, offset millimetre site against the same bodies under an unrotated metre site) read 0 of 1 before and 1 of 1 after.
…ng files tier-two tests read (#1636) Tier-two tests read the two large housing permit files and the small concrete terrain one (research/bim4lca-models.tsv), not every file of the eight; the timber office is not a W5 candidate because it is the concrete office's project, which the rules were developed on.
DrunkOnJava
force-pushed
the
ci/measure-housing-and-timber-office
branch
from
November 10, 2026 20:42
1b74f6c to
2c2385c
Compare
…n the BIM4LCA housing and the timber office (#1636) (RE-402) Five of the 15 census lines the pre-registration reads hold on the housing, 9 do not and 1 is not exercised; the concrete office the rules were developed on holds 13 and fails 2. Every wrong mullion value on the housing is one type, 0.005429 ft2 above Revit's whatever its ends. RE-400 writes 24 wrong NetSurfaceArea values on the timber office at permit, a file it had not been measured on; the roof and duct scorers misread a project Revit's export rotates (repaired in the commit before). Nothing rvt-rs writes changes; each repair is its own pull request.
DrunkOnJava
force-pushed
the
ci/measure-housing-and-timber-office
branch
from
November 10, 2026 20:59
d6bfcc8 to
6ef1cd5
Compare
DrunkOnJava
marked this pull request as ready for review
November 10, 2026 20:59
This was referenced Nov 10, 2026
Open
DrunkOnJava
added a commit
that referenced
this pull request
Nov 10, 2026
… alone kept as a block are drawn from their saved meshes (#1630) (RE-401) (#1650) ## Summary A `GGTag` in a body's saved graphics is a group of exactly one `GPoint`, with a test point to select the group by and no surface. The walk refused the class, which kept every roof that holds one partial, and 4 of Snowdon Towers Architectural's 10 roofs that stayed the level block of their sketch outline had no other reason. Walked as a group, 6 bodies of Snowdon are drawn from their saved meshes: the 4 roofs (each Revit's volume to 1.5e-7, every vertex of Revit's body within 0.000006 ft of rvt-rs's) and 2 slabs (within 0.009% in volume), and one roof on each of `rac_advanced`'s five saves, which have no Revit export. No other export of the 118 models Measure reads moves. ## Motivation #1630: 10 of Snowdon Towers' 20 roofs stay a level block, 4.9% to 133% above Revit's volume. `probe_re389_roof_blocks` lists what keeps each: `GGTag` is the one reason of 9 of the 10 and the only one of 4. ## Changes - `src/research/native_graphics_traversal.rs`: `"GGTag"` joins the group arm (`GElement`, `GGroup`, `GFilter`), so its children are visited and its `GPoint` is excluded as a branch with no surface, as every point is. - `probes/examples/probe_re389_roof_blocks.rs` and `probe_re389_roof_graphics_tree.rs`: what keeps each roof a block, and the graph of four of them. - `reports/element-framing/RE-401-ggtag-group.md`, `changelog.d/changed/1630-ggtag-group.md`, `docs/format-reconnaissance.md` (addendum) and the roofs sentence of `docs/status.md`. ## Testing Unit tests are banned in this repository; none are added. - [x] Verified end to end on real Revit files. Measure run [42890115878](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42890115878), unfiltered (`nordic`, `r2025`, `samples`, `racadv`, `bimcollab`, `holdout`), head `008437f5` (this change before its rebase onto `main`, kept under `refs/archive/2026-11-10/cited/`) against `main` at `38dff86c`, 118 models on each side: 6 exports move (`rac_advanced` 2023 to 2027 and Snowdon Towers Architectural 2024), the other 112 are byte-identical, no census regression and no body or placement regression. - [x] Against Revit's own export: run [42895732087](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42895732087) kept the exports of the 2024 samples, and Snowdon's, scored against the local copy of Revit's IFC4 export, gain 6 meshes (`IfcRoof` 10 to 14 triangulated bodies, `IfcSlab` 3 to 5, no other class): 4 of 4 roofs `match` in `roof_bodies_vs_ifc` (with the IfcSite repair of #1653), 2 of 2 slabs within 0.00046 ft and 0.009%. The roofs `match` on 2 of 20 on `main` and on 6 of 20 on the head. - [x] The second project, pre-registered on #1636 ([comment](#1636 (comment))) before any run of this rule on it: Measure run [42903219538](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42903219538) (head `c8aeb4cd` against `main` at `0bb8067f`, the BIM4LCA housing and the timber office): 0 exports move and no counter or scorer output differs, so the rule is **not exercised** there, which is not holding: it rests on Snowdon Towers Architectural alone, and on `rac_advanced`'s five roofs that no Revit export scores. - [x] CI runs the gates of `tools/check-local.sh`; the fast set runs while the PR is a draft and the full set once it is ready. ## Audit-honesty checklist - [x] Docs reflect the state after this PR: the roofs sentence of `docs/status.md` and the addendum of `docs/format-reconnaissance.md`. - [x] Changelog fragment under `changelog.d/changed/`. - [x] The limitations are in the report's section 6: the other 6 roofs keep their blocks for the reasons stated, Snowdon's Revit export is local only, and the rule is not exercised on the BIM4LCA housing or timber office. - [x] No emojis, no private paths. - [x] A reverse-engineering finding: two probes under `probes/examples/` and a dated report. ## Legal and contribution hygiene - [x] Apache-2.0; no Autodesk proprietary source (the class is read from the file's own saved graphics; Revit's export is the oracle). - [x] No fixtures. ## Breaking changes None to the library's API. A roof or slab whose only reason for a block was a `GGTag` is drawn from its saved mesh; `--no-saved-meshes` keeps the blocks. ## Related issues Refs #1630 (the other 6 roofs keep their blocks: the issue stays open), #1612, #1636 (the second-project row), RE-389.
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
VTT's
ARCH.zip, the archive Measure already reads for the office, holds eight more Revit 2024 pairs with Revit's own IFC4 export that no run scored: the housing in concrete and in timber (as built and at building permit), its two terrain files, and the timber office (as built and at building permit). This adds them to-f nordic=true, a shard and a cache of their own each, and records the first measurement of the shipped rules on them as RE-402. The housing is a second project (a different design); the timber office is a structural variant of the concrete office, counted as the same project. They are ordinary development reference models (W4, W6, W7), not W5 candidates: tier-two tests read three of the housing's.rvtfiles and RE-178 fixed columns against them (docs/reference-models.mdsays so).Motivation
#1636: the shipped rules whose reports say they rest on one project have no second model with Revit's export to test them. This is the second project in the corpus, at no licensing cost. The pre-registration, posted before any run on these models, names for each rule what "holds" means: #1636 (comment)
Changes
research/bim4lca-measure.tsv: sixteen entries, 1,120,620,663 bytes (four reused fromresearch/bim4lca-models.tsv, twelve hashed withfetch-bim4lca.py --pin).tools/ci/fetch-bim4lca.py: optional file names after the target, so a job reads only its pair; a name no pin has is stale (exit 1).tools/ci/measure-reference-models.sh: eight model lines. The semantic dump stays with the modelssemantic_diff.OPEN_MODEL_NAMESlists (nordic-office-*would have matched the timber office, which that check does not know)..github/workflows/measure.yml: the plan job gives each of the eight large models its own shard (and a filter naming only BIM4LCA models one shard per model it keeps, plus one for the terrain files); a step plans each shard's files from the model table and the cache key names them; the timing job fetches the four office pairs it always timed.tools/re/counted_apart.py: two groups for the ledger's per-model counts;docs/reference-models.md: the index row and the paragraph, and which housing files tier-two tests read.tools/re/roof_bodies_vs_ifc.py,tools/re/duct_bodies_vs_ifc.py(a commit of its own, found by the first run): both compared raw world coordinates, while the stair, wall and opening scorers undo Revit's IfcSite placement withifc_common.site_frame. Revit's export of the housing places the site 60.6 degrees off rvt-rs's frame, so every roof read 85 to 213 ft from Revit's with volumes equal to the seventh digit. A synthetic pair (a roof and a duct under a rotated, offset millimetre site against the same bodies under an unrotated metre site) read 0 of 1 before and 1 of 1 after; run 42896829177 re-scored the eight models.reports/element-framing/RE-402-second-project-first-measurement.md, a research changelog fragment, and one sentence each on the criteria page (W5 row, and RE-400's paragraph) anddocs/reference-models.mdpointing to it. Nothing rvt-rs writes changes.Cost
nordic=truerun gains eight shards per side, in parallel with the others, so the longest shard (not the sum) sets the run.Testing
No unit tests.
actionlintwith shellcheck,tools/ci/check-workflows.pyand its tests,counted_apart.py --check,measured_numbers.py,api-doc-ids.pyandchangelog.py checkpass locally. The plan job's Python and the file-planning step were run on seven and five inputs locally (unfiltered, the housing and timber filter, two offices, a mixed filter, no nordic flag,nordic-*).Seven Measure runs on the new models, all recorded in RE-402 (the first as printed, the rest labelled as later): 42892175045 (the first measurement,
mainat9066e124711917edfc8aa5515d0a05ba945b22d5, every scorer of the default lists), 42897062282 and 42899069462 (the concrete office as built and at permit at the same commit, the baseline), 42896829177 (the roof and duct scorers repaired, and the two named scorers), 42896834169 (mullion_ends_vs_boxes), 42896838588 (RE-400's head againstmain), 42898163164 (the per-mullion detail, a scratch scorer never merged).Audit-honesty checklist
Legal and contribution hygiene
Breaking changes
None.