Repository navigation
docs(research): the windows of the spent Revit 2018 project name Revit's own type in their native record, which the scan's reference-list join cannot see (#1603) (RE-475) - #2051
Merged
Conversation
…to 2023 family types, and the held-out scrub keeps its counts (#1603)
…s by their own fixed wording (#1603)
… many name a type (#1603)
… same project's later save (#1603)
…3 family instance stops, per category, and the held-out scrub keeps its counts (#1603)
…h no type candidate name (#1603)
…not a branch that is deleted on landing (#1603) Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
…2023 instances that name no type hold, by who else holds each id (#1603) (RE-474) Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
…ate ids, and a scorer holds them against the type Revit's export gives the element (#1603) (RE-474) Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
…d-lists-pre2024 # Conflicts: # tools/ci/scrub-holdout-results.sh
…sses every probe scorer (#1603) (RE-474) Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
…he scan knows of every id, and the scorer finds Revit's own type id in it (#1603) (RE-474) Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
… to 2023 instance names as its type, in both id shapes (#1603) (RE-475) Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
…ilies the symbols name (#1603) (RE-475) Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
…ct name Revit's own type in their native record, not in the list the scan joins (#1603) Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
…and names RE-240's scorer as already on main (#1603) Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
DrunkOnJava
marked this pull request as ready for review
November 15, 2026 07:20
11 of 12 tasks
DrunkOnJava
added a commit
that referenced
this pull request
Nov 15, 2026
…t leaves untyped takes its type and family from its native record (#1603) (RE-477) (#2052) ## Summary A door or window of a Revit 2015 to 2023 file that the reference-list join leaves untyped is typed from its own native record: the type id (`InstanceInfo.m_symbolId`, or the master symbol for a member of a model group whose symbol is a copy of that master), the type's name (the master symbol's `SymbolInfo.m_name`) and the family's name (`Family.m_name`). On the spent Revit 2018 project the 70 windows and 68 doors now have Revit's Name and `ObjectType` (windows 0 of 70 before, doors 66 of 68) and 72 more type objects whose Tag is Revit's on 72 of 72. ## Motivation #1603, RE-475: the list holds the type's master symbol, not Revit's type, which is an id with no record or name entry, so 68 of the project's 70 windows were left with no type. ## Changes - `src/research/native_instance_types.rs`: `instance_types`, one native pass over the instances, every `FamilySymbol` and every `Family`, either id shape; any link of the chain missing and the instance is left as it was. - `src/research/partition_schema_mvp/records_2023.rs`: `recover_2023_records` calls it for the doors and windows with no list-join entry and adds the type, type name and family name fields, marked `m_type_from_native_record`. - `src/research/partition_schema_mvp/materials.rs`, `fields.rs`: an element so typed takes no scanned type material (the scanned map of the symbol that draws a window is apart from Revit's set for 53 of 55; the first run). - `src/research.rs`, `src/lib.rs`: the module lists. - `reports/element-framing/RE-477-pre-2024-window-and-door-types-from-the-native-record.md`, `docs/status.md`, `docs/contribution-map.md`, `docs/one-project-rules.md`, `changelog.d/fixed/1603-pre2024-window-door-types.md`. ## Testing Rows registered on #1603 before each run was read ([first](#1603 (comment)), [amendment](#1603 (comment))). Measure [43692758207](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43692758207) (`bb829b7a`, every scorer, `holdout=true`, `samples=true`, `nordic`, `r2025`, 120 exports) against `main` (`5f442efc`); rows 1 to 4, 7 and 8 were read from the filtered run [43690822430](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43690822430) (`d6890e26`, before the group rule narrowed) and hold on the third. This push changes docs only, so the run is carried (`arm.sh --carry-proof`). - [x] Windows and doors of the spent project: Name and `ObjectType` equal 70 of 70 and 68 of 68 (0 of 70 and 66 of 68 on `main`). Held-out Revit 2018 save: the same counts. Held-out Revit 2020 project: 29 of 29 windows and 27 of 27 doors (25 and 18 on `main`). BIM Whale's held-out Revit 2021 project: 126 of 126 doors (11 of 126 on `main`). `rac_basic` 2015 to 2023: its 2 doors take the name its 2024 save gives them. - [x] Type objects (`type_objects_vs_ifc`): typed 1,005 to 1,077 of 1,280, Tag agrees 938 to 1,010 of 1,077, no Tag disagrees (the 67 left are `IfcPlate`s Revit tags and rvt-rs leaves out), untyped windows and doors 72 to 0. - [ ] **Not met: nothing else moves.** 13 of 120 exports differ (the spent project, the three held-out projects with such elements, and the nine `rac_basic` saves of 2015 to 2023, each gaining exactly 4 entities and 4 values for its 2 doors); the other 107 are byte-identical. `psets_vs_ifc` different is unchanged everywhere, `element_materials_vs_ifc` of the spent project is as on `main`, and rvt-rs values Revit does not write are unchanged on the spent project and the Revit 2018 and 2020 held-outs (57, 54, 18). **On BIM Whale's Revit 2021 project they rise from 13 to 23, all `Pset_DoorCommon.Reference`** (1 to 11 of 126 doors): of the 115 doors typed there, 105 take Revit's value and for 10 Revit's IFC2X3 export has none. That is the existing `Reference` rule's residual (`main` shows it on 1 door and 6 windows of the same project), not the reader's; the project is counts only, so the 10 cannot be listed. Filed as #2053. The MCP answers sample counts 5 more values Revit does not write on the spent project (69 to 74) and 4 more on BIM Whale's (38 to 42), not attributed to a property. Both references are IFC2X3 exports, and an IFC2X3 view never removes a value (standing rule), so these are counted apart, not read as faults of the reader; no IFC4 export of a 2015 to 2023 project shows the same, and #2053 stays open for when one does. - [x] Not scored: the type objects' GlobalIds (`global_id agrees` stays 414 of 1,077; 591 of the 1,005 existing ones are not Revit's either), their Names (0 of 1,077 against the IFC2X3 export), and the type material map for these elements (RE-473's next reader). - [x] The group rule rests on 2 doors of one project and is listed in `docs/one-project-rules.md`. - [x] `rustfmt --check` on the changed files, `tools/release/changelog.py check` and `tools/ci/api-doc-ids.py` pass; clippy and the build run in CI. ## Audit-honesty checklist - [x] The report states what is decided, what is not and why; one project is the evidence for the group rule. - [x] A changelog fragment is added; `docs/status.md` and the contribution map are updated. - [x] No emojis, private paths or personal email addresses. - [x] Reverse-engineering finding: the probes are on `main` (#2051), the scorers are Measure's own; commits archived under `refs/archive/2026-11-15/cited/`. ## Legal and contribution hygiene - [x] Apache-2.0; contributor declaration: clean-room, only byte observations of Autodesk's public sample projects, the held-out files as counts and Revit's own IFC export. No Autodesk source, decompiled internals or NDA content. - [x] No new fixtures. ## Breaking changes None. A door or window the join leaves untyped now has a type; the exports of Revit 2015 to 2023 files with such elements gain type objects and type properties. Part of #1603. 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
Two probes, two scorers and the report RE-475 for #1603: where the 68 windows of the spent Revit 2018 project name Revit's own type. RE-473 left it as "the next row": whether the one window-only named id each of those windows holds is its type or its family. No output changes; the questions were set in RE-473 section 5 before the runs were read.
Measured on the spent project and its held-out save (counts; Measure 43682867776, 43684406836, 43685039364, 43686411026, 43687114757, 43687761375):
InstanceInfo.m_symbolIdis Revit's type id for 70 of 70 windows; the symbol at that id has an empty name (70 of 70).FamilyInstance.m_masterSymbolIdnames a master symbol whoseSymbolInfo.m_nameis Revit's type name on 70 of 70 (the scorer counted 68: two names hold a real underscore). All 104 symbols name aFamilyrecord, which holdsFamily.m_name(OB_1Hfor Revit'sOB 1H) and the family's type names.Changes
probes/examples/probe_1603_unjoined_lists_pre2024.rs,probes/examples/probe_1603_native_instance_types_pre2024.rs(both id shapes, the releases widened to 2015 to 2027).tools/re/unjoined_types_vs_ifc.py: holds an unjoined instance's ids against Revit's type of the same Tag.tools/ci/scrub-holdout-results.sh: keeps theunjoined lists pre2024:count lines of a held-out model by their fixed wording; the per-instance lines name ElementIds and are dropped.reports/element-framing/RE-475-pre-2024-window-types-are-in-the-native-record.mdand thedocs/contribution-map.mdrow.Testing
src/change;rustfmt --check,tools/ci/api-doc-ids.pyandbash -non the scrub pass.Not measured: the output of a reader that takes these pieces (Name,
ObjectType, type object, material set), the family name on every window, and other pre-2024 projects.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 #2040 (RE-473). Related: #2046 (RE-476).
https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ