fix(hipdnn): deep-review TheRock lane uses the current skip helper; orient gate lists every citation site #16659
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.50) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 587 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.382
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #16659"
general
weight: 0.35
BrianHarrisonAMD
Summary
Follow-ups to #16005 for the
hipdnn-deep-reviewskill. The first two fix the TheRock lane, which crashed on one step and described PR CI tiers wrongly; the last two improve the orient gate._is_path_skippable_for_patterns/_is_path_skippable, which do not exist at the pinned TheRock, so it failed withAttributeError. It now calls_is_path_unrelated_to_ciwith an empty workflow allowlist (the external-repository case). A lane-wide Helper drift rule checks every TheRock function or field the lane names at the pinned commit: a missing one printsHELPER-DRIFT:on stderr and the lane reports an IMPORTANT finding that the skill needs updating. The skip snippet then looks for a replacement (a function usingfnmatchthat classifies a known docs file as skip and a known.cppfile as CI) and ends the lane withSTOP:when none passes.lanes/therock.md,lanes/author-testing.md,lanes/test-tiers.mdandpolicy.mdsaid a run-all PR or a dispatch runsquick, which is wrong. The deep review often runs before a PR or CI exists, so the TheRock lane now predicts from the code that decides:_determine_test_type,is_external_repo_ci_only_change,_apply_external_family_overridesandtest_type_for_familyin TheRock at the pinned commit, plus rocm-libraries' own.github/workflows/therock-multi-arch-ci.ymlat the PR's head. Once CI has run, the latest run's per-familyConfigure test matrixlog is authoritative, but only for families whose GPUTestjobs ran. The prediction isUNVERIFIEDwhen a name is missing, andn/a (CI skipped)when every file is skippable. The other files point to that instead of listing rules.+<n> more. The gate now prints every site, e.g.not at base: src/gone.hpp (cited at CONTEXT.md:1, orient/a.md:1).orient/<slug>.mdlink wherever it appears, but the test only cited it from a table row. The docstring and RUNBOOK now say the link can appear anywhere inCONTEXT.mdororient/*.md. Raised in review: https://github.com/ROCm/rocm-libraries/pull/16005#discussion_r4672238296JIRA ID : ALMIOPEN-3357
Risk Assessment
Risk 1 (low). Only AI tooling under
projects/hipdnn/tools/ai/. No library, provider or build code is touched.Testing Summary
tests/test_deep_review_therock_skip_snippet.py) extract the lane's skip snippet and tier drift check fromlanes/therock.mdand run them against fake TheRock modules: helper present, renamed (HELPER-DRIFT:, same classification) and absent (STOP:); all tier names present ("found" line) and each missing (oneHELPER-DRIFT:naming it). Orient-gate tests cover the listing and the prose self-reference. Every new assertion was mutation-checked.standardon gfx94X and gfx110X) and #16507 (test_filter:standard, hipBLASLt CI:standardon gfx94X, gfx110X and gfx950 hipBLASLt). All match.test_tier_scope_covers_every_test_in_the_tree, comes from googletest sample files in untrackedbuild/folders and does not occur in a clean checkout.Testing Checklist
python -m pytest -q tests/(fromprojects/hipdnn/tools/ai) - Status: PassedTechnical Changes
lanes/therock.md: Helper drift rule; section 1 skip snippet with renamed-helper lookup; Families and Tier read TheRock's code at the pin and the PR's own workflow, with a four-name drift check; Timing base and section 6 refer to Tier.lanes/author-testing.md,lanes/test-tiers.md,policy.md: wrong tier claims removed; point to the TheRock lane's Tier.scripts/partition.py:cmd_orient_gateprints every citation site; docstring updated.RUNBOOK.md: orient-gate description matches.tests/test_deep_review_partition.py: prose self-reference case; the two-site test expects both sites.tests/test_deep_review_therock_skip_snippet.py: new.🤖 Generated with Claude Code