Skip to content

fix(ifc): a hollow-section column's quantities and a wall sweep's and ramp's native type stop at Revit 2024, the embed host at 2024 to 2027 and the shaft cut at sketch outlines, and RE-461 names what holds the other four rules (#1945) (RE-461) - #1956

Merged
DrunkOnJava merged 4 commits into
mainfrom
fix/1945-release-gates
Nov 14, 2026

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Summary

Eight rules wrote values on releases wider than their reports measured (#1945). Four now stop at the release they are measured on or at what RE-99 measured, none of them moving an export or a diagnostic of the 146 models of an unfiltered Measure (run 43525326226, held-out and spent models included), and the other four keep their range with the measurement named in their doc comments and in RE-461.

Motivation

The batch 9 export audit found eight rules whose release list is wider than the range their report measured. A release's reader is a decision, so a later release is not taken until a file of it is measured (RE-353). For each rule I looked for a file that can exercise it on the unmeasured releases before narrowing it, since narrowing removes values that may be right (the GlobalId result of RE-459 is the case).

Changes

  • Rule 1, hollow-section columns (export_content.rs, partition_schema_mvp.rs, fields.rs): the four base quantities of RE-247 section 8 are written on Revit 2024 only (HOLLOW_SECTION_QUANTITIES_REVIT_VERSIONS), through a field set beside COLUMN_UNJOINED_FIELD. None of Autodesk's 54 sample saves of 2015 to 2027 holds a hollow-section column.
  • Rule 2, the wall that embeds a curtain wall (saved_meshes.rs): drawn from its saved mesh on 2024 to 2027 (EMBED_HOST_REVIT_VERSIONS); the records of 2023 name no embed step, so nothing was drawn there.
  • Rule 6, the shaft's cut (slabs.rs): only outlines drawn from sketch lines are cut, as RE-99 measured; plan_profile_from_fields also takes a stair landing's.
  • Rule 8, a wall sweep's and ramp's type from its record (types.rs, partition_schema_mvp.rs, fields.rs): on Revit 2024 only (SWEEP_RAMP_NATIVE_TYPE_REVIT_VERSIONS).
  • Rules 3, 4, 5 and 7 are not gated. Held to the project's 2024 save on every release the corpora have a file of: the 41 and 27 beams RE-119 binds in rst_basic 2016 to 2023 have the 2024 save's storey (rule 3); the 491 and 488 pipes of the rme saves of 2015, 2019, 2023 and 2025 to 2027 (rule 4); the doors of rac_advanced, rac_basic and the rme saves that fill no opening, to 3 mm, on 2025 to 2027 (rule 5, and rule 5 reads nothing before 2024); the 22, 10, 14 and 14 railings on 2025 to 2027 (rule 7). The doc comments of rules 3 and 4 say so.
  • tools/re/release_rules_across_saves.py holds these counts, from the kept exports of a Measure run (-f samples=true -f keep_ifc=true).
  • reports/element-framing/RE-461-release-gates.md, docs/supported-profile.md, changelog.d/changed/release-gates-1945.md.

Testing

Unit tests are banned in this repository; the change is checked against real exports.

  • tools/check-local.sh passes (fmt, clippy, rustdoc, build, real-file / CLI / contract checks)
    • No local build (CI builds); rustfmt --check passes locally. CI runs the rest.
  • Verified end to end on real Revit files: the command, the files (and their licence), and the measured result against Revit's own export are in the PR body, with the script or probe that reproduces it
    • The counts above are from the kept exports of Measure run 43456034222 (the base side: main at f8e20536), 59 files (Autodesk's samples, free to download; Snowdon Towers), by tools/re/release_rules_across_saves.py.
    • The unfiltered Measure of this branch, 43525326226 (-f samples=true -f nordic=true -f r2025=true -f racadv=true -f holdout=true -f bimcollab=true -f families=true, head 334c3a1 against base 6ad5efa, the held-out and spent models included): 146 of 146 exports and 121 of 121 diagnostics equal, and the same-project gates check passes on 334c3a1. That is what "no sample holds the case" means for the four rules that stop; the files of 2025 to 2027 with a hollow-section column or a typed sweep that would measure them there are not in any corpus.
  • If this touches the IFC exporter: the witness verdicts replay (see CONTRIBUTING.md) or the changed observations are refreshed in this PR
    • Core Interior holds no hollow-section column, typed sweep or ramp; CI's replay says if that is wrong.
  • If this is a performance change: reran tools/bench.sh and attached the before / after
    • N/A: narrower lists, not faster code.

Audit-honesty checklist

  • README / docs reflect the current state after this PR — no claims of features that are not actually shipped in this PR
    • docs/supported-profile.md says "on Revit 2024 only" for the hollow-section quantities and the sweep and ramp types.
  • A user-visible change has its entry as a fragment under changelog.d/<section>/ (see changelog.d/README.md), not in CHANGELOG.md
  • If a limitation was resolved, the "Known limitations" / "What works today" section in the relevant docs is updated
  • If a new limitation was introduced, it is documented in the PR body and in-code
    • A hollow-section column's four quantities and a sweep's and ramp's native type are not written on 2025 to 2027 until a file of one of those releases measures them.
  • Commit messages describe WHAT changed and WHY, not "fix things" or "updates"
  • No emojis in code, docs, or commit messages
  • No private paths, personal email addresses, or internal jargon in committed files
  • If this is a reverse-engineering finding: a reproducible probe under probes/examples/ and a dated addendum to docs/format-reconnaissance.md are included
    • N/A: a release-range audit, reproduced by tools/re/release_rules_across_saves.py (RE-461).

Legal and contribution hygiene

  • I agree this work is licensable under Apache-2.0 (see CONTRIBUTING.md)
  • This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content (see CLEANROOM.md)
  • Any new test fixtures use synthetic values (testuser, 111111, FY-20XX, etc.) and contain no real-world PII
    • No fixtures.

Breaking changes

On Revit 2025 to 2027, a hollow-section column loses its four base quantities and a wall sweep or ramp loses a type its own record would give it, until a file of those releases measures them. The sample corpora hold neither.

… ramp's native type stop at Revit 2024, the embed host at 2024 to 2027 and the shaft cut at sketch outlines, and RE-461 names what holds the other four rules on the releases their reports did not measure (#1945) (RE-461)

Eight rules wrote values on releases wider than their reports measured. The kept exports of Autodesk's 54 sample saves of 2015 to 2027 and the five Snowdon Towers files hold no hollow-section column outside 2024's structural sample, no typed wall sweep or ramp after 2024, and no shaft cut of anything but a floor; tools/re/release_rules_across_saves.py holds the other rules to the project's 2024 save.
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 14, 2026 00:05
@DrunkOnJava

Copy link
Copy Markdown
Owner Author

I am approving this one without rvtDevelop's read, as Griffin's 2026-11-12 answer allows ("you are allowed to self-approve"): I asked rvtDevelop to read it about 25 minutes ago and it has not answered. I read the whole source diff again in this session, which started after the one that wrote it.

What I checked, against the PR text:

  • Each of the five source changes only narrows: a hollow-section column's four quantities are written where its record carries m_column_hollow_quantities (set for 2024 only); attach_native_type_names skips WallSweep and Ramp off 2024; embed_hosts returns nothing unless the file is 2024 to 2027, and nothing when its BasicFileInfo does not read; attach_shaft_voids skips an element whose plan profile did not come from sketch lines. None adds a value or a release.
  • The new constants name the one measured release each, and the doc comments carry the measurement and the reason (RE-461 section 3).
  • Head 7bd244a3 is the measured head plus main (merged, --no-ff) and the docs commit; its full CI is green (46 of 46). Measure 43525326226 at 334c3a1b, with every switch on including the held-out models: 146 of 146 exports and 121 of 121 diagnostics equal, and the same-project gates pass.

If rvtDevelop reads it later and finds something, it goes in as a fix on main.

@DrunkOnJava
DrunkOnJava merged commit 2c4200c into main Nov 14, 2026
63 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/1945-release-gates branch November 14, 2026 00:30
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