Skip to content

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
DrunkOnJava merged 2 commits into
mainfrom
re/width-confirmed
Oct 27, 2026
Merged

DrunkOnJava merged 2 commits into
mainfrom
re/width-confirmed

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

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 (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.

  • Verified end to end on real Revit files; held-out results uploaded as counts only

Audit-honesty checklist

  • README / docs reflect the current state after this PR
  • A user-visible change (the diagnostics field) has its entry as a fragment under changelog.d/
  • Commit messages describe what changed and why
  • No emojis in code, docs, or commit messages
  • No private paths, personal email addresses, or internal jargon in committed files
  • No per-element data of an unlicensed model leaves the runner

Legal and contribution hygiene

  • Apache-2.0
  • No Autodesk proprietary content.
  • No fixtures

Breaking changes

None (DecodedExportDiagnostics is #[non_exhaustive]; NativeWall is behind unstable-research).

…re the wall's native record names rvt-rs's type, which the export diagnostics list (#1048) (RE-253)
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 27, 2026 07:11
@DrunkOnJava
DrunkOnJava merged commit 0adb8a2 into main Oct 27, 2026
28 checks passed
@DrunkOnJava
DrunkOnJava deleted the re/width-confirmed branch October 27, 2026 07:18
Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant