Skip to content

Give eval probes a page to ask Leaf for widget instructions, and make the 16 authoring conversions probes again - #6100

Merged
max-sixty merged 1 commit into
mainfrom
evals-without-read-directions
Nov 16, 2026
Merged

max-sixty merged 1 commit into
mainfrom
evals-without-read-directions

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

#6073 turned 16 reply-only eval probes into authoring cases, because each grades a rule in a package's instructions, which an author reads with leaf page instructions --use, and a probe had no page to run it on. This gives probes that page: a case declares metadata.page, the packages beside the defaults, and the runner initializes it under the probe's working directory with the arm's launcher. The prompt names the page and how Leaf's commands run (page_prompt in workflows/eval.yaml). Claude Code probes may run leaf page instructions, leaf page vocabulary and jq besides their read-only tools; Codex probes approve the plugin's leaf tool, since the launcher's uv can't take its cache lock inside the read-only sandbox. The 16 cases go back to probes, keeping their prompts.

Two runs a case at b90df8d: Claude Code passed 26 of 32 at about $0.44 a run (an authoring sample took 0.7M–1.3M tokens against these probes' 0.2M), 2 of 2 on each of the 9 cases that also ran as authoring cases in #6073. Codex passed 24 of 32 at about $0.04, every run through the leaf tool. The failures are in six cases, each comment recording what failed; playground-candidates-line-up failed in every run, as in 14 of 17 before #6073.

To weigh: every probe column now has the narrow Bash grant and, on Codex, an approved leaf tool, which can run any leaf command (writes included) in the probe's scratch state, so probes that never mention a page may behave differently; six other probes passed 12 of 12 under it, as they passed before.

Requested by max-sixty. Checks: dev/tests/test_evals.py -k 'catalog or model_option or delegates', pre-commit, and the runs above.

This was written by Claude Code on behalf of max-sixty

… the 16 authoring conversions probes again

#6073 turned 16 reply-only probes into authoring cases, because the rule each
grades sits in a package's instructions, which an author reads through
`leaf page instructions --use`, and a probe had no page and, in Claude Code, no
shell. An authoring sample took 0.7M to 1.3M tokens and 2 to 9 minutes; one of
these probes on Claude Code takes about 0.2M tokens and 77 seconds (median).

A case now declares `metadata.page`, the packages its page takes beside the
defaults, and its probe gets that page initialized under its working directory by
the arm's launcher. The prompt names the page and says Leaf's commands run as
`leaf`, through the `leaf` tool in Codex (`page_prompt` in `workflows/eval.yaml`).
Claude Code probes may run `leaf page instructions`, `leaf page vocabulary` and
`jq` besides their read-only tools, with the arm's launcher first on `PATH`. Codex
probes approve the plugin's `leaf` tool, which runs any `leaf` command outside
the read-only sandbox, where the launcher's `uv` can't take its cache lock.

The 16 cases declare their pages in place of `authoring: true` and keep their
prompts, which the page prompt asks to answer in the reply. Two runs each, at
b90df8d:
- Claude Code passed 26 of 32 for about $0.44 a run, running `leaf page
  instructions` in 21. It passed 2 of 2 on each of the 9 cases that also ran as
  authoring cases in #6073, all of which passed there.
- Codex passed 24 of 32 for about $0.04 a run, every run through the `leaf` tool.
  Codex had not run these cases in either form.
- The failures are in six cases, each comment recording its count:
  `playground-candidates-line-up` failed everywhere, as it did in 14 of 17 runs
  before #6073; `parts-take-their-own-layouts` (Claude Code) gave each reading
  part contents of its own; `playground-controls-stand-by-their-item` put the
  budget control in the preview; on Codex, `exhibit-playground-stays-in-the-column`
  restyled the document's own elements and `playground-presets-are-whole-designs`
  labelled columns inside the simulated diff.

Without a working route, both harnesses had fallen back to reading the
packages' files directly and passed the smoke case, so a probe can reach these
rules either way; the page lets it take the route an author takes.

`evals/README.md` and `instruction-changes.md` now say a case whose rule an author
reads through `leaf page instructions` gives its probe a page, rather than
authoring one.
@max-sixty
max-sixty merged commit 9842ed1 into main Nov 16, 2026
5 checks passed
@max-sixty
max-sixty deleted the evals-without-read-directions branch November 16, 2026 05:46
max-sixty added a commit that referenced this pull request Nov 16, 2026
… in two playground eval rubrics (#6111)

After #6100 made them probes with a page again,
`parts-take-their-own-layouts` and
`playground-controls-stand-by-their-item` failed 5 of 8 runs, though
every failing run had read the rule. The rubrics asked for more than the
instructions do. The first required each reading part to be a
`layout-column`, while `page-layout.md` gives a column part its own
contents outline and `page-authoring.md` composes one as a
`layout-sidebar`, which both Claude Code runs wrote. The second required
the page budget in the playground's rail, a recipe #4991 cut from the
playground's `author.md` in favour of keeping each control within sight
of what it changes; three of four runs put the budget once beside the
month's page count in the preview. Both rubrics now accept those, and
still fail the shapes the cases were written for. The eight saved runs
regraded 8 of 8.

To weigh: if a setting every item shares should stand in the rail, the
fix is to restore that sentence to
`packages/playground/instructions/author.md` and keep the old rubric.

Requested by max-sixty. Checks: the regrade above,
`dev/tests/test_evals.py -k 'catalog or model_option or delegates'`,
pre-commit.

> _This was written by Claude Code on behalf of max-sixty_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants