Repository navigation
docs(research): comments, module docs, reports and compare notes say what the research they cite measured (batch 7) - #1930
Merged
Conversation
…the research they cite (batch 7, part 1) Room number offsets (RE-29), Level flags and 2023 containers (RE-24, RE-107, RE-260), host walls (RE-85), wall joins (RE-127), the wall flip byte (RE-126), stair counts (RE-47), railings (RE-390), layer tolerances (RE-53, RE-58), pocket tags (RE-380), type IsExternal (RE-286), and the ifc-compare catalogue's closed issues.
… scan releases (RE-134), undeclared records (RE-135), roofs (RE-199), washer-dryers (RE-204), sloped floors (RE-384), frame order (RE-444), units (RE-445), curtain grid offsets (RE-449)
… RE-119 on 2008 to 2023, RE-358, slot counts)
DrunkOnJava
marked this pull request as ready for review
November 13, 2026 19:37
DrunkOnJava
added a commit
that referenced
this pull request
Nov 13, 2026
10 tasks done
DrunkOnJava
added a commit
that referenced
this pull request
Nov 21, 2026
…e and the wall-stub heuristic say what main does (#2130) (#2134) ## Summary Three strings that ship with rvt-rs said less than `main` does. They now say what it does. No export, diagnostic or JSON shape changes; `rvt-ifc-compare`'s note text for `IFCSPACE` changes. - **`SPACE_OUTLINE_SAVED_MESH`** (`src/ifc/export_content.rs`): its rustdoc described a room drawn with `rvt-ifc --saved-meshes` only. `saved_meshes::attach_scoped_with_control` sets it on any space drawn from its saved mesh, family instances written as spaces included. That is the default on Revit 2023 to 2027 since #1191, and on any release with `rvt-ifc --saved-meshes`, as `rvt-ifc`'s `export_options` describes. - **The `IFCSPACE` note of `catalogued_divergence_notes`** (`src/ifc/compare.rs`), which `rvt-ifc-compare` prints, said a room whose solid does not close keeps its bounding box. It now gives the order `docs/rooms.md` gives: the solid's faces or edges, then from Revit 2023 the saved mesh, and only otherwise the box. - **The module doc of `src/ifc/export_content/wall_profile.rs`** said every stretch measured is half the wall's thickness. RE-383 measured it half on 11 of 12 walls; Snowdon Towers' wall 1996082 is the exception. - **`docs/ifc-compare.md`:** its paragraph saying the `IFCSPACE` note lags the table is removed, since the note now matches. Closes #2130. ## Motivation #2130, found while correcting the docs in #2131 and #2132. ## Changes - `src/ifc/export_content.rs`, `src/ifc/compare.rs`, `src/ifc/export_content/wall_profile.rs`: the doc comments and the note string above. - `docs/ifc-compare.md`: the paragraph above. - `changelog.d/fixed/2130-compare-space-note.md`: the note is `rvt-ifc-compare` output, so it carries a fragment, as #1930's change to these notes did. ## Testing Unit tests are banned in this repository: do not add them. - [x] `rustfmt --check` passes on the three files, and `tools/ci/api-doc-ids.py` passes (RE-383 is now cited in rustdoc). - [x] The note's old text is in nothing under `rvt-mcp/`, `viewer/src` or `python/`. - [x] No test, schema or doc other than `docs/ifc-compare.md` holds the note's text (`grep` over `tests/`, `docs/` and `tools/`). - [x] Measure [44953635018](https://github.com/DrunkOnJava/rvt-rs/actions/runs/44953635018), this head against `main` with Autodesk's samples and the same-project gates' scorers: 65 of 65 exports and 65 of 65 diagnostics identical, no scorer difference beyond what only the head side writes, and the same-project gates pass (15 samples held to their earlier saves, and the Areas on 4 saves and on the 2021 save). ## Audit-honesty checklist - [x] Each changed string agrees with the code and report it names. - [x] A changelog fragment for the note `rvt-ifc-compare` prints; `python3 tools/release/changelog.py check` passes. - [x] No emojis, private paths or internal jargon. ## Legal and contribution hygiene - [x] Apache-2.0. - [x] No Autodesk proprietary content. - [x] No fixtures. ## Breaking changes None. Review: rvtReview, the maintainer session, wrote this change. As rvtDevelop is not running, it re-reads the diff and approves the change itself on a green head (Griffin, 2026-11-12).
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
Comments, module docs, five reports and the
rvt-ifc-comparenotes said something different from the research they cite. Each place now says what the report measured and what the code does. No code path changes: every edit is a comment, a doc, a report line or a note string.Motivation
A read-only audit of every research report the code cites (batch 7: 40 DeepSeek auditors and 40 verifiers, worker text used only as input) checked, at about 30 citing places per worker, whether the code still does what each report established. Claude re-read every finding against the code and the report before it was used. Two findings that needed a code decision went to #1929, and rvtReview settled both: the GlobalId rule stays (its docs move in rvtReview's RE-459 PR), and RE-299's sentence changes here.
Refs #1929.
Changes
Where the code was right and the text was wrong:
0x1f9, so the tables in the reader, the probe and the report put the number's length and the number 4 bytes early. The report gets a dated correction that also checks it against its own name-offset histogram.0x8f, as RE-24 shows, not0x87. On 2023 the container reference is au3216 bytes after the category, not 2024's place.level_bind's module doc no longer says Level ids cannot be recovered.preceding_referenceis RE-23's slot rule, which RE-85 replaced. Only probes read it now.element_record_wall_joins's honesty notes now say the 9 L-corner ends are decided, 360 of 360.u32.m_stairsId), except one on a component.tagged_ancestor's doc said a subtype likeArcWallis the ancestor it returns, and repeated RE-18's 'not in the schema', which was the old 64 KB scan.pattern_slots_32reads them.partly_unset, so Revit writes no<Unnamed>for them.PitchAngle.add_curtain_wall_length, and is moved back toadd_wall_quantities.IsExternal.docs/export-diagnostics.md.Where a report misstated its own code:
User-visible:
src/ifc/compare.rsanddocs/ifc-compare.md: the compare notes cited M3-02: Reverse-engineer Revit 2024 ArcWall records #23, 82 emitted elements have no storey containment: 64 plan-loop slabs and 18 name-only spaces carry no element-record bbox #219 and RE-26 follow-up: 31 over-trimmed wall ends on 16 walls — join decision has no identified carrier #238, all three done, and RE-23's host slot. They now give RE-127, RE-85 and RE-27, and Opening geometry from the symbol's cut loop on releases other than 2024 and 2025: no Revit export of another release's openings is in CI #227's actual open gap. Changelog fragmentchangelog.d/fixed/b7-compare-catalogue-notes.md.Checked and left alone:
IfcRelServicesBuildings, one per system (RE1 Electrical 13 of 13, Mechanical 5 of 5, Plumbing 8 of 8).Testing
N/A for end-to-end: no exported value can move. Every changed
.rsline is a comment, a doc comment or one of the compare note strings, which no test pins (grepovertests/,docs/,tools/).rustfmt --checkon every changed filepython3 tools/ci/api-doc-ids.py: every cited RE has a reportpython3 tools/release/changelog.py check: 21 fragments validFast CI covers rustdoc and clippy.
Audit-honesty checklist
changelog.d/fixed/