Repository navigation
ground-truth: a part with no warm job scans only the corpora its pytest share reads (Part of #5543) - #6579
Merged
Conversation
…st share reads (Part of #5543) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
1 similar comment
Contributor
|
No description provided. |
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.
Part of #5543 (option (b)): in the busy layout a part scans only the corpora its pytest share reads.
What changed (4 hand-written files)
tests/tools/ground_truth_corpora.py(new, stdlib):READERSmaps the 3 tests that read a scan DB (test_completeness,test_refraction_differentialfull-corpus, zecs lineage) to their corpora;corpora_for(node_ids); a missing/empty/unplaceable list means every corpus..github/workflows/mainframe-ground-truth.yml(part job only): acontinue-on-errorcollect step (--splits/--group, groups other than 1) and the scan step now takes its list from the script; part 1 (ledger gate) passes--all. Calm layout, warm job, cache keys, aggregate unchanged.tests/tools/test_ground_truth_corpora.py(new): per-corpus, fixed, union, no-reader, fallback, CLI, a freshness test (every module callingmc.scan/scoreis inREADERS), and a workflow tripwire.docs/ci.md: one sentence in the layout paragraph.Class / Sibling gaps
Class: busy/no-cache parts warming scans their share never reads; all 3 scan-reading test modules handled. Gaps: (1) part 1 still scans all 8 corpora because the ledger gate scores every corpus (all have answer keys), so this saves runner-minutes in the other parts, not wall time; fixing that needs a split that weights the gate part (different mechanism, no burned-estate program needs it). (2) CICS Crucible / Graph Accuracy adoption stays a separate issue.
Checklist: partial [c:9e7607fe] -- scans are narrowed for non-gate parts; wall time is bound by part 1's gate scans
Cost (ci-workflows rule 5)
No new job or runner request. The collect step adds ~7 s (measured locally, 7978 tests) to non-gate parts that scan and saves the scans of corpora no test there reads (up to ~2.4-3.2 min cold in the busy layout). Runs only in the busy layout or after a lost cache. Not measured on CI yet: the busy layout only occurs on queued days.
Gates
pr_gates.py --fast7/7; 184 tests pass (new file, critical-path split, scan-key workflow, source reads, generated branch, sweep plan).--ratchetsnot run: no engine/golden/ledger input. Not run: pytest-split collection locally (plugin absent in the venv; the step is the workflow's, tripwire-tested).🤖 Generated with Claude Code