Skip to content

Eight rules write values on Revit releases their reports never measured (batch 9 export audit) #1945

Closed

Description

@DrunkOnJava

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_steps decodes only 2024's 8-byte ElementId (native_json::element_id_i64, RE-282), so the maps stay empty on those releases.
  • PredefinedType left 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.

Activity

  1. DrunkOnJava commented on Nov 13, 2026

    @DrunkOnJava
    OwnerAuthor

    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 (main at f8e20536): Autodesk's 54 sample saves of 2015 to 2027 and the five Snowdon Towers files, each held to the same project's 2024 save by Tag (rst_advanced has no 2024 save).

    The rule I applied is the one NEW_RULE_REVIT_VERSIONS records (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.

    # Rule Decision Why
    1 Hollow-section column quantities Gated to 2024 Measured on the BIM4LCA office only; none of the 54 Autodesk saves holds a hollow-section column (Snowdon structural 2024 holds 1, with no Revit export).
    2 Embedding wall from its saved mesh Written as 2024 to 2027 The records of 2023 name no embed step (RE-340), so the scope's 2023 found nothing.
    3 Beam at its box's top (RE-119) Kept, measurement named 41 of 41 beams (rst_basic 2016) and 27 of 27 (each of 2017 to 2023) have the 2024 save's storey. rst_basic 2015 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.
    4 Pipe from its own record (RE-370) Kept, measurement named 2023 added: 491 of 491 pipes equal to 2024's (name, type, base quantities), as 2019 (491), 2025 to 2027 and 2015 (488 of 491, the 3 are RE-370's edited pipe). 2016, 2017 and 2020 to 2022 have no file with a pipe in any corpus.
    5 Door origin from its transform (RE-361) Kept, measurement named 2025 to 2027: 17 of 17 (rac_advanced), 5 of 5 (rac_basic), 17 of 17 (each rme) 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).
    6 Shaft cut Limited to sketch outlines Already 2024 only; plan_profile_from_fields also takes a landing's outline, which no shaft was measured to cut.
    7 Railing type from its payload (RE-66) Kept, measurement named 2025 to 2027: 22 of 22, 10 of 10, 14 of 14 and 14 of 14 railings have the 2024 save's name, type and Type Id.
    8 Wall sweep and ramp type from their record (RE-240) Gated to 2024 The 8 sweeps of rac_advanced get 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.

  2. DrunkOnJava commented on Nov 14, 2026

    @DrunkOnJava
    OwnerAuthor

    Done in #1956 (squash 2c4200cd on main), 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, 334c3a1b against 6ad5efa9): 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions