Repository navigation
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
Conversation
…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.
7 tasks done
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).
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-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,
376035fbagainstmainata8a126fb): 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.Width0 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.pyandtools/ci/api-doc-ids.pypass.full / CI passedon the final headsrc/file moves.Audit-honesty checklist
Legal and contribution hygiene
CONTRIBUTING.md)CLEANROOM.md). Documentation of numbers measured in an earlier PR; no new source material.Breaking changes
None.
Related issues
Refs #1046 (W7), RE-396, #1637.