Repository navigation
fix(elements): a type's value block ends where the next native record starts, so two rac_basic 2027 doors keep their Width and Height (#1489) (RE-373) - #1568
Merged
Conversation
DrunkOnJava
marked this pull request as ready for review
November 9, 2026 04:36
…mbol two rac_basic 2027 doors are drawn by (#1489)
…clared and where its entry bytes sit (#1489)
… id and its Width entry (#1489)
… and the owner the scan gives it (#1489)
… each Width entry (#1489)
…entry each owner holds (#1489)
…tries the 2027 symbol block holds (#1489)
…idth entry sits in (#1489)
…block's mark and the next, with the ids there and their classes (#1489)
… bytes hold each length entry (#1489)
… starts, so two rac_basic 2027 doors keep their Width and Height (#1489)
… house's totals (#1489)
…v or BIMcollab models (#1489)
DrunkOnJava
force-pushed
the
fix/1489-value-blocks
branch
from
November 9, 2026 04:45
84026bc to
af6bcf6
Compare
4 tasks done
DrunkOnJava
added a commit
that referenced
this pull request
Nov 9, 2026
## Summary Release 0.16.1, the first published release of 0.16. The `v0.16.0` tag (on 2bb0f3b) was never published. Its publish run, [42559733687](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42559733687), stopped at the viewer load smoke test, which needed `rvt-elements` on its PATH, before crates.io, PyPI, the release page or ghcr.io. A tag cannot be moved, so #1569 fixed the workflow and 0.16.1 replaces 0.16.0. Everything under `[0.16.0]` ships in 0.16.1, with: - a door type's value block ending at the next native record, so the two `rac_basic` 2027 doors write their Width and Height (#1568, #1489, RE-373); - a roof drawn as its record box cutting no wall's top (#1476, #1471, RE-351); - the sealed registry for the 1.0 check's fresh held-out pairs (#1566, #1565); - RE-364's addendum on Revit 2015 to 2020 angled walls (#1567, #1535); - the publish workflow's fix and its dry run before a tag (#1569). ## Changes - Version 0.16.0 -> 0.16.1 in: - Cargo.toml; - rvt-py/Cargo.toml and its `=` pin; - rvt-mcp/Cargo.toml and its `=` pin; - rvt-wasm/Cargo.toml; - tools/stream_evidence/Cargo.toml's pin; - viewer/package.json; - CITATION.cff (version and date); - Cargo.lock and fuzz/Cargo.lock. - `python3 tools/release/changelog.py assemble`: 4 fragments go into `[0.16.1]`, with an introduction saying why 0.16.0 was not published. `[0.16.0]` gains one line saying the same. The introduction links 0.16.0's notes and "Upgrading from 0.15" at the `v0.16.1` tag, since the release page carries this section alone. It says to read 0.16.1 where those notes say 0.16.0: the IFC header, and the attestation's `--source-ref refs/tags/v0.16.1`. It also says this section's entries hold over the 0.16.0 notes on the 2027 doors and on what the release adds to the measured commit. - README: the latest release and the "after 0.16.1" fragments sentence. - `publish.yml`: the viewer smoke's comment gives its longest run, 15.8 minutes (v0.16.0's tag run), in place of 14.7. - 2daaa17 refreshes the Core Interior witness observations and verdicts, and the synthetic fixtures, from CI run [42565027784](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42565027784)'s artifacts at 772267d. Only `witness_version` (0.16.0 -> 0.16.1), the two verdict hashes and the fixtures' version strings (in `FILE_NAME` and `IFCAPPLICATION`) change. Replaying `tools/ci/witness-verdict.py` with CI's arguments passes for both artifacts, and every witness's replay matches. ## Testing - `python3 tools/ci/release_preflight.py check --event workflow_dispatch --ref-type branch --ref-name checkout --sha HEAD`: ok, version 0.16.1. - `python3 tools/release/changelog.py check`: ok. - The dry run RELEASE.md step 7 asks for, `publish.yml` dispatched on this branch at 772267d: [42564989175](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42564989175), success. The viewer artifact load smoke passed 54 tests and skipped 13, with none failed. The wheels, sdist, docs.rs preview, CLI smoke and all seven install-and-open jobs passed, and the four publish jobs skipped, as a dispatch does. The later commits change only the notes, witness files and fixtures. Of those, the workflow reads only CHANGELOG.md's `## [0.16.1]` heading, which they leave as it was, and the preflight run at 2daaa17 is ok, version 0.16.1. Unit tests: N/A. ## Audit-honesty checklist - [x] The changelog says 0.16.0 was never published and why, and that 0.16.1 carries everything in it. - [x] Each entry keeps its caveats. - [x] No emojis, private paths or PII. ## Legal and contribution hygiene - [x] Apache-2.0. No Autodesk source, internals or NDA material. ## Breaking changes None beyond 0.16.0's ("Upgrading from 0.15", read with 0.16.1 for 0.16.0).
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
Two
Single-Flush:800 x 2100doors ofrac_basic's 2027 save wrote noQto_DoorBaseQuantitiesWidth and Height. The cause: three family instances' own Width, Height, Rough Width and Rough Height (1500 × 2700 mm) are stored right after the doors' symbol's native record, with no value block mark between. The length scans gave them to the symbol, which then held two of each and, failing closed, wrote neither (RE-373).The fix bounds each value block by the native record index: a length entry is a block's only while no native record starts between the block's mark and the entry. A type's block lies inside its own
FamilySymbolrecord (onrac_basic, the mark sits 68 bytes past the record's start), and records don't nest, so the cut can only drop entries outside the owner's record.Changes
src/research/partition_type_parameters.rs:bounded_value_blockscuts each owned block at the first record start after its mark, where that comes before the next mark.record_startsreads the starts from the handle's record index, building it with a pass that selects nothing and decodes nothing if no native pass has. Whether it exists depends on the file alone, so the export doesn't depend on the order of its reads; with no index, blocks end at their marks as before.type_lengths_atandtype_named_lengths_at, use it. These scans run on Revit 2024 to 2027 only, inside the native reader's 2023 to 2027, so 2015 to 2023 are not reached.FireRating,Manufacturer), whose entries lie up to 3.2 MB from their mark, and the public research scans the probes use.tools/re/readers_across_saves.py:rac_basic's property minimum is 418 on both saves, from 414 on 2027.probes/examples/probe_1489_door_size_entries.rs: the probe, which names the native record whose bytes hold each length entry.reports/element-framing/RE-373-value-blocks-end-at-the-next-record.md, an addendum to RE-346,docs/status.md, and a changelog fragment.Testing
Unit tests are banned in this repository: nothing is added.
probe_1489_door_size_entriesonrac_basic2026 and 2027): every length entry lies inside exactly one native record. 431054's own entries are in itsFamilySymbolrecord, the three 1500 × 2700 groups inFamilyInstancerecords 457479, 457534 and 457542, and the three control symbols' entries in their own records. Two other bounds were ruled out: the RE-35 record chain (every Width entry, owned or not, lies outside it) and the mark itself (it carries no length).mainat 9c66e9b: the reference models, the BIM4LCA office, R2025, Autodesk's samples of every year and the held-out models, with timing. It had noracadvor BIMcollab model, which are 2015 to 2020 files this doesn't reach.rac_basic2027: the doors' Width and Height go from 9 to 11 equal to the 2025 save's, "only there" from 2 to 0, and the compared values from 414 to 418, the 2026 save's.Qto_DoorBaseQuantities.Width,HeightandAreaeach go from 11 to 13 of 13 equal. Its quantities equal to Revit's go from 200 to 206 of 846, and the MCP server's answers hold 27 quantity values equal to Revit's, from 24. It is the one Revit export the rule changes, and it is out of sample: the rule was read offrac_basic.main's (0.993 in total over 68 files), and peak memory 0.95 to 1.06 times (Snowdon HVAC 215 to 227 MiB). The viewer's wasm memory is not measured.same-project gatespasses on 1e62821d.same-project gateson efc66c67 reads "pass: 15 samples held to their earlier saves, and the Areas on 4 saves", withrac_basic's 2025, 2026 and 2027 saves each PASS.mainat 32d52bf after fix(ifc): a roof drawn as its record box cuts no wall's top (#1471) (RE-351) #1476 emptiedPINNED_WALLS; gates from this branch, samples 2024 to 2027): the two PRs' gate files together. Passed:same-project gateson af6bcf6 reads "pass: 15 samples held to their earlier saves, and the Areas on 4 saves", withrac_basic's 2025, 2026 and 2027 saves each PASS.main's in 42558908204.Audit-honesty checklist
docs/status.mdno longer lists the two doors as a gap, and RE-346 has a dated addendum.changelog.d/fixed/.probes/examples/and the dated report RE-373.Legal and contribution hygiene
Breaking changes
None.
Related issues
Closes #1489.