Repository navigation
fix(ifc): a wall side's outer-loop area is summed from each loop's lowest vertex, so two exports of one file write the same GrossSideArea and GrossVolume (#1862) - #1863
Merged
Conversation
…west vertex, so two exports of one file write the same GrossSideArea and GrossVolume (#1862)
Owner
Author
|
Row 2 holds. #1852's self-diff on The pair diff on the same scratch head (run 43337710630, 2025 samples against their 2026 saves) no longer lists any wall Row 1 is read on run 43337536977. |
Owner
Author
|
Row 1 holds. Unfiltered Measure 43337536977 at
|
DrunkOnJava
marked this pull request as ready for review
November 13, 2026 01:05
DrunkOnJava
added a commit
that referenced
this pull request
Nov 13, 2026
## Summary Release metadata for v0.20.0 (RELEASE.md, steps 4 to 7), cut from `main` at `925c482d` and merged with `main` up to `58395b62` (#1855, #1860, #1861, #1863, #1866, #1867 and #1868 among it): - every version file moves to 0.20.0 (`tools/release/bump_version.py`), and `CITATION.cff` is dated 2026-11-12; - the fragments under `changelog.d/` are assembled into a `[0.20.0]` section, with its introduction and "Upgrading from 0.19" (the work-budget bullet says a stop warns and the export is still written, as #1855 settled); - the README's release lines name v0.20.0; - Core Interior's two witness observations and verdicts, and the two synthetic IFC fixtures, are taken from CI's artifacts for `e10580d0`: only `witness_version`, the verdict hashes, the retired "Unmapped Revit unit identifiers" warning (RE-445) and an unset transparency (#1820) differ. Measured and rehearsed: - the comparison with 0.19.0 is in the section, from Measure runs [43357862138](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43357862138) (unfiltered, `58395b62` against `v0.19.0`'s `09b18bd3`: 49 of 146 exports move, 0 census regressions, 0 body regressions) and [43357979238](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43357979238) (timing: no file more than 3% slower except one that reads 0.98 in the earlier run of the same code, no peak higher by more than 2%, the samples of 2023 to 2027 at a median 0.76 times the peak memory). The release adds only notes, witness files, version strings and fixtures to `58395b62`, so a run of `main` is the run of the release; a run of this branch would move every export through the header's version string; - `publish.yml` rehearsal on `d9946f4b`: [43359414819](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43359414819) passed. Only the changelog changed since. **Why now.** `main` holds today's crafted-file and security fixes (#1815, #1831, #1833, #1845), and neither GlobalId move. #1850 is back in draft until the tag, and #1854's fix is #1859. Those two ship together in 0.21.0 (#1854 comment 6841360704). ## 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. - Timing against 0.19.0 is in the section, from run 43357979238 on `58395b62`. ## Related issues Release 0.20.0. Milestone `0.20.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 exports of one file now write the same wall
Qto_WallBaseQuantities.GrossSideAreaandGrossVolumeto the last bit.outer_loop_area(src/ifc/mesh_wall_quantities.rs) summed each boundary loop of a wall side from whichever vertex aHashMapyielded first. Each export added the same terms in another order, so the area moved by up to 2e-14 of its value.#1852's element diff, comparing a file's export with itself, listed 4 to 117 walls as changed on seven of eleven models (run 43335692114, table on #1862). No other field or property moved on any of the eleven.
Motivation
rvt-diff --elements(#1843, PR #1852) compares the values an export holds. A value that moves from one export to the next shows as a change between two saves that did not change it.Changes
outer_loop_areasums each loop from its lowest vertex: the loop starts are sorted before the walk. Vertex ids follow the triangles' order, which is the file's.changelog.d/fixed/1862-outer-loop-order.md.Testing
Rows, registered before the runs:
ifc.sha256anddiagnostics.jsonidentical. A written value can move only at the sixth decimal of a wallGrossSideAreaorGrossVolumethat sat on a rounding boundary; any such move is listed here by model and wall. The same-project gates pass.probe_1843_element_diff, a file's export against itself) on a scratch merge of this branch and feat(cli): rvt-diff --elements compares two saves of a model element by element, keyed by the GlobalId the IFC export writes (#1843) #1852: no element changed on any of the eleven models of run 43335692114.Results will be posted here.
tools/check-local.sh: CI is the compiler;rustfmt --edition 2024 --checkpasses locallyAudit-honesty checklist
changelog.d/fixed/Legal and contribution hygiene
Breaking changes
None.
Screenshots or output samples
None; rows 1 and 2.
Related issues
Closes #1862. Found by #1843's element diff (PR #1852).