Repository navigation
research(ifc): family forms read in either id shape and on any release asked for, and a probe scores the family rules on the drawn symbol's map before 2024 (#1603) (RE-481) - #2058
Merged
Conversation
…y release asked for, and a probe scores the rules RE-204 to RE-206 on the drawn symbol's map before 2024 (#1603) (RE-481) native_family_forms::family_forms_in(rf, families, releases) reads a family document's forms, parameter ids and symbol ids in the 2024 shape or the older one (RE-479), where family_forms is it on the releases the native readers measure. Nothing in the export reads it on a release before 2024 yet, so no export moves. probe_1603_family_rules_pre2024 prints, for each door and window, the drawn symbol's map and the set after the rules (hidden-only materials left out, <Unnamed> only where the family shows it); window_door_family_rules_vs_ifc.py classes both against Revit's set, and the held-out scrub keeps its count lines. Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
… 2015 to 2023, and RE-478's counts are those of Revit 2015 to 2023 (#1603) (RE-481) Measure 43703452041 at bf0967e: the family rules, read from the forms of every one of 846 doors' and windows' families, bring 1 of the 387 differing doors and windows to Revit's set and take 37 of the 459 that agree away from it (the spent project's windows, where Revit 2018 writes <Unnamed> whether or not the unset form is drawn). Exports equal on all 84 models. RE-478 counted the 146 doors and windows of ten Revit 2024 to 2027 held-out projects among its 992 (558 equal, 389 differing, 13 of 18 projects): the Revit 2015 to 2023 counts are 414 of 846, 387 and 4 of 8, and the report now says so. Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
… leaves on the hidden-form rule, and held-out labels as RE-478 has them (#1603) (RE-481) The five sample projects with doors or windows give the same forms, shows_unset, hidden and set after the rules on every Tag of every save before 2024 as on their 2024 save, but none has a form hidden by a Visible of 0, so the hidden-form rule is not decided. shows_unset false is described as the family showing no unset form (a void's or hidden form's geometry mapped to no material, or none). The probe's module doc and the RE-478 artefact line carry the corrected counts. Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
…oints to RE-481, and the contribution map's #1603 row says the family rules do not carry over (#1603) (RE-481) Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
DrunkOnJava
marked this pull request as ready for review
November 15, 2026 11:00
…les call, is held to Revit 2024 to 2027 by its own release range, so a 2023 save gives it nothing whatever shape of ids is read (#1603) (RE-481) The rules on FamilyForms are the Revit 2024 exporter's and are not Revit's on 2015 to 2023 (RE-481). family_forms kept Options::default().releases (2023 to 2027), and element_id_any now decodes the older id shape on 2023, so the 2023 path stayed inert only because geometry_maps reads m_familyId in the 2024 shape alone. A later either-shape fix there would have switched the rules on silently. RULE_RELEASES (2024 to 2027) makes it true by construction; family_forms_in still takes the releases for the research probes. RE-481 section 5 and RE-479 say so. Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
9 tasks done
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
DrunkOnJava
added a commit
that referenced
this pull request
Nov 15, 2026
…om its value, does not decide <Unnamed> before Revit 2024: 15 of the spent project's 68 windows share every fact read and 8 have it written (#1603) (RE-483) (#2061) ## Summary A probe, a scorer and the report RE-483 for #1603: is `<Unnamed>` in a Revit 2015 to 2023 door or window's material set decided by whether its family's form with no material is effectively shown, a `Visible` bound to a family parameter being read from that parameter's value on the instance or its type? No output changes; the five rows were registered on #1603 ([comment](#1603 (comment))) before the first run (Measure 43711618548 at `26ae3aee`, 84 models); the second run (Measure 43714011584 at `04c2dfd9`) reproduces its per-element lines and cross-tab and adds the copies check below. - **No: a bound `Visible` read from its parameter does not decide `<Unnamed>`.** On the spent Revit 2018 project's 68 windows, 15 share every fact read (an unbound unset form that is shown, one void, one nested instance) and 8 have `<Unnamed>` written, 7 not; the 4 whose bound unset form resolves have none written; the other 49 have a bound unset form whose caption names two parameters, so its value is not taken (44 written, 5 not). Elsewhere in Revit 2015 to 2023 it is written on none of 363 (Frigento's 22 doors, Warmond's 68 and BIM Whale's 273, the last two counted apart: Warmond's export passed through BIMServer.center's preprocessor and BIM Whale's is IFC2X3, so only Frigento's 22 are measured against an unmodified Revit IFC4 export), and all 50 pairs of an element and a bound unset form in Warmond and BIM Whale resolve. - **Of the 103 pairs of a door or window and a bound unset form of its family (a form is counted once for every element whose family holds it, so these are not 103 distinct forms), 54 resolve and 49 do not; every one of the 49 is an ambiguous caption, all on the spent project** (the ask in rvtDevelop's early read: zero would have been the clean answer, it is 49 there and 0 elsewhere). - **No record of a family's document is held in several partitions on any of the 84 models** (12,220 records read, 0 held more than once, 0 with copies that differ): the first run's counts stand, and the second reproduces its 8,272 per-element lines byte for byte and every cross-tab cell. This is the answer to rvtDevelop's question about stale copies for these models; it does not change `native_family_forms`. - **The reference export's release coincides with the save's in every project with an unset map** (Revit 2018 IFC2X3 writes on 52 of 68; Revit 2020 IFC4, Revit 2021 IFC4 and IFC2X3 write on none of 363), so a release effect cannot be told from the save's with these files; the schema does not separate (IFC2X3 is on both sides). - Folds in RE-482's wording fixes from rvtDevelop's reads (none of the facts read here, not "no fact"; Warmond and BIM Whale named as counted apart, Frigento as the one unmodified IFC4 sample), and the contribution map's #1603 row. ## Changes - `probes/examples/probe_1603_unnamed_bound_before_2024.rs`, `tools/re/window_door_unnamed_bound_vs_ifc.py`, `tools/ci/scrub-holdout-results.sh` (the scorer's count lines, the bound-values line and the reference export's schema and Revit release, for held-out models). - `reports/element-framing/RE-483-pre-2024-unnamed-material-and-bound-visibility.md`, `reports/element-framing/RE-482-...md` (title, first Decided bullet, project names and what each export is), `docs/contribution-map.md` (#1603 row). ## Testing - [x] Measures 43711618548 (`26ae3aee`) and 43714011584 (`04c2dfd9`) (samples and held-out, counts only; the second keeps each record's last copy and counts the records held more than once); every figure in the report was summed from the run's kept artefacts, and the spent project's 68 windows were cross-tabbed by every fact the probe prints. - [x] No `src/` change; `rustfmt --check`, `bash -n`, a local scrub run on a synthetic results directory (it keeps the three new line shapes and drops a `--list` line and an author line); build and clippy ran in CI (fast CI green on the head). - [x] Not measured, stated in the report: the nested families' own forms, the forms' subcategory and object-style materials, whether the 15 same-fact windows share a type or a family, 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 2 is not met. - [x] No user-visible change, so no changelog fragment. - [x] No emojis, private paths or personal email addresses; the header read takes the IFC schema and the Revit release only, no author or organisation. - [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-482 (#2059), RE-481 (#2058). https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
DrunkOnJava
added a commit
that referenced
this pull request
Nov 15, 2026
…f the spent project's 7 window families, 3 writing it on all their windows and 4 on none; the other projects' families write none (#1603) (RE-485) (#2062) ## Summary A probe, a scorer and the report RE-485 for #1603: is `<Unnamed>` in a Revit 2015 to 2023 door or window's material set constant within a drawn symbol (Revit's type) and within a family? RE-483 left 15 of the spent Revit 2018 project's 68 windows with identical facts of the host family's forms and `<Unnamed>` written on 8 of them. The six rows were registered on #1603 ([comment](#1603 (comment))) before the run (Measure [43714791546](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43714791546) at `fa38cbf5`, 84 models). No output changes. - **On the one project where any family writes it, the spent project, `<Unnamed>` is constant within each of its 7 window families:** written on every window of 3 (36, 8 and 8 windows, 52 in all) and on none of 4 (7, 4, 4 and 1, 16 in all). No symbol (of 119) and no family (of 16) is mixed on any project, but the other projects' 63 symbols and 9 families all write it on none, so they add no evidence of constancy: that the family decides it rests on 7 families of one project. - **The 15 windows of RE-483 are two families:** 8 windows of one (33 geometry tags in the map) all written, 7 of another (13 tags) none. The instance does not decide it. - **Nothing read so far says which families.** Unset tag count: two unset is written on 41 of 42 spent windows and on none of 45 elsewhere, three or more on 11 of 26 and none of 317. Nested instances: the same state (all shown, none bound) is written on 52 of 64 spent windows and on none of 54 of Warmond's. The map's total tags follow the families (33: 8 of 8, 21: 44 of 45, 13: 0 of 15) except one window, and are not counted on the other projects: a lead, not a rule. - Warmond (a preprocessed IFC4 export) and BIM Whale (IFC2X3) are counted apart, as is the spent project's IFC2X3 reference; Frigento's 22 doors are the only ones measured against an unmodified Revit IFC4 export. Stacked on #2061 (RE-483): this branch has that branch merged in, and the diff clears once #2061 lands and main is merged in. ## Changes - `probes/examples/probe_1603_unnamed_by_type_before_2024.rs`, `tools/re/window_door_unnamed_by_type_vs_ifc.py`, `tools/ci/scrub-holdout-results.sh` (the scorer's four count lines for held-out models). - `reports/element-framing/RE-485-pre-2024-unnamed-material-by-type.md`, `docs/contribution-map.md` (#1603 row). ## Testing - [x] Measure 43714791546 (samples and held-out, counts only); every figure in the report was summed from the run's kept artefacts, and the spent project's 68 windows were grouped by every field the probe prints. - [x] No `src/` change; `rustfmt --check`, `bash -n`, fast CI green on the measured head (the probe compiles and lints under CI's clippy, after a one-arm `match` became an `if`). - [x] Not measured, stated in the report: the nested families' own forms and materials, the family's category and subcategory settings, the map's total tags on the other projects, Revit 2015 to 2018 exports other than the spent project's. ## Audit-honesty checklist - [x] The report states what is decided (the family is the unit), what is not, and that the one count that follows the families is a lead with a counter-example. - [x] No user-visible change, so no changelog fragment. - [x] No emojis, private paths or personal email addresses; the held-out scrub keeps counts and fixed words only, never an id or a name. - [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-483 (#2061), RE-482 (#2059), RE-481 (#2058). 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
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) before the run; Measure 43703452041,base=main, samples and held-out; verdict on #1603 (comment).<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).ifc.sha25684 of 84 anddiagnostics.json66 of 66 equal to main. Nothing readsfamily_forms_inin an export.Changes
src/research/native_family_forms.rs:element_id_any(either shape) in the document reader,family_params,stored_visible;family_forms_in.root_idandtypes_without_visible_bodykeep 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.mdcorrected.Testing
rustfmt --check,bash -nand a local run of the scrub, a stubbed run of the scorer,tools/ci/api-doc-ids.py(its RE-479 citation resolves once docs(research): 367 of the 429 families of Revit 2015 to 2023 doors and 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 lands); the build, clippy and MSRV run in CI.<Unnamed>before 2024, the extra names of the 69, Revit 2015 to 2018 exports other than the spent project's.Audit-honesty checklist
Legal and contribution hygiene
Breaking changes
None (a new public function in
rvt::research, behindunstable-research).Related issues
Part of #1603. Follows RE-479 (#2057), RE-478 (#2055).
https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ