Repository navigation
fix(tools): the census counts a wall's differing Width apart only where its native record names rvt-rs's type (#1048) (RE-253) - #1061
Merged
Conversation
…re the wall's native record names rvt-rs's type, which the export diagnostics list (#1048) (RE-253)
DrunkOnJava
enabled auto-merge (squash)
October 27, 2026 07:11
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
The quantity census counted a wall's differing
Widthapart wherever the two exports give the wall different types (#1056, #1048). That would also have excused aWidththat 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 differingWidthon 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, them_WallAttributesIdthe pass already read.src/partition_schema_mvp.rs:WALL_TYPE_CONFIRMED_FIELDon a wall whose native record names its picked type.src/ifc/mod.rs:DecodedExportDiagnostics::walls_type_confirmed;docs/schemas/export-diagnostics.schema.jsonanddocs/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.shkeeps that count.changelog.d/added/walls-type-confirmed.md.Testing
Measure 40465115734 (every reference model and the held-out ones, the census from this branch):
teste_export_2025still counts its one wall apart, confirmed by its record; 0 type differences unconfirmed on every model;Qto_WallBaseQuantities.Width0 different everywhere. The exports are byte-identical tomain's (Core Interior, RE1 Architecture, R2025 18 compared), so no witness or fixture changes.Audit-honesty checklist
changelog.d/Legal and contribution hygiene
Breaking changes
None (
DecodedExportDiagnosticsis#[non_exhaustive];NativeWallis behindunstable-research).