Repository navigation
research(elements): every reading of the saved file gives the wall of #1048 the type rvt-rs picks; the census counts its Width apart (RE-253) - #1056
Merged
Conversation
DrunkOnJava
enabled auto-merge (squash)
October 27, 2026 04:50
DrunkOnJava
force-pushed
the
re/1048-type-refs
branch
from
October 27, 2026 05:16
42a7a6d to
739570f
Compare
DrunkOnJava
force-pushed
the
re/1048-type-refs
branch
from
October 27, 2026 05:23
2a516c8 to
172674d
Compare
…s its type, and the scrub keeps its counts (#1048) (RE-253)
…ord names another type than the one picked (#1048) (RE-253)
…a copies and whether its latest name is its current copy's (#1048) (RE-253)
…e held-out scrub keeps it (#1048) (RE-253)
…a scorer gives the hours from it to Revit's export, which the held-out scrub keeps (#1048) (RE-253)
…the saved file does not have, as an export of unsaved changes would show (#1048) (RE-253)
…ickness, and its scorer counts boxes thinner than Revit's Width (#1048) (RE-253)
…m its native record's faces, and the scorer compares it with Revit's Width (#1048) (RE-253)
…ry reference model (#1048) (RE-253)
…ippy's iter_kv_map asks (#1048) (RE-253)
DrunkOnJava
force-pushed
the
re/1048-type-refs
branch
from
October 27, 2026 06:02
33008ca to
b6c65ff
Compare
10 tasks done
DrunkOnJava
added a commit
that referenced
this pull request
Oct 27, 2026
…re its native record names rvt-rs's type (#1048) (RE-253) (#1061) ## Summary The quantity census counted a wall's differing `Width` apart wherever the two exports give the wall different types (#1056, #1048). That would also have excused a `Width` that is wrong because rvt-rs picked the wrong type. It now counts one apart only where the wall's own native record (`SWall.m_WallAttributesId`) names the type rvt-rs gives it, so the saved file itself states rvt-rs's type. The export diagnostics list those walls (`decoded.walls_type_confirmed`; not in the IFC file, as the maintainer chose for values only the census reads). A differing `Width` on any other type difference stays scored, and is counted on a line of its own. ## Motivation A review note on #1056's rule: it was not limited to the wall of #1048. Griffin's decision covers that pair inconsistency, not reader errors. ## Changes - `src/native_walls.rs`: `NativeWall::type_id`, the `m_WallAttributesId` the pass already read. - `src/partition_schema_mvp.rs`: `WALL_TYPE_CONFIRMED_FIELD` on a wall whose native record names its picked type. - `src/ifc/mod.rs`: `DecodedExportDiagnostics::walls_type_confirmed`; `docs/schemas/export-diagnostics.schema.json` and `docs/export-diagnostics.md`. - `tools/re/qtos_vs_ifc.py`: requires the confirmation, and prints the type differences it does not confirm; `tools/ci/scrub-holdout-results.sh` keeps that count. - RE-253 §5, `changelog.d/added/walls-type-confirmed.md`. ## Testing Measure [40465115734](https://github.com/DrunkOnJava/rvt-rs/actions/runs/40465115734) (every reference model and the held-out ones, the census from this branch): `teste_export_2025` still counts its one wall apart, confirmed by its record; 0 type differences unconfirmed on every model; `Qto_WallBaseQuantities.Width` 0 different everywhere. The exports are byte-identical to `main`'s (Core Interior, RE1 Architecture, R2025 18 compared), so no witness or fixture changes. - [x] Verified end to end on real Revit files; held-out results uploaded as counts only ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR - [x] A user-visible change (the diagnostics field) has its entry as a fragment under `changelog.d/` - [x] Commit messages describe what changed and why - [x] No emojis in code, docs, or commit messages - [x] No private paths, personal email addresses, or internal jargon in committed files - [x] No per-element data of an unlicensed model leaves the runner ## Legal and contribution hygiene - [x] Apache-2.0 - [x] No Autodesk proprietary content. - [x] No fixtures ## Breaking changes None (`DecodedExportDiagnostics` is `#[non_exhaustive]`; `NativeWall` is behind `unstable-research`).
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-253 (closes #1048): on the held-out
teste_export_2025, every reading of the saved file gives the wall whoseWidthdiffers from Revit's the 200 mm type rvt-rs picks. Its reference list names that one type definition, its nativeSWallrecord names it, the type has one data copy and one name, and its record's outermost faces are 200 mm apart. Revit's export, made 8.9 hours after the file's last save by the two clocks, gives it a 300 mm type the file also holds, most likely an unsaved change. The maintainer chose (2026-10-27) to treat it as an inconsistency of that reference pair: the quantity census counts a wall'sWidthapart where the two exports give the wall different types and the Widths differ, which on every reference model is that one wall. No export changes.Motivation
#1048: the one
Widthdifferent in W7's held-out census. The model has no licence, so every run uploads only counts.Changes
examples/probe_re253_wall_type_refs.rs: count lines (type refs:,type copies:) for the reference list, the native record's type, the type's data copies (RE-216); per-wall lines for the scorer (type names, record-box sides, face-plane distances, the save time), which the scrub deletes.tools/re/export_after_save.py: the export's time less the file's save time, the export's wall types missing from the file, and record boxes and face distances against Revit'sWidth, as counts and ratios only.tools/ci/scrub-holdout-results.sh: keeps those count lines and nothing else of them.tools/re/qtos_vs_ifc.py:WALL_WIDTH, a wall's differingWidthcounted apart where the two exports give it differentObjectTypes (the names census scores the type), with its count printed.research/holdout-models.tsv(the note) and W7 ofdocs/release-1.0-criteria.md.reports/element-framing/RE-253-wall-type-references.md; RE-252 §2 corrected (a record's outermost face planes are not a layered wall's sides on 191 of the office's 596 walls; RE-252's rule takes an end only where that reading agrees with the join reach, so no output changes);changelog.d/research/wall-type-references.md.Testing
Measure runs 40446216295 to 40451116606, listed in the report, on the three held-out models (counts only) with the BIM4LCA office and R2025 01 and 18 as controls. The census rule, on every reference model and the held-out ones (Measure 40454360997): 1 wall counted apart on
teste_export_2025, 0 on every other model; no other count moves.Audit-honesty checklist
changelog.d/research/Legal and contribution hygiene
Breaking changes
None.