Skip to content

docs(re): RE-396 and the criteria page carry the Measure of the rebased code, against main after the wall quantities landed (#1046) (RE-396) - #1638

Merged
DrunkOnJava merged 1 commit into
mainfrom
docs/re-396-measure-numbers
Nov 10, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
docs/re-396-measure-numbers

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

RE-396's report and the 1.0 criteria's RE-396 sentence quoted the Measure made before #1637 was rebased onto #1629, which had landed the wall quantities in between. They now carry the Measure of the rebased code (run 42864169952, 376035fb against main at a8a126fb): the office's equal quantities go 32,924 to 33,181 of 39,754 as built and 33,243 to 33,509 of 40,006 at permit, Qto_PlateBaseQuantities.Width 0 to 257 of 257 and 0 to 266 of 266. Different (1), the quantities written that Revit's export does not (0) and the 22 exports that move are as the earlier run read.

Motivation

#1637 merged with the earlier numbers in place because its rebased Measure was still running; this makes the pages and the report say what the merged code measured.

Changes

  • reports/element-framing/RE-396-plate-width.md, docs/release-1.0-criteria.md: the run, the commits and the equal counts.

Testing

Documentation only; tools/ci/measured_numbers.py and tools/ci/api-doc-ids.py pass.

  • full / CI passed on the final head
  • No output changes: no src/ file moves.

Audit-honesty checklist

  • README / docs reflect the current state after this PR: the report and the criteria page.
  • A user-visible change has its entry as a fragment: none (documentation only).
  • If a limitation was resolved, the docs are updated: n/a.
  • If a new limitation was introduced, it is documented: none.
  • 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
  • Reverse-engineering finding: the report RE-396 (existing).

Legal and contribution hygiene

  • I agree this work is licensable under Apache-2.0 (see CONTRIBUTING.md)
  • This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content (see CLEANROOM.md). Documentation of numbers measured in an earlier PR; no new source material.
  • No new test fixtures

Breaking changes

None.

Related issues

Refs #1046 (W7), RE-396, #1637.

…ed code, against main after the wall quantities landed (#1046) (RE-396)

The plate Width report and the 1.0 criteria's RE-396 sentence quoted the Measure made before the branch was rebased onto #1629 (equal 31,904 to 32,161 as built). The Measure of the rebased code (run 42864169952, 376035f against a8a126f) reads 32,924 to 33,181 of 39,754 as built and 33,243 to 33,509 of 40,006 at permit; different, the quantities written that Revit does not and the 22 moved exports are as before.
@DrunkOnJava
DrunkOnJava merged commit f7c0118 into main Nov 10, 2026
24 checks passed
@DrunkOnJava
DrunkOnJava deleted the docs/re-396-measure-numbers branch November 10, 2026 18:10
DrunkOnJava added a commit that referenced this pull request Nov 10, 2026
… request has (#1639)

## Summary

A new CI step in the PII guard job, `tools/ci/check_re_id_reuse.py`,
fails a pull request that adds a report (`reports/**/RE-NN-*.md`) whose
id another report of the merged tree already has, or that an earlier
open pull request (a lower number) also adds. The later pull request
fails, as `docs/maintaining.md` already says it is renumbered. Griffin
asked for it through the project questions on 2026-11-10.

## Motivation

On 2026-11-10 two pull requests carried an RE-392 before either was
opened, and a contributor's pull request took an id another was about to
use: renumbering after both land means rewriting the code, probes and
changelog entries that cite it. The rule existed on paper
(`reports/README.md`, `docs/maintaining.md`); nothing enforced it.

## Changes

- `tools/ci/check_re_id_reuse.py`: reads the reports a pull request adds
from the API's file list (a report it only edits or renames is not new),
looks for another path with the id in the checked-out tree (the merge of
the pull request into `main`, so that is `main`'s, or the pull request's
own second file), and for an earlier open pull request adding the same
id. API failures are NOT MEASURED warnings, as `cited-commits.py` does,
never red. A push checks nothing.
- `.github/workflows/ci.yml`: the step, after the API docs step, with
`GH_TOKEN`, and a step for the pure tests.
- `tools/ci/test_check_re_id_reuse.py`: ten failure-first cases of the
pure rule (an id on main at another path, two new reports under one id,
an earlier open pull request, a fresh id, the pull request's own file,
`RE-12.md`, `RE-3` against `RE-30`, non-report paths, a subdirectory, no
new report).
- `docs/maintaining.md`, `reports/README.md`: say that CI enforces it.

## Testing

End to end against the real API and a real checkout, from a scratch
worktree of `main` (the pure rule also has the failure-first tests this
repository keeps for its CI scripts,
`tools/ci/test_check_re_id_reuse.py`, run in the PII guard job: a pure
helper, ten cases):

- [x] PR #1620 (adds RE-385, no earlier open pull request): passes, "the
1 new report(s) of #1620 take ids that main and the earlier open pull
requests do not have".
- [x] The same with a tracked `reports/element-framing/RE-385-other.md`
added to the tree: `::error::RE-385 is already the id of
reports/element-framing/RE-385-other.md on main: take the next free id`,
exit 1.
- [x] A pull request numbered 1639 whose files are stubbed to add
`RE-385-dup.md`, against the real open pull requests: `::error::RE-385
is also added by #1620, opened first (...)`, exit 1.
- [x] A push event: "not a pull request, nothing to check", exit 0. A
pull request that adds no report (#1638): "adds no report", exit 0.
- [x] The pure rule (`reused`) tried against nine cases: an id on main
at another path, two new reports under one id, an earlier open pull
request, a fresh id, the pull request's own file in the merge tree, a
`RE-12.md` name, non-report paths, `RE-3` against `RE-30`, a
subdirectory report. All as expected.
- [x] `actionlint` and a YAML load of `ci.yml` pass; the new file has
the mode of its neighbours.

## Audit-honesty checklist

- [x] No user-visible change: no changelog fragment.
- Limits: a pull request that adds a report with an id main does not
have and that no other open pull request has passes even if a draft
claim exists elsewhere (a claims file is not read); a closed-unmerged
pull request's id is free; only the first 100 open pull requests and 300
files per pull request are read.

## Breaking changes

None.

## Related issues

Griffin's 2026-11-10 project questions; follows the RE-392 collision
(#1632, #1637).
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