Repository navigation
Set criteria for new eval cases and move their guidance into developing-leaf - #1371
Conversation
…README `evals/README.md` held the suite's method and a Record table of every A/B, which grew to two thirds of the file in three days and repeated each fix's commit message. Nothing said when a case measured during a fix should stay, so cases that passed on both arms stayed too. The method moves to `/developing-leaf`, "Score a guidance change", where the repo keeps its workflows, and gains the rule for adding a case: it pins a clause no case pins and separated two arms, the base failing most runs and the change passing every run, or a blunter draft failing a guardrail the change passes. That is usually one case per problem. Each case's Record history is now a comment at the top of its `case.yaml`; the rows for A/Bs that kept no case live in their commit messages. `AGENTS.md`, `dev/AGENTS.md` and `leaf_dev/harness.py` point at the new section. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
# Conflicts: # dev/AGENTS.md # dev/leaf_dev/harness.py
leaf-agent
left a comment
There was a problem hiding this comment.
The new retention rule says a case belongs in the suite only when it separated two wordings, but the PR leaves all 15 cases in place. Its new comments explicitly say findings-show-the-defect, follow-up-asks-show-their-subject, and shot-pair-matches never separated the arms; shot-pair-differs passed on both. Those cases still run with the suite, so the claimed smaller, distinguishing set and its cost/noise reduction do not happen. Remove the cases that do not meet the rule, or state and apply a separate retention rule for guardrails you intend to keep.
|
@leaf-agent 03a6988 scopes the rule to new cases: the section now says older cases predate it and their comments say where each stands, and the PR description says so. Removing the six is a separate decision the maintainer holds, since it deletes cases, so this PR doesn't claim the smaller suite.
|
# Conflicts: # dev/AGENTS.md # dev/leaf_dev/harness.py # evals/README.md
# Conflicts: # evals/README.md
# Conflicts: # dev/AGENTS.md
# Conflicts: # dev/AGENTS.md
#1371 set the rule that an eval case stays only once it has separated two arms, and left the older cases that had not in place pending a decision. This removes them. - **Deleted:** `shot-pair-matches`, `shot-pair-differs`, `findings-show-the-defect` and `landed-work-goes-on-the-page` passed on both arms; `follow-up-asks-show-their-subject` swung between runs with its clause unchanged. - **Kept:** `thread-widget-mirrors` had no base result. Run against cb6de1f, before #1288, it failed 0 of 3 against main's 3 of 3, which its header comment now records. - `/developing-leaf` no longer notes older cases that predate the rule, since none remain. Nothing outside `evals/` names the deleted cases. > _This was written by Claude Code on behalf of max-sixty_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
…EADME authoring-evidence.md sent a pair reading "only slight changes" to be recaptured or disowned, which is wrong for a deliberate small edit such as a contrast fix; the author now names the change in the prose, or says only redrawing changed. The shot test now reads "only slight changes" as well as "identical" on a pair without `outlines`. evals/README.md was removed on main (#1371), and this branch's merges had brought it back; its rows for this branch go in the PR description. The outlined case's comment now says the base had no attribute to write, and its regex skips quoted attribute values. Comments that still said every pair draws outlines, the registry's doubled citation, and packages.md's flag rule ("what its presence means", which also covers state flags) are corrected. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ibrary A focus-indication playground (session 623c25b5) gave the user per-surface controls and built each preset as a tuple of those controls' values. Its "Margin cursor" preset set three independent gutter bars side by side. The agent had looked at that render, but the only preset guidance was "offer two to four presets as coherent starting points". Handoff checks were functional (operate every preset), so nothing asked whether each preset looked like a finished design, and the user called the presets "disastrous". The playground author guidance now divides the work between the two parts. Controls span the space, one for each part the user may vary, even when that makes many. Presets are the candidates: each is designed as one look, checked as the user will see it in both themes, and made to set every control its look depends on. A preset merges onto the current values, so a control it leaves unset keeps the user's last value. developing-leaf's "Explore an open design" drops "add presets and further controls only where the user tunes more than the choice", which pushed toward a single choice control, and points to that paragraph. The new eval case measured the change. Five main runs could read author.md, and all five wrote presets that left controls unset (0 of 5 passed). Two runs on this change could read it; both set every control and included today's diff as a baseline preset. One passed and the other was judged under an earlier criterion that wrongly failed its baseline. Seven further runs were refused the read of packages/playground/ in don't-ask mode and scored nothing. The suite also becomes a library, at the user's direction. developing-leaf's "Score a guidance change" admitted a case only if it separated two arms (#1371). Now a case is added where it gives the library breadth, a behavior or situation no case covers, after first trying to extend an existing case so the cases don't proliferate. What is added stays whether or not the arms differed. No existing case covers playgrounds, so this one adds breadth. The case's header comment records what it measured. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ibrary (#1454) A focus-indication playground (session 623c25b5) gave the user per-surface controls and built each preset as a tuple of those controls' values. Its "Margin cursor" preset set three independent gutter bars side by side. The agent had looked at that render, but the only preset guidance was "offer two to four presets as coherent starting points". Handoff checks were functional (operate every preset), so nothing asked whether each preset looked like a finished design, and the user called the presets "disastrous". The playground author guidance now divides the work between the two parts. Controls span the space, one for each part the user may vary, even when that makes many. Presets are the candidates: each is designed as one look, checked as the user will see it in both themes, and made to set every control its look depends on. A preset merges onto the current values, so a control it leaves unset keeps the user's last value. developing-leaf's "Explore an open design" drops "add presets and further controls only where the user tunes more than the choice", which pushed toward a single choice control, and points to that paragraph. The new eval case measured the change. Five main runs could read author.md, and all five wrote presets that left controls unset (0 of 5 passed). Two runs on this change could read it; both set every control and included today's diff as a baseline preset. One passed and the other was judged under an earlier criterion that wrongly failed its baseline. Seven further runs were refused the read and scored nothing: the prompt placed the file "beside the leaf skill's references/", and those children resolved it to the plugin root's packages/, outside the skill's base directory, the only place the eval grants a read. The prompt now names the file from inside that directory, and all six runs of this change then read it; four passed. The read graders were also counting refused calls. A tool_used grader matches the call's input, so reads-playground-guidance's "playground/guidance/author" passed every refused attempt at <plugin>/packages/..., and thread-widget-*'s bare "packages" matched any path containing the word. Every case's read grader now matches the reference's whole path from skills/leaf/, so it counts only a read that succeeded, which is what developing-leaf's "every case also grades that the child read the reference it tests" assumed. developing-leaf also says where the grant stops and how a prompt names a file beyond the references. The suite also becomes a library, at the user's direction. developing-leaf's "Score a guidance change" admitted a case only if it separated two arms (#1371). Now a case is added where it gives the library breadth, a behavior or situation no case covers, after first trying to extend an existing case so the cases don't proliferate. What is added stays whether or not the arms differed. No existing case covers playgrounds, so this one adds breadth. The case's header comment records what it measured. 🤖 Generated with [Claude Code](https://claude.com/claude-code) > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
evals/README.mdheld the suite's method and a Record table of every A/B. The table grew to two thirds of the file in three days and repeated each fix's commit message. Nothing said when a case measured during a fix should stay, so cases that passed on both arms stayed too: 6 of the 15 have never told two wordings apart. This change sets the rule for new cases and records where each old one stands; removing the six is a separate decision./developing-leaf, "Score a guidance change", where the repo keeps its workflows, trimmed to what an agent running or adding a case needs. It runs A/Bs throughleaf-dev guidance-ab(Add leaf-dev guidance-ab, the guidance eval A/B in one command #1366), which no longer prints a Record row.case.yaml: where it came from, and base against change at named commits. The rows for A/Bs that kept no case live in their commit messages (Read a page as its active HTML beside page state, and drop page state's construction tree #1311, Extend the agent-usability baseline to the live loop, mixed batches, elided threads, packages and shared sources #1332).tagsstay the suite's categories.AGENTS.md,dev/AGENTS.mdandleaf_dev/harness.pypoint at the new section.#1363's rows are in its three cases' comments. Two unopened branches that add rows will conflict on the deleted file; their rows move the same way.
🤖 Generated with Claude Code