Repository navigation
part_weight_ratio: per-part actual/weight reader for the restored durations (Part of #5162) - #7184
Merged
Merged
Conversation
…ations (Part of #5162) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
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 #5162 (durations weight, slice 3): a reader for the data slice 2 (#7175) started uploading, so the retune-or-stop decision is one command once there are runs.
Checklist: partial [c:5c334ba2] -- no weight change yet: the
restored-durations-part-N.jsonartifacts exist on no push run (slice 2 merged 2026-10-30 18:44 UTC). After 5+ push runs, runpart_weight_ratio.pyand retunecalibrate_test_durations.pyonly if a part's ratio is stable.Class / Sibling gaps
Class: the balance weight for a full-suite part does not predict its wall time (cache recorded under
-n autocontention). Members: (1) recording calibrated to wall x JOBS: handled (#5133 slice 2,calibrate_test_durations.py); (2) cache stored and restored: handled (#5133 slices 4, 8); (3) diagnosing composition vs runner noise: artifacts handled (#7175), reader handled HERE (part_weight_ratio.py); (4) retuning the weights: missing, blocked on data (needs 5+ push runs carrying the artifact; a stable per-part ratio means retune, a flipping one means stop). Sibling gaps: member 4, a different mechanism (a calibration change incalibrate_test_durations.py), not done here because one run of data would fit noise (19-run balance 1.03-1.73, median 1.18, in docs/ci.md).Facts checked
git log origin/main --grep=5162: smoke-test: upload each part's restored durations beside its times (Part of #5162) #7175 (artifact upload) and docs/ci: re-measure the wall-calibrated durations weight on 19 push runs (Part of #5162) #7167 (19-run re-measure) are merged; no PR open for this.calibrate_test_durations.seconds_offor both file shapes (pytest-split's andGITGALAXY_TEST_TIMES's).Gates
pr_gates.py --fast9/9 pass (ruff 0.17.1 pinned).tests/tools/test_part_weight_ratio.py4 pass;test_ci_critical_path_split,test_change_classifier,test_source_reads50 pass.--ratchetsnot run (no engine, golden, or ledger input changed).Remaining slices: after 5+ push runs, read the ratios and retune (see Checklist).
Hand-written files: 3 (
tests/tools/part_weight_ratio.py, its test,docs/ci.md).🤖 Generated with Claude Code