Repository navigation
docs(re): the wall-end rule's unexercised paths are stated, with what each export reaches (#1418) (RE-337) - #1579
Merged
Conversation
… each export reaches (#1418) (RE-337) RE-337 section 6 reads the paths #1418 named against the code RE-348 left and measures them on the 111 exports of Measure run 42567326561 (main at 83417fd). - A joined wall drawn as a solid is counted as joined_wall_not_read. The list's order decides whether it lands in wall_end_refusals or in wall_end_reads_unmarked. - A wall in the way that the rule does not read is still not found. - base_cut_lost_on_extended_plan and finish_wall_ends are reachable and have no instance: all 8 walls whose end is drawn have their base cut. docs/export-diagnostics.md now lists every case joined_wall_not_read covers, and says the decisions log leaves out the unmarked reads.
DrunkOnJava
marked this pull request as ready for review
November 9, 2026 07:04
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
RE-337 gains a dated section 6 for the paths it listed as not measured. The section reads each path against the wall-end code RE-348 (#1410) left, and measures each on all 111 exports of Measure run 42567326561 (base side,
mainat83417fde).docs/export-diagnostics.mdnow lists every casejoined_wall_not_readcovers, and says the decisions log leaves out the unmarked reads. Docs only: no code or output changes.Motivation
#1418 asked for two things:
wall_beneath_is_a_solid, inexported.wall_end_refusalsand the decisions log;RE-348 rewrote the rule after the issue was filed. The end now follows the walls the record joins at that end, in the record's order, rather than one wall beneath. Where each part of the issue stands on
main:followed_wallreads a joined wall only as its plan's prism or as RE-320's stepped body.joined_wall_not_read. That covers four cases: a wall drawn as another kind of solid, a wall whose base join names elements, an ElementId that more than one entity holds, and an element not exported as a wall.exported.wall_end_refusals, with a decisions-log entry, only where a joined wall read earlier showed the end short of its face. Otherwise it is counted inexported.wall_end_reads_unmarked, which the decisions log does not hold. That is RE-348's marker policy: a wall carries a refusal only where the record shows its end is wrong.wall_beneath_is_a_solid. It would be a new reason that no export produces, and the rule now reads joined walls, not a wall beneath.in_the_waysearches only the walls the rule reads. A wall of any of the four cases above, standing in a strip but not joined there, is not found, and the strip would be drawn through it.wall_stands_in_the_added_endrow ofdocs/export-diagnostics.md.walls_beneath_reach_the_end_at_different_facesis gone. RE-348 counts order-dependent ends instead of refusing them.base_cut_lost_on_extended_planandfinish_wall_endsare reachable and unexercised.base_cut_lost_on_extended_planfires when the cut of the base resolves on the record's plan but not on the longer one. For example, the strips reach a second element that covers part of the plan.finish_wall_endsruns on a drawn end with a strip below the top and no base join.Measured
Base side of 42567326561: 93 openly licensed exports and 18 held-out (counts only).
WALL_END_JOIN_REVIT_VERSIONS)joined_wall_not_readorbase_cut_lost_on_extended_planThe 8 walls whose end is drawn (4 on each office file) all also carry
BodyBaseSource, sofinish_wall_endsmade no body on any export. Since83417fde,mainhas changedsrc/only through #1578, which works on Revit 2015 to 2023 walls, so the end rule (Revit 2024 only) is unaffected.Why no synthetic fixture
The pass runs inside
append_typed_production_elements. Its inputs come from a Revit 2024 file's element records and native wall records: the profile openings fromGLines, the join trims, and theJoinEndGSteplists.gen-fixturewrites no element records; its files decode as a scaffold. The pass is also private to the exporter. Driving it on constructed entities would be a unit test of a geometry transform, checked against the code itself rather than against a Revit export, and CONTRIBUTING.md does not accept those. So the three paths stay stated as unmeasured until a Revit 2024 model reaches them.Changes
reports/element-framing/RE-337-wall-ends-at-the-base-wall.md: section 6, with the counts, the reasoning above and reproduce commands; the "Superseded in part" line points to it. Sections 1 to 5 are unchanged.docs/export-diagnostics.md: theexported.wall_end_refusalsrow now lists every casejoined_wall_not_readcovers, says which wallswall_stands_in_the_added_endcannot see, and gives the 111-export count. Theexported.wall_end_reads_unmarkedrow says the decisions log leaves these reads out.changelog.d/research/1418-wall-end-unmeasured-paths.md.Testing
Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead.
tools/check-local.shpasses: N/A, docs only.python3 tools/release/changelog.py checkandpython3 tools/ci/api-doc-ids.pypass.wall_rules.txt,info.jsonand keptmodel.ifc. RE-337 section 6 gives the dispatch command.Audit-honesty checklist
changelog.d/<section>/Legal and contribution hygiene
Breaking changes
None.
Screenshots or output samples
N/A: no output changes.
Related issues
Refs #1418. For the three paths no model reaches, this PR meets the done-when's last sentence: each is stated as unmeasured in RE-337, with the measurement behind that. The named reason
wall_beneath_is_a_solidis not added (see Motivation), so the PR does not close the issue.