Skip to content

Keep a bare UI review run at the old cost, repair legibility's capture, and make the experiment rule true - #5450

Merged
max-sixty merged 4 commits into
mainfrom
agent-af056623d6c24cc0b
Nov 5, 2026
Merged

max-sixty merged 4 commits into
mainfrom
agent-af056623d6c24cc0b

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Four things left over from #5442. This is developer tooling only, +30 / −15 lines.

A bare UI review run costs what the command's default did. pnpm run eval:ui-review took every column after #5442: 160 reviews and 160 judge calls, against 20 of each for the old command's default. The script now passes --filter-providers 'sol/(no-tools|browser)$', which selects gpt-6.1-sol/no-tools and gpt-6.1-sol/browser. A --filter-providers the user adds replaces it, because commander keeps the last value, and --filter-providers . takes all 16 columns. The README says so. If the Codex pin ever stops being named sol, a bare run prints "No providers matched" and spends nothing.

pnpm run eval:legibility runs again. Its capture refused because actions.json had no line for back, delete, menu or move and kept a stale done. Each new line comes from where the action is offered: the floating panel's "Back to …", a rewrite's Save once its box is emptied, the leaf press, and a board card's grip. The capture also drew the Page menu's leaf as a bare square, because the mask that gives it its mark is scoped to .lf-chrome. Each press now stands under that scope, so the sheet shows what a user sees.

The model rule is true as written. leaf-dev claude-code-session was the one tool picking a model outside arms.py, and it now reads MODELS["claude-code-session"]. dev/AGENTS.md now says developer tooling picks the model it runs through arms.py, and that a table keyed by model id, such as fork_eval.PRICES, looks up what a run already used. The only model literals left in dev/, evals/ and the skills are those pins, that table and a recorded trace's field in test data.

The rule says when an experiment leaves. Its folder and script stay while someone will run them again. Once it has answered its question they are deleted, and the pull request names the last commit that holds them. evals/ui-review-detection/README.md now says why that set is still kept, in place of "We generally do not keep model evals of maintainer development work".

What I ran

  • Filter: the script's own text through the real Promptfoo CLI, on free echo providers wearing the real config's labels. Bare selected the two Sol columns (20 reviews). . selected 16 columns, /discovery$ 4, /(no-tools|browser)$ 8 and sol/code-only$ 1, and --filter-targets overrode it the same way. Applying the filter to the real providers' ids selected the same two columns. pnpm run eval:ui-review --filter-providers NOMATCH on the real config ran no reviews.
  • Legibility, real sample: pnpm run eval:legibility, from capture through reader and judge, with its models read from arms.py (provider control-legibility:claude-opus-5-5). 31 of 34 controls read correctly. The misses were Fit ("Enter fullscreen or focus mode"), Next match ("Expand a section or open a dropdown") and Page menu ("Can't tell; feather, maybe app logo"). Readings vary from run to run, and the script exits 100 whenever any control is misread. Back, Delete and Move all matched. Against the capture before the scope change, only the 32×32 box around the leaf differs.
  • Session: uv run leaf-dev claude-code-session started a real session on claude-sonnet-5-5, per its process arguments and banner, and --stop ended it.
  • Checks: pnpm run check:tools, the affected dev/tests/test_evals.py tests, and pre-commit on every changed file.

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

…e, and make the experiment rule true

A bare `pnpm run eval:ui-review` took every column, 160 reviews against the old command's
20. The script now passes a default `--filter-providers`, which a later one replaces.

`pnpm run eval:legibility` refused to capture because `actions.json` had no line for
`back`, `delete`, `menu` or `move`, and kept a stale `done`. The capture also drew the
Page menu's leaf as a bare square, because the mask that gives it its mark lives under
`.lf-chrome`; each press now stands under that scope.

`dev/AGENTS.md`, "Experiments", now says when an experiment's folder and script leave,
and says that developer tooling picks models through `arms.py`, which a table keyed by
model id doesn't do. `leaf-dev claude-code-session` takes its model from `MODELS`, which
was the one pin outside `arms.py`.
@max-sixty
max-sixty merged commit a8705c5 into main Nov 5, 2026
5 checks passed
@max-sixty
max-sixty deleted the agent-af056623d6c24cc0b branch November 5, 2026 09:14
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