Skip to content

docs(re): save_pair_wall_quantities.py says it names walls by Tag, so it runs on redistributable models only (#1535) - #1580

Merged
DrunkOnJava merged 1 commit into
mainfrom
docs/1535-save-pair-custody
Nov 9, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
docs/1535-save-pair-custody

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

tools/re/save_pair_wall_quantities.py (added in #1578) prints wall Tags in its different: and unchecked: lines. Its docstring now says it runs on redistributable models only, never on a held-out model, and that it is not wired into Measure's held-out run. Docstring only.

Motivation

This follows a non-blocking note from the review of #1578. A held-out model's ElementIds stay out of public text, and the held-out scrub (tools/ci/scrub-holdout-results.sh) keeps count lines only. The scorer is safe today because nothing runs it on held-out files. The docstring now states that rule next to the code that would break it.

Changes

  • tools/re/save_pair_wall_quantities.py: one paragraph in the module docstring.

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.sh passes: N/A, docstring only. The file parses (ast.parse), and its usage text, which is printed from the docstring's Usage: part, is unchanged.
  • Verified end to end on real Revit files: N/A, no behaviour change
  • If this touches the IFC exporter: N/A
  • If this is a performance change: N/A

Audit-honesty checklist

  • README / docs reflect the current state after this PR
  • A user-visible change has its entry as a fragment: N/A, an internal tool's docstring
  • If a limitation was resolved: N/A
  • If a new limitation was introduced: N/A
  • Commit messages describe WHAT changed and WHY
  • No emojis in code, docs, or commit messages
  • No private paths, personal email addresses, or internal jargon in committed files
  • If this is a reverse-engineering finding: N/A

Legal and contribution hygiene

  • I agree this work is licensable under Apache-2.0
  • This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content
  • Any new test fixtures use synthetic values: N/A

Breaking changes

None.

Screenshots or output samples

N/A.

Related issues

Refs #1535 (follows #1578).

… it runs on redistributable models only (#1535)

Its different: and unchecked: lines print each wall's Tag (its ElementId).
Held-out models' ElementIds stay out of public text, and the scorer is not
wired into Measure's held-out run, whose scrub keeps count lines only. The
docstring now says so, which makes the custody rule explicit next to the
code that would break it.
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 9, 2026 06:59
@DrunkOnJava
DrunkOnJava merged commit 69a2eb9 into main Nov 9, 2026
63 checks passed
@DrunkOnJava
DrunkOnJava deleted the docs/1535-save-pair-custody branch November 9, 2026 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant