lab: grade the axis task's step on the NUMBER, not the phrasing #10

Merged
hermes merged 1 commit from kb/NCFGP-1851-step-grade into main 2026-11-20 21:04:18 -06:00
Collaborator

A real run under coding answered:

step=step 1/6
exit=77
cause=...timeout(1) resolves its command via exec...

which is the log's own wording for the correct fact, and the literal grep -q 'step=1/6' arm failed it as wrong/missing step=. A grader that fails a correct answer is vocabulary grading — the class this suite exists to catch (cf. 9850f1e).

The arm now matches the step NUMBER on the step= line (^step=.*1/6), so the phrasing is free and the fact is graded. Verified both ways with the answer text above: rc=0; and with step=2/6 (same cause): rc=1 wrong/missing step=.

Found while measuring the profile axis for nix-config-private#1851; part of the same deliverable as #9 (which landed this task's step/exit/cause arms in the first place).

A real run under `coding` answered: ``` step=step 1/6 exit=77 cause=...timeout(1) resolves its command via exec... ``` which is the log's own wording for the correct fact, and the literal `grep -q 'step=1/6'` arm failed it as `wrong/missing step=`. A grader that fails a correct answer is vocabulary grading — the class this suite exists to catch (cf. `9850f1e`). The arm now matches the step NUMBER on the `step=` line (`^step=.*1/6`), so the phrasing is free and the fact is graded. Verified both ways with the answer text above: rc=0; and with `step=2/6` (same cause): rc=1 `wrong/missing step=`. Found while measuring the profile axis for nix-config-private#1851; part of the same deliverable as #9 (which landed this task's step/exit/cause arms in the first place).
lab: grade the axis task's step on the NUMBER, not the phrasing
All checks were successful
CI / graders (pull_request) Successful in 6s
8b6f48b8a7
A real run answered `step=step 1/6` — the log's own wording for the right
fact — and the literal `grep 'step=1/6'` failed it as "wrong/missing
step=". That is vocabulary grading, the class this suite exists to catch.
The arm now matches the step number on the step= line; a wrong number still
fails, verified against the real answer and against step=2/6.
hermes merged commit 673767c12c into main 2026-11-20 21:04:18 -06:00
hermes deleted branch kb/NCFGP-1851-step-grade 2026-11-20 21:04:24 -06:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ymrtech/hermes-bench!10
No description provided.