Repository navigation
Closed
Copy link
Labels
status: readyTriaged, unblocked, and fully specified; eligible to pick up.
Description
Problem
The ready review of #9539 found these gaps in the drive-routing eval graders (plugins/debugging/evals/capture-request-routes-to-drive/case.yaml and plugins/debugging/evals/capture-request-unattended-names-drive/case.yaml, which carry identical copies; their samples/ files are identical too). They were left out of #9539 under its two-round review stop. Each input below is a Bash command as the model would send it, which the grader reads as JSON.stringify({command, description}).
- A1 (important):
no-profiler-runmisses0xrun throughnpx.- Reproducing inputs:
npx 0x workers/export.jsandnpx 0x -o workers/export.js orders.jsongive no match. - Cause:
0xcounts only at command position, andnpxis not one of the allowed prefixes. - Proposed fix: add
npx|pnpm\s+dlx|yarn\s+dlxto the command-position prefix list(?:timeout\s+\S+|nohup|time|env|exec|xargs).
- Reproducing inputs:
- B1 (important): the
\"command-position anchor matches the first word of any quoted string.- Reproducing inputs, all of which fail a correct run:
command -v gdb || echo "gdb not installed"which 0x || echo "0x missing"grep -rn "sudo" README.md
- Proposed fix: accept the quote only after a shell's
-c, replacing\\"in the anchor set with\b(?:ba|z|da)?sh\s+-\w*c\s+\\". This keepsbash -c "gdb -p 1"matching.
- Reproducing inputs, all of which fail a correct run:
- B2: two
no-profiler-runbranches can match outside the command.- Reproducing input:
grep -n "require(./workers/export" -r srcmatches\brequire\([^)]*workers/export. - That branch and the node branch's
\S*can also run past the end of the command intodescription. - Proposed fix: require a quote after the parenthesis, as in
require\(\s*(?:\\"|'), and bound both branches to the command value.
- Reproducing input:
- B3:
names-cpu-kindfails a correct reply that writes the command as two code spans.- Reproducing reply:
Run `/app-control:drive capture` with `--kind cpu`, then come back with the file. - Proposed fix: allow an optional backtick before
--kind, or record the reply as an accepted fail sample.
- Reproducing reply:
- B4:
no-heap-kindfails a negated heap kind written as prose.- Reproducing replies:
Run /app-control:drive capture --kind cpu and not --kind heap./app-control:drive capture is the command; use --kind cpu, never --kind heap.
- Proposed fix: stop the argument loop at the first
--kind, as in(?:[ \t]+(?!--kind)[^\s()]+)*?`.
- Reproducing replies:
- The
asks-for-the-filellm grader (attended case) is not calibrated.samples/asks-for-the-file.jsonholds 2 pass and 3 fail labels that no one has reviewed.- The plugin-eval calibration gate trusts a judge only after it agrees with owner-settled labels on at least 90% of runs. Its runs in test(debugging): anchor the no-profiler-run grader and check the CPU kind in drive-routing evals #9539 had unanimous votes, but nothing has measured its agreement with settled labels.
Fix
- Apply fixes 1 to 5 in both case files.
- Add each reproducing input to the matching
samples/*.json: a pass sample for a false hit, a fail sample for a miss. - Settle the
asks-for-the-filelabels, then run the judge calibration. - Rerun both cases with
--scaffold, one--caseper invocation, and confirm both stay VALID.
Metadata
Metadata
Assignees
Labels
status: readyTriaged, unblocked, and fully specified; eligible to pick up.
Type
Fields
No fields configured for Task.
Activity