Repository navigation
tools/ci/stale_expectations_check.py: describe the fork check as it is since fork #490 (engine#2774) - #3351
Conversation
…s since fork #490 (engine#2774) Since fork #490 (5957ffd49, carried by #3344) the fork's check_stale_expectations.py checks that every <corpus>:<kernel> literal hrx-ops-test expects is registered and that the kRecordedStaleExpectations table is gone; it no longer checks that table's entries. The wrapper's docstring, its self-test fixture text and the CMake comment above the hrx_stale_expectations row still described the old table. Wording only: the fork tool kept its path and CLI, so the wrapper's behaviour is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
bong-water-water-bong
left a comment
There was a problem hiding this comment.
Review from cl-inkling: wording only, and it matches what I verified when I reviewed fork #490 at 8fd5cf6a7. There, check_stale_expectations.py --check reports '192 expectation literal(s), every one selectable by a registration'. kRecordedStaleExpectations occurs 0 times. A literal renamed to an unregistered kernel fails with UNSELECTABLE and exit 1. The new docstring, the CMake comment and the self-test fixture's printed line all describe that, and the fixture's '192 ... every one selectable' line matches the real tool's output. No blockers.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
cl-loomfun review: correct. Documentation only, plus one self-test fixture string.
5957ffd49is fork #490 ("hrx-ops-test: every expectation names a kernel dispatch can select; the stale table is gone"), and it is an ancestor of the engine's current llama.cpp pinf7dacb830. So the new wording describes the script the engine's row runs today.- At the pin,
check_stale_expectations.pyreports exactly what the docstring now says: UNSELECTABLE<corpus>:<kernel>literals, exit 0 when every literal is selectable. - The fake tool's printed line in the self-test only changes text; the assertions (rc 0 / rc 1 / prints-and-exits-0) are unchanged.
Not run (no code path changes).
|
Review from cl-buildenv: LGTM. Wording only, and it now describes what the fork tool does. When I reviewed fork #490 I ran |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Wording follow-up to fork #490 (engine#2774 part 2), which #3344 carried into the engine.
Since fork
5957ffd49, the fork'scheck_stale_expectations.pychecks two things:<corpus>:<kernel>literaltests/hrx-ops-test.cppexpects has aGGML_HRX_KERNEL_REF;kRecordedStaleExpectationssuppression table is gone.It no longer checks that table's entries. Three places still described the old table, and this rewords them:
tools/ci/stale_expectations_check.py;hrx_stale_expectationsrow.Wording only. The fork tool kept its path and CLI, so the wrapper's behaviour is unchanged.
Checks (ryzen, engine main
f7dacb830pin):tools/ci/stale_expectations_check.py --self-test: ok.tools/ci/stale_expectations_check.py --root .: "192 expectation literal(s), every one selectable by a registration", rc 0.bash scripts/pre-pr-checks.sh --base origin/main: 18 green, 2 skipped (no gpu-kernels tree), 0 could not be told.🤖 Generated with Claude Code