You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Autodesk samples, 2025 against 2026 saves: 6 bodies, 1 profile and 12 level binds differ with no known cause #1864
#1843's element diff, comparing each Autodesk 2025 sample with its 2026 save, lists a few changes with no known cause (run 43337710630, probe_1843_element_diff with probe_pair_release=2026, on #1852 with #1863 merged in; PR #1852 comment 6840311802):
Sample
What differs
Elements
rac_advanced
the body
4
rac_advanced
the profile: the 2025 save gives ProfileSource, ProfileVertexCount and ProfileVoidCount, the 2026 save none, and BodySource and ProfileResolved change
1
rac_basic
the body; one BodySource
2
rst_basic
LevelBindSource: another source on 10, none in the 2026 save on 2, which also lose their LevelElementId
12
The other changes in those pairs have causes and fixes: IsExternal (#1860), and the MEP samples' 25 layered-floor pieces (#1840).
The diff counts these and cannot say which kind they are:
Autodesk changed the model between the saves, and the export is right to follow it.
Or rvt-rs reads the two saves of one element differently, and one of them is wrong.
rst_basic is the sample whose Levels go unread from Revit 2016 on (#1842), so its 12 level binds may share that cause.
Done when
Each of the 19 elements is named, with what each save's export writes for it.
Rows for the re-read of this issue's 19 elements on main at e57db423, registered before the run. main now holds #1860 (IsExternal), #1863 (the wall areas' sum order), #1867 and #1868 (the Levels that are not building stories) and #1852 (the element diff with the probe); the run is the one that read the 2025 samples against their 2026 saves in this issue's table (probe_1843_element_diff, probe_pair_release=2026, the samples of 2025 and 2026), on that head.
rac_advanced and rac_basic: the bodies and the profile. Nothing in main since touches them, so I expect the same 4 bodies and 1 profile on rac_advanced and 2 bodies on rac_basic.
The other pairs.rme_advanced and rme_basic list no change (as at 78516997), and the pairs' identity holds: left = removed + changed + unchanged + set_aside.left and likewise for the right.
The issue's remaining question, for the elements of row 2, is whether Autodesk changed the model between the saves or rvt-rs reads two saves of one element differently; that is read on this run's per-element lines, which name each one.
The rows, read on 43372460252 (main at e57db423): row 1 does not hold, rows 2 and 3 do.
rst_basic: not 0 of 12, still 12. The pair of the 2025 sample against its 2026 save lists 12 changed elements, all in the RvtElementRecordGeometry properties that say how the element's Level was chosen: LevelBindSource on 12 (absent in the 2026 save on 2 of them), LevelElementId on 2 (absent in the 2026 save on both) and LevelBindResolved on 2. fix(ifc): a file whose Levels include no building story is written with no storey, as Revit's export writes it, instead of storeys made up from its elements' heights (#1842) #1868 changed what the export does with a Level that is not a building story (no storey), not whether an element's record names a Level or which of the Levels it names rvt-rs picks, and these three properties record exactly that. So the 12 differ where the two saves' records differ in that, and which save's reading is right is not read yet: the probe prints counts per property, not the elements. The next step is a probe that names the 12 (their class and Tag, and on each side the three values and the Level ids the record's reference list holds), which is what separates a change in the model from a reading that differs.
Rows for probe_1864_level_binds (#1876) on rst_basic's 2025 sample against its 2026 save, registered before the run. The run is main at 7e7b69b7 plus the probe (f13e3381), on the samples of 2025 and 2026 with probe_pair_release=2026.
The probe names the 12.rst_basic prints level_bind_elements 12 of <changed>: the 12 of the last run, 10 whose LevelBindSource changes and 2 that lose their bind. Its level_bind_source lines add up to 12, and the other four pairs print level_bind_elements 0. Any other count means the probe and Element-level diff of two saves: what was added, removed or changed, keyed by GlobalId (#1829) #1843's diff key the elements differently, and that is fixed before the elements are read.
The Levels hold between the saves. The two levels lines list the same Level ids, names and elevations, with the same Building Story setting on each. If the 2026 save lists fewer Levels, or another setting, that is read first: a Level one save does not recover would explain a lost bind on its own.
Each of the 12 is one of three things, by a rule set now. Records are equal when container, placement, levels and others (as sets) match and base and top agree to 1e-6 ft; stream and offset differ between saves and are not compared.
Records differ in what the bind reads (the Levels named, the box, the host): Autodesk changed the element between the saves, and the diff is right to list it. The values go on this issue.
record=none on one side: that save's record is not found, so the reading is wrong on that side until it is.
I expect the 10 whose source changes to be the first kind, since a re-save by another release does not edit the model. I have no expectation for the 2 that lose their bind.
The three kinds sum to 12, so no element is read twice or left unsorted.
The rows, read on 43378465425 (f13e3381, #1876): rows 1, 2 and 4 hold, row 3's expectation does not.
Holds.rst_basic prints level_bind_elements 12 of 12 changed: partition_element_record_reference_list -> partition_element_record_base_constraint on 10, partition_element_record_base_constraint -> absent on 2. The other four pairs print level_bind_elements 0.
Holds. The two levels lines are identical: the same 9 Levels (ids, names, elevations), each with Building Story off.
My expectation was wrong: none of the 12 is a reading that differs. I expected the 10 to have equal records. By the rule set before the run, all 12 are the second kind: the records differ in what the bind reads. In every one, the 2026 record's reference list names one more Level than the 2025 record's, and it is the same Level: Top of Parapet (196629, 19.6850 ft). Everything else the probe compares is equal on both sides: the box (19.5392 to 19.8309 ft), container, placement, and the other elements the list names (all 7 of each, in the same order).
10 name one Level in 2025 (Level 2 on 6, Foundation on 2, Ref Beam system on 2) and two in 2026. The extra Level is above the beam's base, so RE-59's base constraint picks the Level the single reference gave: LevelElementId is unchanged and only the source differs.
2 (1046284, 1437167) name two in 2025 (Level 2 with Ref Beam system, and with Foundation) and three in 2026. A record naming three matches neither rule (exactly one, RE-27; exactly two, RE-59), so the 2026 save leaves them unbound: LevelBindResolved and LevelElementId go.
Holds. 0 reading differences + 12 records that differ + 0 records missing = 12.
All 12 are one type of framing member, the CHS 88.9x5.0 tubes, IfcBeam on both saves, and the tubes' centreline (19.68505 ft) is the elevation of Top of Parapet. The bytes show the 2026 record names that Level and do not show why: whether Autodesk re-hosted the tubes on it between the saves or Revit 2026 writes the reference for another reason. So the diff is right to list the 12, and the cause stays open.
What this leaves is the 2 that lose their bind. A record naming three Levels is left unbound by design (a guess would be a plausible typed answer), and whether a rule for three is right depends on a record of that kind in a model with Revit's own export, which I do not know of. Rows for the count that would find one, over every model Measure holds, follow before it runs.
Rows for probe_1842_levels_named (#1878), registered before the run: how many Levels each element record's reference list names, by category, over every model Measure holds. The run is main at 3b745d51 plus the probe (caf3fd9b), counts only, with scorers=none. It serves #1842 as well: CHL's 104 on no storey may be records that name three or more Levels, or none.
The probe prints for every model. One file revit= line per model (102 models, as the last unfiltered probe run), and on every levels_named line n0 + n1 + n2 + n3plus = instances. A model with no output, or a sum that does not match, is a probe fault and is fixed before anything is read.
It finds Autodesk samples, 2025 against 2026 saves: 6 bodies, 1 profile and 12 level binds differ with no known cause #1864's 12. The 2026 save of rst_basic has Structural Framing with n3plus of at least 2, and the pattern lines named=2 ... =1/1/0 on at least 10 instances and named=3plus ... =2/1/0 on at least 2: the third Level, Top of Parapet, lies within the tubes' box. The 2025 save has named=2 ... =2/0/0 on at least 2 and no named=3plus on Structural Framing from these 12.
No model with Revit's own export holds a record that names three or more Levels. I expect n3plus=0 on every category of Core Interior, Snowdon Towers, the RE1 models and Einhoven, since RE-27 and RE-59 were measured on them and found one or two. I do not know it for the 2026 and 2027 held-out models, which have Revit's export too; the count is the first thing this run says about them.
Where three or more occur, the next step is set by where.
In a model with Revit's export: the storeys of those elements are scored against Revit's with a candidate rule (the highest named Level at or below the box base, else the lowest) before any rule is written, as RE-59 was.
Only in models without one: they stay unbound as a measured negative, and CHL's counts are asked of its reporter through probe-binaries.yml, as this probe prints no name or id.
The census rows, read on 43380176820 (caf3fd9b, #1878): rows 1 and 2 hold, row 3 does not, and row 4 sends the question to a smaller set than I expected.
Holds, with one limit. All 102 models the harness runs a probe on print a file revit= line, and n0 + n1 + n2 + n3plus = instances on every levels_named line (0 mismatches). The 19 held-out models, bimcollab-str-2015 and racadv-2015 to 2020 keep counts only in Measure and have no probe output, so this run says nothing about the held-out Revit 2026 and 2027 files.
Holds.rst_basic 2026 and 2027: Structural Framingn3plus=5 (the 2025 save has 3), named=2 ... =1/1/0 on 24 instances (14 in 2025), named=3plus ... =2/1/0 on 2. The 2025 save has named=2 ... =2/0/0 on 2, which become those two. So the third Level, Top of Parapet, lies within the tubes' box in all 12, as Autodesk samples, 2025 against 2026 saves: 6 bodies, 1 profile and 12 level binds differ with no known cause #1864's reading said. The 2025 save already holds 3 records that name three Levels (2/0/1), unchanged in all four saves of 2024 to 2027.
Does not hold: Snowdon Towers does. Core Interior, Einhoven and the RE1 models have n3plus=0, as I expected. Snowdon Towers 2024 has 5: 2 Structural Columns (1/1/1) in the structural sample and 3 Stairs (1/2/0) in the architectural one. I had said RE-27 and RE-59 were measured on those files and found one or two; they found one or two on the records they scored, and these five name three.
Where the three-Level records are. 53 of the 321,349 placed instances (0.016%) in 14 of 102 models, by pattern (Levels at or below the box base / within it / at or above its top): Stairs 0/3/0 20 (rac_advanced, 5 in each of 4 saves), Structural Framing 2/0/1 12 and 2/1/0 4 (rst_basic), Mass 1/2/0 4, Walls 0/2/1 4 and 1/0/2 4 (rac_basic), Stairs 1/2/0 3 and Structural Columns 1/1/1 2 (Snowdon Towers). None is in a model Measure scores against Revit's export (Core Interior, Einhoven, RE1, the BIM4LCA models and the r2025 set have none), so Measure cannot test a rule for them. The only Revit export that has such records is the local Snowdon Towers one, for 5 of them.
What this settles for #1864: the 2 beams that lose their bind are one of 53 records in the corpus that match neither RE-27's rule nor RE-59's, and nothing Measure holds can say which Level Revit gives them. A rule for three Levels is not written: the generalisation of RE-59's (the highest named Level at or below the base, else the lowest) is the natural one, and 5 records of one local model are too few to call it measured. The records stay unbound and LevelBindResolved says so.
What it leaves for #1842: CHL's 104 on no storey may be records of this kind, which only a count on CHL can say. The probe prints counts only, so its reporter can run it.
#1915 (ready, in CI) settles the 12 level binds' Level: on the kept exports of the 2025, 2026 and 2027 saves of rst_basic, LevelElementId and LevelBindResolved are equal on all 370 beams, and the 12 beams still differ only in the label LevelBindSource (the same Level, bound by the unique name where the list names one Level and by the highest where it names two). What is left of this issue is its 7 bodies: 4 of rac_advanced (one of them with a profile that only the 2025 save gives) and 2 of rac_basic, which rvt-diff --elements counts and does not name.
Rows for probe_1864_body_diff, registered before the run is dispatched. The probe, on branch research/1864-body-diff, names the elements of two saves of one sample whose body or profile differs, prints each side's body as the export writes it (extrusion size and profile kind, solid kind, location, rotation) with BodySource, ProfileSource, ProfileVertexCount, ProfileVoidCount and ProfileResolved, and prints each save's element record for them (box, container, placement kind, stream). It runs on the 2025 samples against their 2026 saves (probe_pair_release=2026), main at d90c1fa plus the probe. No change to any export.
The probe prints for every sample pair and exits 0.body_diff_elements is 4 of 4 on rac_advanced and 2 of 2 on rac_basic (the counts of the last run; main has moved, so any other number is read before the elements are), and 0 on rme_advanced, rme_basic and rst_basic.
Each element is named with its IFC entity, ElementId and the fields that differ, and each side's body_side line says what the export wrote.
A rule set now for what each one is.
Its element record's box, container and placement kind are equal on both sides (box to 1e-6 ft) and the body still differs: the difference is in data the record does not hold (sketch lines, a type's layers) or a reading that differs. The body_side lines say which side resolves a profile and which does not, and a second probe reads that data.
Its box, container or placement differ: Autodesk changed the element between the saves, and the export is right to follow it.
Rows for the diff's digest, registered before the run is dispatched. The element diff's body digest took the extrusion even where the writer draws a solid instead, which is how four of the six roofs came to be listed. The digest now takes the mapped item, else the solid, else the extrusion, as step_writer draws them (src/ifc/element_diff.rs, branch research/1864-body-diff at the commit below). The same probe_1864_body_diff runs on the 2025 samples against their 2026 saves.
Those two stay, with the sources of the first run (partition_roof_slope and partition_roof_extrusion on the 2025 save, the saved mesh on the 2026 save): they are readings that differ, not a counting fault.
No other count moves. A digest of an element with only one of a mapped item, a solid and an extrusion is the same as before, so no pair lists more elements than in the first run; any pair that does is read before anything else.
Nothing is exported differently. The digest is read by rvt-diff --elements and its probes only; the unfiltered Measure of the pull request shows every export byte-identical.
The digest rows, read on 43462494387 (probe_1864_body_diff at f61496f): rows 1 to 3 hold. The 2025 samples against their 2026 saves list 1 element on rac_advanced (201262) and 1 on rac_basic (243274), 0 on rme_advanced and rme_basic, and 0 of 12 on rst_basic. The four roofs that differed only in the undrawn extrusion (167036, 167158, 165755, 724430) are no longer listed, and the two left keep their sources of the first run: partition_roof_slope (134 sketch vertices) and partition_roof_extrusion on the 2025 save, the saved mesh on the 2026 save. Row 4 (nothing is exported differently) is read on the unfiltered Measure of the pull request.
What is left of this issue is #1479's: the reader of a sketch line's B-spline is listed for Revit 2025 only. I am holding the same two roofs to the 2025 save on the 2024, 2026 and 2027 saves, with the list widened on a branch; the rows are on #1479.
#1931 (RE-458) is on main, and #1479 is closed by it. What it does to this issue's 7 bodies:
rac_basic roof 243274: fixed. Its 2024, 2026 and 2027 saves draw it from its sketch's section, the 2025 save's body (35.424 m3, where the 2026 and 2027 mesh was 34.974 m3). The same-project gates run 43482212285 reads "same 441, differ 0" on the 2026 and 2027 saves, with the list of roofs that may differ empty.
rac_advanced roof 201262 (the body with the profile): explained, not changed. It is partition_roof_slope on 2025 and a saved mesh on 2026 and 2027, equal in volume to 0.1% (5.33205264 m3 against 5.33213143) and in box, so the diff lists a different BodySource and no ProfileSource, ProfileVertexCount or ProfileVoidCount for the same shape. Lifting the 2026 and 2027 roof hold (RE-341) changed no body on any local file (RE-458 section 3), so the slope reader is gated by more than that function and the hold stays.
What is left of "Done when": the element diff of the rac_advanced pair still lists 201262's representation and rst_basic's pair its 12 LevelBindSource labels, none of them a change in the model. Whether the diff should stop listing a provenance label and a representation that give the same shape is a design question for #1843's diff, not a reader defect; I am leaving this open for it rather than closing it as explained.
Roof 201262 of rac_advanced is the one element the diff still lists. It is the same shape both ways, to 0.1% in volume and equal in box, so it is a reading that differs by release and not a change in the model. The gate is partition_roof_slopes::ROOF_SLOPE_SUPPORTED_REVIT_VERSIONS = [2024, 2025]. The edge-slope reader does not run on 2026 or 2027, so those saves fall back to Revit's saved mesh. RE-341 drew that line on purpose: a 2026 or 2027 save would take the 2024 reading of the slope, and no Revit export of a 2026 or 2027 roof scores either.
Widening the list would make the diff quiet by drawing the 2026 roof from its sketch. That puts an unscored reading where Revit's own mesh is written today, so it is not the fix. The question is the one #1856 asks of stair runs: where rvt-rs can draw an element from its sketch and Revit also saved its mesh, which body the export writes. Its count (240 sketch-drawn runs, all with a saved mesh, the sketch 1% to 3% larger on 44 whole scenes) is the evidence to choose from. This issue's last element closes with that choice, and I am leaving it open on #1856 rather than widening a reader here.
Activity
fix(ifc): a file whose Levels include no building story is written wi…
DrunkOnJava commentedon Nov 13, 2026
Rows for the re-read of this issue's 19 elements on
mainate57db423, registered before the run.mainnow holds #1860 (IsExternal), #1863 (the wall areas' sum order), #1867 and #1868 (the Levels that are not building stories) and #1852 (the element diff with the probe); the run is the one that read the 2025 samples against their 2026 saves in this issue's table (probe_1843_element_diff,probe_pair_release=2026, the samples of 2025 and 2026), on that head.rst_basic: the 12 level binds. None of its Levels is a building story, and fix(ifc): a file whose Levels include no building story is written with no storey, as Revit's export writes it, instead of storeys made up from its elements' heights (#1842) #1868 writes it with no storey, so I expect the pair to list noLevelBindSourceorLevelElementIdchange: 0 of the 12. If any remain, the probe's per-property lines say which property and how many, and they are read before anything else.rac_advancedandrac_basic: the bodies and the profile. Nothing inmainsince touches them, so I expect the same 4 bodies and 1 profile onrac_advancedand 2 bodies onrac_basic.rme_advancedandrme_basiclist no change (as at78516997), and the pairs' identity holds:left = removed + changed + unchanged + set_aside.leftand likewise for the right.The issue's remaining question, for the elements of row 2, is whether Autodesk changed the model between the saves or rvt-rs reads two saves of one element differently; that is read on this run's per-element lines, which name each one.
DrunkOnJava commentedon Nov 13, 2026
The rows, read on 43372460252 (
mainate57db423): row 1 does not hold, rows 2 and 3 do.rst_basic: not 0 of 12, still 12. The pair of the 2025 sample against its 2026 save lists 12 changed elements, all in theRvtElementRecordGeometryproperties that say how the element's Level was chosen:LevelBindSourceon 12 (absent in the 2026 save on 2 of them),LevelElementIdon 2 (absent in the 2026 save on both) andLevelBindResolvedon 2. fix(ifc): a file whose Levels include no building story is written with no storey, as Revit's export writes it, instead of storeys made up from its elements' heights (#1842) #1868 changed what the export does with a Level that is not a building story (no storey), not whether an element's record names a Level or which of the Levels it names rvt-rs picks, and these three properties record exactly that. So the 12 differ where the two saves' records differ in that, and which save's reading is right is not read yet: the probe prints counts per property, not the elements. The next step is a probe that names the 12 (their class and Tag, and on each side the three values and the Level ids the record's reference list holds), which is what separates a change in the model from a reading that differs.rac_advancedandrac_basic: holds. 4 changed elements onrac_advancedand 2 onrac_basic, the same counts as at78516997(the table on feat(cli): rvt-diff --elements compares two saves of a model element by element, keyed by the GlobalId the IFC export writes (#1843) #1852).rme_advancedandrme_basiclist no change, andaddedandremovedare 0 where they were 25 and 25: the layered floors' pieces that took new GlobalIds on every save (A layered floor's parts take new GlobalIds on every save of a Revit 2027 model (#1829) #1840) now hold, since fix(ifc): an element's further pieces take their GlobalIds from the element's Revit GlobalId, so they hold from save to save (#1840) #1850. The identityleft = removed + changed + unchanged + set_aside.left(and the right's) holds on all five pairs, withset_aside0.The 19 elements are now the 12 level binds, the 6 bodies and the 1 profile. This issue stays open.
DrunkOnJava commentedon Nov 13, 2026
Rows for
probe_1864_level_binds(#1876) onrst_basic's 2025 sample against its 2026 save, registered before the run. The run ismainat7e7b69b7plus the probe (f13e3381), on the samples of 2025 and 2026 withprobe_pair_release=2026.rst_basicprintslevel_bind_elements 12 of <changed>: the 12 of the last run, 10 whoseLevelBindSourcechanges and 2 that lose their bind. Itslevel_bind_sourcelines add up to 12, and the other four pairs printlevel_bind_elements 0. Any other count means the probe and Element-level diff of two saves: what was added, removed or changed, keyed by GlobalId (#1829) #1843's diff key the elements differently, and that is fixed before the elements are read.levelslines list the same Level ids, names and elevations, with the same Building Story setting on each. If the 2026 save lists fewer Levels, or another setting, that is read first: a Level one save does not recover would explain a lost bind on its own.container,placement,levelsandothers(as sets) match andbaseandtopagree to 1e-6 ft;streamandoffsetdiffer between saves and are not compared.record=noneon one side: that save's record is not found, so the reading is wrong on that side until it is.I expect the 10 whose source changes to be the first kind, since a re-save by another release does not edit the model. I have no expectation for the 2 that lose their bind.
DrunkOnJava commentedon Nov 13, 2026
The rows, read on 43378465425 (
f13e3381, #1876): rows 1, 2 and 4 hold, row 3's expectation does not.rst_basicprintslevel_bind_elements 12 of 12 changed:partition_element_record_reference_list -> partition_element_record_base_constrainton 10,partition_element_record_base_constraint -> absenton 2. The other four pairs printlevel_bind_elements 0.levelslines are identical: the same 9 Levels (ids, names, elevations), each with Building Story off.Top of Parapet(196629, 19.6850 ft). Everything else the probe compares is equal on both sides: the box (19.5392 to 19.8309 ft),container,placement, and the other elements the list names (all 7 of each, in the same order).Level 2on 6,Foundationon 2,Ref Beam systemon 2) and two in 2026. The extra Level is above the beam's base, so RE-59's base constraint picks the Level the single reference gave:LevelElementIdis unchanged and only the source differs.Level 2withRef Beam system, and withFoundation) and three in 2026. A record naming three matches neither rule (exactly one, RE-27; exactly two, RE-59), so the 2026 save leaves them unbound:LevelBindResolvedandLevelElementIdgo.All 12 are one type of framing member, the
CHS 88.9x5.0tubes,IfcBeamon both saves, and the tubes' centreline (19.68505 ft) is the elevation ofTop of Parapet. The bytes show the 2026 record names that Level and do not show why: whether Autodesk re-hosted the tubes on it between the saves or Revit 2026 writes the reference for another reason. So the diff is right to list the 12, and the cause stays open.What this leaves is the 2 that lose their bind. A record naming three Levels is left unbound by design (a guess would be a plausible typed answer), and whether a rule for three is right depends on a record of that kind in a model with Revit's own export, which I do not know of. Rows for the count that would find one, over every model Measure holds, follow before it runs.
DrunkOnJava commentedon Nov 13, 2026
Rows for
probe_1842_levels_named(#1878), registered before the run: how many Levels each element record's reference list names, by category, over every model Measure holds. The run ismainat3b745d51plus the probe (caf3fd9b), counts only, withscorers=none. It serves #1842 as well: CHL's 104 on no storey may be records that name three or more Levels, or none.file revit=line per model (102 models, as the last unfiltered probe run), and on everylevels_namedlinen0 + n1 + n2 + n3plus = instances. A model with no output, or a sum that does not match, is a probe fault and is fixed before anything is read.rst_basichasStructural Framingwithn3plusof at least 2, and the pattern linesnamed=2 ... =1/1/0on at least 10 instances andnamed=3plus ... =2/1/0on at least 2: the third Level,Top of Parapet, lies within the tubes' box. The 2025 save hasnamed=2 ... =2/0/0on at least 2 and nonamed=3plusonStructural Framingfrom these 12.n3plus=0on every category of Core Interior, Snowdon Towers, the RE1 models and Einhoven, since RE-27 and RE-59 were measured on them and found one or two. I do not know it for the 2026 and 2027 held-out models, which have Revit's export too; the count is the first thing this run says about them.probe-binaries.yml, as this probe prints no name or id.research: probe_1864_level_binds names the elements that choose their…
DrunkOnJava commentedon Nov 13, 2026
The census rows, read on 43380176820 (
caf3fd9b, #1878): rows 1 and 2 hold, row 3 does not, and row 4 sends the question to a smaller set than I expected.file revit=line, andn0 + n1 + n2 + n3plus = instanceson everylevels_namedline (0 mismatches). The 19 held-out models,bimcollab-str-2015andracadv-2015to2020keep counts only in Measure and have no probe output, so this run says nothing about the held-out Revit 2026 and 2027 files.rst_basic2026 and 2027:Structural Framingn3plus=5(the 2025 save has 3),named=2 ... =1/1/0on 24 instances (14 in 2025),named=3plus ... =2/1/0on 2. The 2025 save hasnamed=2 ... =2/0/0on 2, which become those two. So the third Level,Top of Parapet, lies within the tubes' box in all 12, as Autodesk samples, 2025 against 2026 saves: 6 bodies, 1 profile and 12 level binds differ with no known cause #1864's reading said. The 2025 save already holds 3 records that name three Levels (2/0/1), unchanged in all four saves of 2024 to 2027.n3plus=0, as I expected. Snowdon Towers 2024 has 5: 2Structural Columns(1/1/1) in the structural sample and 3Stairs(1/2/0) in the architectural one. I had said RE-27 and RE-59 were measured on those files and found one or two; they found one or two on the records they scored, and these five name three.Stairs 0/3/020 (rac_advanced, 5 in each of 4 saves),Structural Framing 2/0/112 and2/1/04 (rst_basic),Mass 1/2/04,Walls 0/2/14 and1/0/24 (rac_basic),Stairs 1/2/03 andStructural Columns 1/1/12 (Snowdon Towers). None is in a model Measure scores against Revit's export (Core Interior, Einhoven, RE1, the BIM4LCA models and the r2025 set have none), so Measure cannot test a rule for them. The only Revit export that has such records is the local Snowdon Towers one, for 5 of them.What this settles for #1864: the 2 beams that lose their bind are one of 53 records in the corpus that match neither RE-27's rule nor RE-59's, and nothing Measure holds can say which Level Revit gives them. A rule for three Levels is not written: the generalisation of RE-59's (the highest named Level at or below the base, else the lowest) is the natural one, and 5 records of one local model are too few to call it measured. The records stay unbound and
LevelBindResolvedsays so.What it leaves for #1842: CHL's 104 on no storey may be records of this kind, which only a count on CHL can say. The probe prints counts only, so its reporter can run it.
research: probe_1842_levels_named counts the Levels each element reco…
DrunkOnJava commentedon Nov 13, 2026
#1915 (ready, in CI) settles the 12 level binds' Level: on the kept exports of the 2025, 2026 and 2027 saves of
rst_basic,LevelElementIdandLevelBindResolvedare equal on all 370 beams, and the 12 beams still differ only in the labelLevelBindSource(the same Level, bound by the unique name where the list names one Level and by the highest where it names two). What is left of this issue is its 7 bodies: 4 ofrac_advanced(one of them with a profile that only the 2025 save gives) and 2 ofrac_basic, whichrvt-diff --elementscounts and does not name.Rows for
probe_1864_body_diff, registered before the run is dispatched. The probe, on branchresearch/1864-body-diff, names the elements of two saves of one sample whose body or profile differs, prints each side's body as the export writes it (extrusion size and profile kind, solid kind, location, rotation) withBodySource,ProfileSource,ProfileVertexCount,ProfileVoidCountandProfileResolved, and prints each save's element record for them (box, container, placement kind, stream). It runs on the 2025 samples against their 2026 saves (probe_pair_release=2026),mainat d90c1fa plus the probe. No change to any export.body_diff_elementsis 4 of 4 onrac_advancedand 2 of 2 onrac_basic(the counts of the last run;mainhas moved, so any other number is read before the elements are), and 0 onrme_advanced,rme_basicandrst_basic.body_sideline says what the export wrote.body_sidelines say which side resolves a profile and which does not, and a second probe reads that data.4 remaining items
DrunkOnJava commentedon Nov 13, 2026
Rows for the diff's digest, registered before the run is dispatched. The element diff's
bodydigest took the extrusion even where the writer draws a solid instead, which is how four of the six roofs came to be listed. The digest now takes the mapped item, else the solid, else the extrusion, asstep_writerdraws them (src/ifc/element_diff.rs, branchresearch/1864-body-diffat the commit below). The sameprobe_1864_body_diffruns on the 2025 samples against their 2026 saves.rac_advancedlists 1 element (201262) andrac_basic1 (243274), the two Roofs by extrusion are solids only on Revit 2025: read them on 2024, 2026 and 2027, held to the 2025 save #1479 holds;rme_advancedandrme_basic0, andrst_basic0 of 12.partition_roof_slopeandpartition_roof_extrusionon the 2025 save, the saved mesh on the 2026 save): they are readings that differ, not a counting fault.rvt-diff --elementsand its probes only; the unfiltered Measure of the pull request shows every export byte-identical.DrunkOnJava commentedon Nov 13, 2026
The digest rows, read on 43462494387 (
probe_1864_body_diffat f61496f): rows 1 to 3 hold. The 2025 samples against their 2026 saves list 1 element onrac_advanced(201262) and 1 onrac_basic(243274), 0 onrme_advancedandrme_basic, and 0 of 12 onrst_basic. The four roofs that differed only in the undrawn extrusion (167036, 167158, 165755, 724430) are no longer listed, and the two left keep their sources of the first run:partition_roof_slope(134 sketch vertices) andpartition_roof_extrusionon the 2025 save, the saved mesh on the 2026 save. Row 4 (nothing is exported differently) is read on the unfiltered Measure of the pull request.What is left of this issue is #1479's: the reader of a sketch line's B-spline is listed for Revit 2025 only. I am holding the same two roofs to the 2025 save on the 2024, 2026 and 2027 saves, with the list widened on a branch; the rows are on #1479.
fix(elements): a roof by extrusion is read on Revit 2024, 2026 and 20…
DrunkOnJava commentedon Nov 13, 2026
#1931 (RE-458) is on
main, and #1479 is closed by it. What it does to this issue's 7 bodies:rac_basicroof 243274: fixed. Its 2024, 2026 and 2027 saves draw it from its sketch's section, the 2025 save's body (35.424 m3, where the 2026 and 2027 mesh was 34.974 m3). The same-project gates run 43482212285 reads "same 441, differ 0" on the 2026 and 2027 saves, with the list of roofs that may differ empty.rac_advancedbodies that differed in an undrawn extrusion: fixed by the element diff's digest, which now takes only the body the writer draws (it rode in fix(elements): a roof by extrusion is read on Revit 2024, 2026 and 2027 as on 2025, held to the same project's 2025 save, and the cross-save check's list of roofs that may differ is empty (#1479) (RE-458) #1931).rac_advancedroof 201262 (the body with the profile): explained, not changed. It ispartition_roof_slopeon 2025 and a saved mesh on 2026 and 2027, equal in volume to 0.1% (5.33205264 m3 against 5.33213143) and in box, so the diff lists a differentBodySourceand noProfileSource,ProfileVertexCountorProfileVoidCountfor the same shape. Lifting the 2026 and 2027 roof hold (RE-341) changed no body on any local file (RE-458 section 3), so the slope reader is gated by more than that function and the hold stays.What is left of "Done when": the element diff of the
rac_advancedpair still lists 201262's representation andrst_basic's pair its 12LevelBindSourcelabels, none of them a change in the model. Whether the diff should stop listing a provenance label and a representation that give the same shape is a design question for #1843's diff, not a reader defect; I am leaving this open for it rather than closing it as explained.fix(cli): rvt-diff --elements counts a change in the rule that read a…
DrunkOnJava commentedon Nov 14, 2026
Where this stands on
main(8529bb01):LevelBindSourcealone differs, or whoseBodySourcediffers over an equal body, underrelabelled, and its pair run (Measure 43544616792) moved the 12 there.rac_basicis fixed (fix(elements): a roof by extrusion is read on Revit 2024, 2026 and 2027 as on 2025, held to the same project's 2025 save, and the cross-save check's list of roofs that may differ is empty (#1479) (RE-458) #1931), and the fourrac_advancedroofs that differed only in an extrusion the writer does not draw are gone from the list (the digest, also fix(elements): a roof by extrusion is read on Revit 2024, 2026 and 2027 as on 2025, held to the same project's 2025 save, and the cross-save check's list of roofs that may differ is empty (#1479) (RE-458) #1931).rac_advancedis the one element the diff still lists. It is the same shape both ways, to 0.1% in volume and equal in box, so it is a reading that differs by release and not a change in the model. The gate ispartition_roof_slopes::ROOF_SLOPE_SUPPORTED_REVIT_VERSIONS = [2024, 2025]. The edge-slope reader does not run on 2026 or 2027, so those saves fall back to Revit's saved mesh. RE-341 drew that line on purpose: a 2026 or 2027 save would take the 2024 reading of the slope, and no Revit export of a 2026 or 2027 roof scores either.Widening the list would make the diff quiet by drawing the 2026 roof from its sketch. That puts an unscored reading where Revit's own mesh is written today, so it is not the fix. The question is the one #1856 asks of stair runs: where rvt-rs can draw an element from its sketch and Revit also saved its mesh, which body the export writes. Its count (240 sketch-drawn runs, all with a saved mesh, the sketch 1% to 3% larger on 44 whole scenes) is the evidence to choose from. This issue's last element closes with that choice, and I am leaving it open on #1856 rather than widening a reader here.