Skip to content

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
DrunkOnJava merged 12 commits into
mainfrom
re/1048-type-refs
Oct 27, 2026
Merged

DrunkOnJava merged 12 commits into
mainfrom
re/1048-type-refs

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 27, 2026 •

Copy link
Copy Markdown
Owner

Summary

RE-253 (closes #1048): on the held-out teste_export_2025, every reading of the saved file gives the wall whose Width differs from Revit's the 200 mm type rvt-rs picks. Its reference list names that one type definition, its native SWall record 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's Width apart 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 Width different 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's Width, 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 differing Width counted apart where the two exports give it different ObjectTypes (the names census scores the type), with its count printed.
  • research/holdout-models.tsv (the note) and W7 of docs/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.

  • Verified end to end on real Revit files; held-out results uploaded as counts only
  • No export change, so no witness or fixture moves

Audit-honesty checklist

  • README / docs reflect the current state after this PR (W7 states the wall counted apart and why)
  • The research entry is a fragment under changelog.d/research/
  • 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. Contributor declaration: this finding comes only from public byte observations of the named files and Revit's own IFC exports of them.
  • No fixtures

Breaking changes

None.

@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 27, 2026 04:50
@DrunkOnJava DrunkOnJava changed the title research(elements): every reading of the saved file gives the wall of #1048 the type rvt-rs picks (RE-253) 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) Oct 27, 2026
…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)
…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)
… wall of #1048 the type rvt-rs picks; RE-252's face planes corrected (#1048) (RE-253)
… exports give it different types, as #1048's held-out pair does (#1048) (RE-253)
@DrunkOnJava
DrunkOnJava merged commit 995dba2 into main Oct 27, 2026
27 checks passed
@DrunkOnJava
DrunkOnJava deleted the re/1048-type-refs branch October 27, 2026 06:07
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`).
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.

W7: a wall's Width differs from Revit's on 1 of 3 walls of a held-out Revit 2025 model

1 participant