Repository navigation
research: probe_1864_level_binds names the elements that choose their Level differently in two saves and prints what each save's record names (#1864) - #1876
Merged
Conversation
… Level differently in two saves and prints what each save's record names (#1864) #1843's element diff lists 12 elements of Autodesk's rst_basic whose LevelBindSource, LevelElementId or LevelBindResolved differ between the 2025 and the 2026 save, and prints counts per property, not the elements. Whether the model changed between the saves or rvt-rs reads the two saves of one element differently is read from the elements. The probe lists each such element (entity, Tag, the three properties on each side, name), counts the changes by the rule each save chose, and prints per save the Levels the file holds (with each one's Building Story setting) and, for each listed element, every element record the save holds for it: category, stream and offset, container, placement kind, box base and top, the Levels its reference list names and the other elements it names. Equal records with different binds are a reading that differs; records that differ are a change in the model. No src change. Part of #1864.
DrunkOnJava
added a commit
that referenced
this pull request
Nov 13, 2026
## Summary Release metadata for v0.21.0 (RELEASE.md, steps 4 to 7), cut from `main` at `9b7dee8c` and merged with `main` up to `b76ee16e`: - every version file moves to 0.21.0 (`tools/release/bump_version.py`), and `CITATION.cff` is dated 2026-11-13; - the five fragments under `changelog.d/` (#1843, #1838, #1840, #1854, #1871) are assembled into a `[0.21.0]` section, with its introduction, what is not measured, the comparison with 0.20.0 and "Upgrading from 0.20"; - the README's release lines name v0.21.0; - Core Interior's two witness observations and verdicts, and the two synthetic IFC fixtures, are taken from CI's artifacts for `10b0a299` (run 43382001273): only `witness_version`, the verdict hashes and the version strings of the IFC header and `IFCAPPLICATION` differ. **Why now.** The GlobalId pair (#1850 and #1859) is in `main`: the GlobalIds an export writes hold from one save of a project to the next, which 0.20.0 was cut without so that they ship together. `rvt-diff --elements` (#1843) and the `--redact` fix for Linux home folders (#1871) are in the same release, and #1874 corrects a warning that called deleted elements an incomplete IFC. Measured and rehearsed: - the comparison with 0.20.0 is in the section, from Measure runs [43381774360](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43381774360) (unfiltered, `main` at `9b7dee8c` against `v0.20.0`'s `9bb58fe1`: 146 of 146 exports move and `diagnostics.json` is equal on all 121 models that publish one; the MEP samples' `bodies_across_saves` goes from FAIL to PASS on 6 saves, and no other scorer output differs; that the exports move only in their GlobalIds is what #1850's and #1859's own line-by-line comparisons found, the run compares hashes) and [43381779893](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43381779893) (timing: 75 files at 0.94 to 1.06 times the time, median 1.00, and 0.99 to 1.01 times the peak memory). The release adds only notes, witness files, version strings and fixtures to `9b7dee8c`, apart from the probes and the one docs line (#1876, #1877, #1878, #1880) that landed after it and move no export; - `publish.yml` rehearsal on this branch: [43383528785](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43383528785), on `bfa6859c`; only the changelog has changed since. ## Testing - `python3 tools/release/changelog.py check` passes: no fragment is left. - `bump_version.py` checks the version files with the preflight's own `check_versions`. - The PII guard runs `release_preflight.py` on this PR. ## Related issues Release 0.21.0. Milestone `0.21.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
probe_1864_level_bindsnames the elements whose Level two saves of one project choose differently, and prints what each save's element record holds for them. It reads nothing new: it is the question #1864 asks, put to the elements instead of to counts. Part of #1864.Motivation
#1843's element diff, run on Autodesk's 2025 and 2026 saves of
rst_basic, lists 12 elements that differ inLevelBindSource,LevelElementIdorLevelBindResolved(10 take another rule in the 2026 save; 2 lose their bind). The diff cannot say whether Autodesk changed the model between the saves or rvt-rs reads the two saves of one element differently, andprobe_1843_element_diffprints counts per property, not the elements. Telling the two apart needs each element and, for each save, what its record names.Changes
probes/examples/probe_1864_level_binds.rs(new):rvt-ifcdoes and takes the element diff (rvt::ifc::element_diff);record=nonewhere the save holds none).Testing
Unit tests are banned in this repository: none added.
samples=true,sample_years="2025 2026",probe_pair_release=2026,models=core-interior; the samples are Autodesk's and redistributable, no held-out model is run): 43378465425 onf13e3381. The rows it is read against were registered on Autodesk samples, 2025 against 2026 saves: 6 bodies, 1 profile and 12 level binds differ with no known cause #1864 before the run (comment); the reading goes on Autodesk samples, 2025 against 2026 saves: 6 bodies, 1 profile and 12 level binds differ with no known cause #1864.src/change, so no gates verdict and no witness replay.Audit-honesty checklist
probes/examples/states its FACTLegal and contribution hygiene
Breaking changes
None.
Related issues
Refs #1864 (the issue stays open: its 12 level binds, 6 bodies and 1 profile are read from this probe's output and the next probes).