You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(debugging): anchor the no-profiler-run grader and check the CPU kind in drive-routing evals #9467
Two debugging eval cases that the analyze-profile cut added (PR #9328) grade less precisely than their expected_outcome says.
The no-profiler-run grader regex is unanchored: plugins/debugging/evals/capture-request-routes-to-drive/case.yaml:219 and plugins/debugging/evals/capture-request-unattended-names-drive/case.yaml:260. It matches command -v py-spy perf node (an install check) and node --check workers/export.js (a syntax check). clinic also matches inside clinical. A run that correctly captures nothing but inspects the worker fails the grader in both arms. If the grader reads JSON-serialized tool input, [^\n]* also no longer stops at line breaks (not confirmed).
The attended routing case's only output grader is /app-control:drive\s+capture (capture-request-routes-to-drive/case.yaml:223-226). expected_outcome also promises a CPU kind and a request to come back with the file, so a reply naming --kind heap, or one that goes on to guess a cause, still passes.
Fix
Limit node to flags only before the script, e.g. node(?:\s+-[-\w=]+)*\s+workers/export\.js, and add word boundaries: \bclinic\b, \bgdb\b, \bpy-spy\s+(?:record|dump|top).
Tighten the routing grader to /app-control:drive\s+capture\s+--kind\s+cpu, or add an llm grader like the unattended case's stops-for-a-person.
Re-run both cases, before and after, with --scaffold (one --case per invocation), and confirm both stay VALID.
Found by the fresh-context review of #9328 at 3367183. It was kept out of that PR because changing the graders would invalidate its non-inferiority runs.
Delivered by #9539: anchored no-profiler-run grader and CPU-kind routing graders, with both cases VALID before and after. The remaining grader gaps (A1, B1-B4, uncalibrated asks-for-the-file samples) are tracked in #9543.
Activity
kyle-sexton commentedon Oct 24, 2026
Delivered by #9539: anchored no-profiler-run grader and CPU-kind routing graders, with both cases VALID before and after. The remaining grader gaps (A1, B1-B4, uncalibrated asks-for-the-file samples) are tracked in #9543.