Repository navigation
docs(research): the map to read for a Revit 2015 to 2023 door or window is the drawn symbol's, and it is Revit's materials on 558 of 992 before three rules (#1603) (RE-478) - #2055
Merged
Conversation
…holds the map that names Revit's materials (#1603) (RE-478) The probe prints, for each door and window the export writes, the geometry-material map of the symbol its record draws (m_symbolId) and of its master symbol (m_masterSymbolId), in either id shape. The scorer compares both with Revit's material set for the same Tag and prints counts only, which the held-out scrub keeps. Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
…lag Measure gives every probe scorer (#1603) (RE-478) The first run (43696501001) printed the scorer's usage and exited 2 on every model, since measure-reference-models.sh passes --list; the probe itself printed its lines. Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
…ts whose map differs from Revit's, for models that are not held out (#1603) (RE-478) Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
…ls unambiguously and lists those the drawn symbol names outside the map (#1603) (RE-478) The first two runs compared names with every space written as an underscore, which a name like LKS_ALU cannot be told from; names are now percent-encoded. The scorer counts the drawn symbol's map against Revit's set by kind (equal, the unset material spelled apart, the unset material only, Revit more found elsewhere in the record, Revit more not found, drawn more, apart), and the held-out scrub keeps those counts. Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
…s extra materials are named (#1603) (RE-478) For a door or window whose Revit material set holds a name the drawn symbol's map does not, the probe lists the materials the drawn symbol's record, the master symbol's, the family's and the instance's name outside the map, and the scorer counts which of them names every missing one. Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
…ow is the drawn symbol's, and it is Revit's materials on 558 of 992 before three rules (#1603) (RE-478) The symbol an instance's record draws holds the geometry-material map closest to Revit's set; its master symbol's is never right where the drawn one is not. The 389 elements where the drawn map is not Revit's differ in whether <Unnamed> is written (299), by names Revit's set does not hold (81), or by one material named in none of the four records (9). No export changes. Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
DrunkOnJava
marked this pull request as ready for review
November 15, 2026 10:02
DrunkOnJava
added a commit
that referenced
this pull request
Nov 15, 2026
…nd windows give decoded forms, as 330 of 382 do from 2024, and the forms hold their material in the older id shape (#1603) (RE-479) (#2057) ## Summary A probe and the report RE-479 for #1603: does a Revit 2015 to 2023 project hold the own documents of the families its doors and windows come from, do their forms decode, and in which id shape do they hold their materials and their `Visible`? No output changes; the four rows were registered on #1603 ([comment](#1603 (comment))) before the run. Measured on 84 models (the spent Revit 2018 project, 18 held-out projects as counts, 65 reference models and Autodesk samples of Revit 2015 to 2027; Measure 43701506486 at `fcf37a5f`): - **The forms decode on all thirteen releases:** 1,070 forms before 2024 and 1,305 from it, each with its material in the 2015 to 2023 id shape before 2024 and in the 2024 shape from it (no file holds both) or mapped to no material, the stored `Visible` on every form, `m_cutting` read. Each sample project with several saves gives the same forms on all of them (two saves of the structural basic project differ, stated in the report). - **Registered row 1 is not met:** the share of families that give a decoded record is under 90% on nine releases (seven before 2024, 2024 at 81.0% and 2027 at 89.1%); 367 of 429 before 2024, 330 of 382 from it. The probe counts families that give a decoded record, so an absent document and one with no solid form are not told apart. The shortfall is the structural and Snowdon samples, the same number on every save of the same project; the spent project and the 17 other held-out projects give a decode for every family. The report states that the registered consequence (find that release's documents first) is not followed, and why. - **Next:** `native_family_forms` reading either id shape on those releases, failing closed where nothing decodes, scored by `element_materials_vs_ifc` against RE-478's 389 of 992. ## Changes - `probes/examples/probe_1603_family_forms_pre2024.rs`: the families of the doors and windows, their documents' forms per class with the material in each shape, unset, cutting, stored and bound `Visible`. - `tools/ci/scrub-holdout-results.sh`: keeps the probe's count lines for a held-out model by their fixed wording. - `reports/element-framing/RE-479-pre-2024-family-documents-and-forms.md`. ## Testing - [x] Measure 43701506486 (samples and held-out, counts only); every number in the report was summed from the run's kept artefacts, and the spent project's class lines equal its held-out save's. - [x] No `src/` change (`git diff --stat main...` is the probe and the scrub); `rustfmt --check`, `bash -n` on the scrub, `tools/ci/api-doc-ids.py` and `tools/release/changelog.py check` pass; the build and clippy run in CI. - [x] Not measured, stated in the report: which families give no decode and whether their document is absent or empty, whether the rules decide RE-478's 299 and 81, and the shape of the `Visible` ids (read in either). ## Audit-honesty checklist - [x] The report states what is decided, what is not, that registered row 1 is not met, and the departure from its consequence. - [x] No user-visible change, so no changelog fragment. - [x] No emojis, private paths or personal email addresses. - [x] Reverse-engineering finding: probe under `probes/examples/`, dated report with the run and the archived commit. ## Legal and contribution hygiene - [x] Apache-2.0; contributor declaration: clean-room, only byte observations of Autodesk's public sample projects and the held-out files as counts. No Autodesk source, decompiled internals or NDA content. - [x] No new fixtures. ## Breaking changes None. ## Related issues Part of #1603. Follows RE-478 (#2055), RE-477 (#2052), RE-473 (#2040). https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
DrunkOnJava
added a commit
that referenced
this pull request
Nov 15, 2026
…e asked for, and a probe scores the family rules on the drawn symbol's map before 2024 (#1603) (RE-481) (#2058) ## Summary RE-481 for #1603, negative: the rules RE-204 to RE-206, read from the family forms, do not carry to Revit 2015 to 2023. `native_family_forms::family_forms_in(rf, families, releases)` reads a family document's forms in the 2024 id shape or the older one (RE-479), and a probe and scorer apply the rules to the drawn symbol's map as the 2024 reader does. The rows were registered on #1603 ([comment](#1603 (comment))) before the run; Measure 43703452041, `base=main`, samples and held-out; verdict on #1603 ([comment](#1603 (comment))). - Of the 846 doors and windows of Revit 2015 to 2023, every family's forms decode, and the rules bring **1 of the 387** differing to Revit's set (298 of the 299 "unset material only" and 69 of the 79 "drawn more" are unchanged, 10 gain a `<Unnamed>` Revit does not write) and take **37 of the 459** that agree away from it (spent Revit 2018 windows: Revit writes ` <Unnamed>` where the family shows no unset form). - No export moves: `ifc.sha256` 84 of 84 and `diagnostics.json` 66 of 66 equal to main. Nothing reads `family_forms_in` in an export. - **Correction to RE-478** (in this PR): its 992 included 146 doors and windows of ten Revit 2024 to 2027 projects (144 equal). The Revit 2015 to 2023 counts are 414 of 846 equal as written, 387 differing, 4 of 8 projects fully equal; the symbol and the three kinds of difference stand. ## Changes - `src/research/native_family_forms.rs`: `element_id_any` (either shape) in the document reader, `family_params`, `stored_visible`; `family_forms_in`. `root_id` and `types_without_visible_body` keep the 2024 shape. - `probes/examples/probe_1603_family_rules_pre2024.rs`, `tools/re/window_door_family_rules_vs_ifc.py`, `tools/ci/scrub-holdout-results.sh` (the scorer's count lines for held-out models). - `reports/element-framing/RE-481-pre-2024-family-rules-do-not-carry-over.md`; `reports/element-framing/RE-478-pre-2024-door-window-type-material-maps.md` corrected. ## Testing - [x] Measure 43703452041: every export equal to main; the probe's counts read against the registered rows (the report); the spent project's per-element lines checked against the held-out save's counts. - [x] `rustfmt --check`, `bash -n` and a local run of the scrub, a stubbed run of the scorer, `tools/ci/api-doc-ids.py` (its RE-479 citation resolves once #2057 lands); the build, clippy and MSRV run in CI. - [x] Not measured, stated in the report: what writes `<Unnamed>` before 2024, the extra names of the 69, Revit 2015 to 2018 exports other than the spent project's. ## Audit-honesty checklist - [x] The report states what is decided (the rules are not widened), what is not, and which registered rows are not met. - [x] No user-visible change, so no changelog fragment. - [x] No emojis, private paths or personal email addresses. ## Legal and contribution hygiene - [x] Apache-2.0; contributor declaration: clean-room, only byte observations of Autodesk's public sample projects and the held-out files as counts. No Autodesk source, decompiled internals or NDA content. ## Breaking changes None (a new public function in `rvt::research`, behind `unstable-research`). ## Related issues Part of #1603. Follows RE-479 (#2057), RE-478 (#2055). https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
DrunkOnJava
added a commit
that referenced
this pull request
Nov 15, 2026
…y forms decides whether its set holds <Unnamed>, and forms hidden by a stored Visible of 0 are found as from 2024 (#1603) (RE-482) (#2059) ## Summary A probe, a scorer and the report RE-482 for #1603: what, if anything, in a door or window's family forms decides whether Revit writes `<Unnamed>` before Revit 2024, and is a form hidden by a stored `Visible` of 0 found before 2024 as from it? No output changes; the five rows were registered on #1603 ([comment](#1603 (comment))) before the run (Measure 43705534691 at `cf5a7028`, 84 models). - **No category of the host family's forms separates the doors and windows whose set holds `<Unnamed>` from those whose set does not.** Of 431 doors and windows of Revit 2015 to 2023 whose map holds geometry mapped to no material, it is written on 52, all windows of the spent Revit 2018 project (IFC2X3, counted apart); on the other 363 (a Revit 2020 project's 22 doors, a Revit 2021 project's 68, BIM Whale's 273) on none, whether the family shows a form with no material (100) or nests an instance (263). On the spent project: 44 of the 45 windows with a hidden unset form and none shown, 8 of the 19 with one shown, 0 of the 4 with both. - **Forms hidden by a stored `Visible` of 0 are found before 2024 as from it** (the architectural basic sample holds 2 on each of its 13 saves), which closes the gap in RE-481's control. - Next fact: the IFC schema and exporter release of each reference, and the nested families' forms (every window of the spent project and of BIM Whale nests one). ## Changes - `probes/examples/probe_1603_unnamed_before_2024.rs`, `tools/re/window_door_unnamed_vs_ifc.py`, `tools/ci/scrub-holdout-results.sh` (the scorer's count lines and the visible-values line for held-out models). - `reports/element-framing/RE-482-pre-2024-unnamed-material-and-hidden-forms.md`. ## Testing - [x] Measure 43705534691 (samples and held-out, counts only); every figure in the report was summed from the run's kept artefacts; the per-element lines of the spent project were cross-tabbed a second way (hidden, shown, both). - [x] No `src/` change; `rustfmt --check`, `bash -n` and a local scrub run on a sample, a stubbed run of the scorer; the build and clippy run in CI. - [x] Not measured, stated in the report: the references' IFC schema and exporter release, the nested families' forms, Revit 2015 to 2018 exports other than the spent project's. ## Audit-honesty checklist - [x] The report states what is decided (no rule), what is not and why, and that registered row 3 is not met. - [x] No user-visible change, so no changelog fragment. - [x] No emojis, private paths or personal email addresses. - [x] Reverse-engineering finding: probe under `probes/examples/`, dated report with the run and the archived commit. ## Legal and contribution hygiene - [x] Apache-2.0; contributor declaration: clean-room, only byte observations of Autodesk's public sample projects and the held-out files as counts. No Autodesk source, decompiled internals or NDA content. - [x] No new fixtures. ## Breaking changes None. ## Related issues Part of #1603. Follows RE-481 (#2058), RE-479 (#2057), RE-478 (#2055). https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
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
A probe, a scorer and the report RE-478 for #1603: which symbol of a Revit 2015 to 2023 door or window holds the geometry-material map that names Revit's materials for it, and where the map does not. No output changes; the five rows were registered on #1603 (comment) before the first run.
Measured on the spent Revit 2018 project and the 17 other held-out projects, 992 doors and windows that Revit's export gives materials (Measure 43700046741 at
8b5fd1dd):InstanceInfo.m_symbolId, Revit's type from RE-477), not its master. The master's map equals Revit's set on exactly the elements the drawn one does (never better), and lacks the nested components' materials where the drawn one has them.<Unnamed>is written (14 of the spent project's windows, 263 of BIM Whale's, 22 of a Revit 2020 project's doors), 81 hold names Revit's set does not (a hidden-form material, RE-205), 9 spent windows have one more material that none of the drawn symbol's, master's, family's or instance's records name. Those rules are read today from the family forms, which take the 2024 id shape only.Changes
probes/examples/probe_1603_window_door_type_maps_pre2024.rs: the two symbols' maps in either id shape, and the materials each record names outside the map (percent-encoded names).tools/re/window_door_type_maps_vs_ifc.py: the drawn map against Revit's set, by kind;--listlists the spent project's differing elements.tools/ci/scrub-holdout-results.sh: keeps the scorer's two count lines for a held-out model by their fixed wording (checked locally on a copy of the spent project's output).reports/element-framing/RE-478-pre-2024-door-window-type-material-maps.mdand thedocs/contribution-map.mdrow.Testing
src/change;rustfmt --check,tools/ci/api-doc-ids.py,tools/release/changelog.py checkandbash -non the scrub pass; the build and clippy run in CI.Audit-honesty checklist
probes/examples/, dated report with the runs and archived commits.Legal and contribution hygiene
Breaking changes
None.
Related issues
Part of #1603. Follows #2052 (RE-477), #2040 (RE-473). Related: #1158.
https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ