Repository navigation
Closed
Description
Eight rules write values on Revit releases their own reports never measured. Each lead came from batch 9 (an export audit): a DeepSeek checker found it, a second checker confirmed it, and Claude re-read it against the code. The standing rule is that a rule is gated to the releases it was measured on (*_REVIT_VERSIONS). For each, decide whether to gate it, or to name the measurement that covers the wider range.
| # | Rule | Where | Measured on | Runs on |
|---|---|---|---|---|
| 1 | A hollow-section column's Qto_ColumnBaseQuantities.NetVolume from the section's rectangles |
src/ifc/export_content.rs:3404 |
Revit 2024, the BIM4LCA office (RE-247 §8) | every release that draws the section |
| 2 | A wall that embeds a curtain wall drawn from its saved mesh where Revit raised its base (EMBED_RAISE_MIN_FEET) |
src/ifc/saved_meshes.rs:45, default scope 2023..=2027 |
2024 to 2027 (RE-340: "the walls' native records give no embed step" on 2023) | 2023 too, wherever 2023's records do name the step |
| 3 | A beam bound to the Level at its record box's top | src/research/partition_schema_mvp/levels.rs:453 |
Revit 2023 (RE-119) | 2008 to 2023 (the 32-bit branch; #1930 documents it, but nothing gates it) |
| 4 | A pipe's type, centreline and radius from its RbsPipeCurve record |
src/research/partition_schema_mvp/mep.rs:1024 |
2015, 2019 and 2024 to 2027 (fields.rs:814-816, RE-370 §4) | 2015 to 2027, so 2016 to 2018 and 2020 to 2023 too |
| 5 | A door's placement origin from its stored transform | src/research/partition_schema_mvp/placement_origins.rs:37, no gate |
2024 and 2025 (RE-361 §5) | every release the 64-bit pipeline reads, so 2026 and 2027 too |
| 6 | A shaft's outline cut from the elements its height passes through | src/research/partition_schema_mvp/slabs.rs:768 |
floors, roofs and ceilings (RE-99) | every element the pass meets (check which classes reach it) |
| 7 | A railing's type from its BaseRailing payload and the StairsRailingAttr objects |
src/research/partition_schema_mvp/types.rs:255, no upper bound |
2024 (RE-66) and 2025 (B45's RE1 railing) | 2026 and 2027 too |
| 8 | A wall sweep's or ramp's type from its own record (m_typeId, m_rampAttrId) |
src/research/partition_schema_mvp/types.rs:582, no release argument |
RE-240's files | 2024 to 2027 |
Left out of this list, because the second checker refuted them or Claude's read did:
- The 2015 to 2023 wall top and base cutters (
walls.rs:1207,:1223).named_by_stepsdecodes only 2024's 8-byte ElementId (native_json::element_id_i64, RE-282), so the maps stay empty on those releases. PredefinedTypeleft unset from 2026 (step_writer.rs:3334).- The wall-cut-opening gate (
wall_cut_openings.rs:185). - The Empty System Panel drop (
curtain.rs:242).
Each change moves exports only on the releases it gates out, so the decision needs one Measure with samples=true per rule that is gated.
Metadata
Metadata
Assignees
Labels
No labels
Activity
DrunkOnJava commentedon Nov 13, 2026
Decisions for the eight rules, with their evidence (report RE-461, change in draft PR #1956, tool
tools/re/release_rules_across_saves.py). The counts are from the kept exports of Measure run 43456034222 (mainatf8e20536): Autodesk's 54 sample saves of 2015 to 2027 and the five Snowdon Towers files, each held to the same project's 2024 save byTag(rst_advancedhas no 2024 save).The rule I applied is the one
NEW_RULE_REVIT_VERSIONSrecords (RE-353): a release's reader is a decision, so a later release is not taken until a file of it is measured. Where a file can exercise a rule on a release, I held it to the 2024 save and named that; where none can, it is narrowed, since narrowing is output-neutral where nothing exercises the rule and fails closed for a user's file.rst_basic2016) and 27 of 27 (each of 2017 to 2023) have the 2024 save's storey.rst_basic2015 shares no ElementId with the later saves (131 beams bound, unpaired) and 2008 to 2014 have no sample: stated in the doc comment, not gated, since the alternative is another unmeasured binding.rac_advanced), 5 of 5 (rac_basic), 17 of 17 (eachrme) doors that fill no opening have the 2024 save's origin to 3 mm. Before 2024 the rule reads no transform (the element-data header is measured from 2024).plan_profile_from_fieldsalso takes a landing's outline, which no shaft was measured to cut.Type Id.rac_advancedget no type on any release and no file of 2025 to 2027 is measured with a sweep or ramp.Draft PR #1956 carries the four narrowings; its unfiltered Measure is 43525326226 and should show no export moving on any of the 146. One thing outside the eight, from the same comparison:
rac_advanced's 8 wall sweeps are named by their ElementId on 2024 and by class and ElementId on 2025 to 2027.fix(ifc): one material rule for the schedule and the CSV, counts afte…
docs(research): RE-461's status entry and its Measure: 146 exports an…
fix(ifc): a hollow-section column's quantities and a wall sweep's and…
DrunkOnJava commentedon Nov 14, 2026
Done in #1956 (squash
2c4200cdonmain), as decided above. Rules 1, 2, 6 and 8 are gated: the hollow-section column quantities and the wall sweep's and ramp's type from its own record on Revit 2024 only, the embedding wall from its saved mesh on 2024 to 2027, and the shaft's cut on outlines drawn from sketch lines. Rules 3, 4, 5 and 7 keep their range with the measurement that holds them named in their doc comments and in RE-461.The Measure of the change, with every switch on and the held-out and spent models included (run 43525326226,
334c3a1bagainst6ad5efa9): 146 of 146 exports and 121 of 121 diagnostics equal, and the same-project gates pass. No file of the corpora holds a case of the four rules that stop, which is what "narrowing is output-neutral" meant here; a file of 2025 to 2027 with a hollow-section column or a typed wall sweep is the way to measure those two rules on those releases.