Skip to content

ci(evidence): keep-run-outputs keeps a run's probe outputs as refs/evidence/<run>-probes, beside its first kept commit (#2124) - #2143

Merged
DrunkOnJava merged 1 commit into
mainfrom
ci/2124-keep-probe-outputs
Nov 22, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
ci/2124-keep-probe-outputs

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

Keep run outputs gains a part input. part: probes keeps only a Measure run's probe outputs, which the first keeping leaves out, as refs/evidence/<run id>-probes, beside the run's kept commit. The kept commit, which citations already link to, never moves.

  • Why: three runs' figures are printed only by a probe (The evidence pages cite 56 Actions runs whose outputs GitHub deletes after 90 days, the first on 2027-01-23 #2124's comment):
    • the 923 of 942 Snowdon Towers sample beams (run 41787230413);
    • RE-350's 346 rebar on rst_basic, and its beam-system and furniture-system counts (run 42108271073);
    • RE-350's 14 rebar on Snowdon Towers Structural (run 42097940515).
  • What it keeps: the probes' own output (probe.txt, probe-<probe>.txt, probe-pair*.txt) and commit.txt. They come from the same folders as before, the held-out, rac_advanced and BIMcollab models' left out, under the same PII and folder-name scans, and only from measure-head and measure-base.
  • What does not change: part: outputs, the default, does exactly what it did.
  • Size: probe output was left out for its size and its coordinates. Packed one at a time, the three runs' probe outputs come to 5.19 KiB, 826.84 KiB and 1.46 MiB, about 2.3 MiB, against 3.52 MiB for the 51 runs kept so far. They are on public models only, and a clone does not fetch them.

Motivation

#2124. A citation should still lead to its figure after GitHub deletes the run's artifacts, which for these three runs happens from 2027-02-02.

Changes

  • tools/ci/keep-run-outputs.py: --part outputs|probes.
  • .github/workflows/keep-run-outputs.yml: the part input, the ref it writes and the artifacts it reads.

Testing

Unit tests are banned in this repository: do not add them.

End to end, on the three runs' real artifacts:

  • --part probes on run 41787230413: 33 files for 16 models, holding the beam probe's beams 942 and along_line 923. The scans pass.
  • --part probes on run 42108271073: 22 files for 21 models, holding Structural_Rebar 346. The scans pass.
  • --part outputs on run 41787230413: 60 files, each the same blob as that run's existing refs/evidence/41787230413 commit, KEPT.md included.
  • --part probes on run 42097940515: 73 files for 72 models, holding Structural_Rebar 14 for Snowdon Towers Structural. Its held-out, rac_advanced and BIMcollab folders are left out, and the scans pass.
  • The workflow, dispatched from this branch:
    • part: probes on the three runs (Keep run outputs 45004685550, 45004816306 and 45004823497) wrote refs/evidence/41787230413-probes, refs/evidence/42108271073-probes and refs/evidence/42097940515-probes;
    • the first holds 34 files, each the same blob as the local run, with no parent, and its KEPT.md and beams 942 open logged out;
    • part: outputs on run 41787230413 (45004695754) refused: "refs/evidence/41787230413 exists".
  • The index: the three commits go into research/kept-runs.tsv, and the citations link to them, in the next documentation batch.

Audit-honesty checklist

  • No figure moves: this keeps files, and links nothing yet.
  • No changelog fragment: repository tooling.
  • No emojis, private paths or internal jargon.

Legal and contribution hygiene

  • Apache-2.0.
  • No Autodesk proprietary content: probe outputs are counts and measurements of the files, as the kept scorer outputs are.
  • No fixtures.

Breaking changes

None.

Review: rvtReview, the maintainer session, wrote this change. As rvtDevelop is not running, it re-reads the diff and approves the change itself on a green head (Griffin, 2026-11-12).

…idence/<run>-probes, beside its first kept commit, which never moves (#2124)
@DrunkOnJava
DrunkOnJava merged commit 6adaf26 into main Nov 22, 2026
42 of 43 checks passed
@DrunkOnJava
DrunkOnJava deleted the ci/2124-keep-probe-outputs branch November 22, 2026 09:10
DrunkOnJava added a commit that referenced this pull request Nov 22, 2026
…counts hold link to the commits kept beside their runs (#2124) (#2146)

## Summary

The citations whose figure only a probe prints, or only a held-out
model's summary counts hold, now link to the commits kept beside their
runs (#2143, #2145). `research/kept-runs.tsv` lists those 11 commits.

- **Probe output (3 runs):**
  - the supported profile's 923 of 942 Snowdon Towers sample beams;
- the status page's RE-350 figures: Snowdon Towers Structural's 14
rebar, `rst_basic`'s rebar and beam systems, `rac_advanced`'s beam
system and `rac_basic`'s furniture systems.
- **Held-out counts (8 runs):**
- the reference models' Vitoria rows now link `ALD26 Project`'s counts
beside `ALD26 Before`'s files;
  - BIM Whale's three Area counts;
  - the status page's AA house walls, before and after;
  - the space kinds over 117 models and samples.
- **Still without a source:**
- the space kinds' six `rac_advanced` pairs, whose folders no kept
commit holds, and the page now says so;
  - 1,534 and 1,433, which no held-out file prints;
- Frigento, Gdynia and Warmond exporting "byte for byte as before" (runs
41707934595 and 41741114199), which rests on the held-out folders'
`ifc.sha256`, left out of the held-out part on purpose.
- **The index:** each new row is named `<run>-probes` or
`<run>-holdout`, and its header says what such a row is.

Part of #2124.

## Motivation

#2124. A citation should still lead to its figure after GitHub deletes
the run's artifacts.

## Changes

- `research/kept-runs.tsv`: 11 rows and two header lines.
- `docs/status.md`: 4 citations, 8 link definitions.
- `docs/reference-models.md`: 6 citations.
- `docs/supported-profile.md`: 1 citation.

## Testing

Unit tests are banned in this repository: do not add them.

- [x] **Each figure was found in its kept file before its link was
added:**
  - `beams 942` and `along_line 923`;
- `Structural_Rebar 14` on Snowdon Towers Structural, and on the 2023
saves `Structural_Rebar 346`, `Structural_Beam_Systems` 16 and 15 on
`rst_basic` and 1 on `rac_advanced`, and `Furniture_Systems` 3;
- the Vitoria saves' 1,394 and 1,520, `ALD26 Project`'s 1,336 and 1,514;
- BIM Whale's 1,714, its 8 spaces and the 2 extra spaces of run
41757734285;
  - the AA house's 43 and 56 of 59 walls.
- [x] **The space kinds:** the public models' files and the held-out
counts add up to 3,757 spaces over 111 models, against the page's 4,453
over 117. The 6 models left are the `rac_advanced` pairs, which is why
the page says their counts are not kept.
- [x] All 16 new URLs return 200 logged out.
- [x] `tools/ci/measured_numbers.py` and every step of the PII guard job
pass locally, 29 of 29.

## Audit-honesty checklist

- [x] A figure no kept file holds is not linked, and is named above.
- [x] No changelog fragment: documentation links.
- [x] No emojis, private paths or internal jargon.

## Legal and contribution hygiene

- [x] Apache-2.0.
- [x] No Autodesk proprietary content.
- [x] No fixtures.

## Breaking changes

None.

Review: rvtReview, the maintainer session, wrote this change. As
rvtDevelop is not running, it re-reads the diff and approves the change
itself on a green head (Griffin, 2026-11-12).
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