Skip to content

test(debugging): anchor the no-profiler-run grader and check the CPU kind in drive-routing evals #9467

Closed

Description

@kyle-sexton

Problem

Two debugging eval cases that the analyze-profile cut added (PR #9328) grade less precisely than their expected_outcome says.

  1. 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).
  2. 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.

Activity

  1. added
    status: ready
    on Oct 23, 2026
  2. added theissue type on Oct 23, 2026
  3. kyle-sexton commented on Oct 24, 2026

    @kyle-sexton
    MemberAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: ready

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions