Skip to content

Give an inventory a table in "Show the subject", and judge a figure by what it makes easier to see - #6232

Merged
max-sixty merged 4 commits into
mainfrom
diagnose-cards-page
Nov 17, 2026
Merged

max-sixty merged 4 commits into
mainfrom
diagnose-cards-page

Conversation

@max-sixty

@max-sixty max-sixty commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

An agent asked what Leaf's 32 x- registry keys are for showed them as seven bordered cards, each a reader's key names separated by commas, with no table. "Show the subject" in page-authoring.md mapped every subject to a picture, gave tables a closing line, and said a table whose rows say "what connects to what should be a drawing", so an inventory got a drawing of boxes of names. The section now gives items the user reads and compares on the same facts a table of their own, and its figure test asks for a figure only where its geometry makes a relationship easier to see than words or a table; names sorted into a box per group don't.

The new eval variant findings-page-shows-its-subject/registry-key-readers replays the session's notes with the user's standing instructions. On Opus 5.5 it passes both rubrics 3 of 3, against 1 and 0 of 3 for main; main boxed the key names in 6 of 6 pages, and a plain HTML author given the same instructions dropped the table in 3 of 3. Guards pass on both: mechanism-proposal-shows-its-measurements, the cascade case, numeric-grid-shows-shape, and figures-add-what-words-cannot, which a first wording ("judges") failed by pulling eight decisions into a table.

Requested by max-sixty through /diagnose-session; reviewed by Codex (gpt-6-astra), whose two findings the last commit addresses. dev/tests/test_evals.py and tests/model/test_interact_layer.py pass.

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

A session surveying Leaf's 32 x- registry keys handed the user seven bordered
cards, each a reader's key names separated by commas, with no table. Replayed
cold on Opus 5.5, base authors kept a table but sorted the key names into boxes
or chips by reader in 3 of 6 pages, where a plain HTML author did in 0 of 3.
"Show the subject" mapped every subject to a picture, left tables a closing
line, and said a table whose rows say "what connects to what should be a
drawing". An inventory has no geometry, so the drawing it got was boxes of
names, which the next sentence already called showing nothing.

The section now gives items the user reads and compares on the same facts a
table of their own, grouped or sorted by the fact they scan first, and drops
the sentence that turned such tables into drawings. Its figure test asks the
author to name what a figure's geometry shows that the words or a table don't,
and names a box of names per group, or a bar per group sized by its member
count, as showing only the grouping.

Scores (Opus 5.5, `findings-page-shows-its-subject/registry-key-readers`, which
quotes the user's standing instructions, including "draw a design rather than
describing it"):

| Arm | 32-row table | Key names sorted into boxes |
| --- | --- | --- |
| base 48ee07f | 5 of 6 | 6 of 6 |
| this change | 6 of 6 | 2 of 6 |
| plain HTML control | 0 of 3 | 3 of 3 |

Under those instructions 4 of 6 pages on this change still drew some figure
restating the readers; with only that sentence removed from the quote, 0 of 3
did. Guards on base and head, 2 runs each, all pass:
`mechanism-proposal-shows-its-measurements` (charts, request path),
`findings-page-shows-its-subject` (cascade), `numeric-grid-shows-shape`. A
first wording, "items the user goes through and judges", pulled decisions into
the table: `figures-add-what-words-cannot` bundled five of eight refactors into
one ask (0 of 2); with "reads and compares" it passes 3 of 3.

The case's variant is new: it carries the session's inventory notes and
grades whether each key reads on one row with what it states and who reads it,
and whether any figure only restates the inventory.
Review found the figure test's "name what its geometry shows that the words or
a table don't" rejected figures whose point is a relationship the table also
states, such as readers on either side of the browser boundary, and that
calling a bar per group sized by its member count "only the grouping"
contradicted the chart bullet's groups on one scale. The test now asks for a
figure where its geometry makes a relationship or pattern the argument rests on
easier to see, and keeps the cases that only weaken a table: names sorted into a
box per group, a mark per counted item, boxes holding sentences.

The eval's rubrics follow: the inventory rubric grades the keys the page
presents rather than requiring all 32, and the figure rubric accepts a figure
that shows connections or relative sizes the argument compares.

On Opus 5.5, `findings-page-shows-its-subject/registry-key-readers` (with the
user's standing instructions) passes both rubrics 3 of 3, against 1 of 3 and 0
of 3 for base 48ee07f; `figures-add-what-words-cannot` 3 of 3 and
`numeric-grid-shows-shape` 3 of 3.
@max-sixty
max-sixty merged commit 7a55b0b into main Nov 17, 2026
5 checks passed
@max-sixty
max-sixty deleted the diagnose-cards-page branch November 17, 2026 03:47
max-sixty added a commit that referenced this pull request Nov 17, 2026
Brings in #6234 (grouped declarations; an `lf-options` asks with no attribute;
`selected` and `required`), #6238, #6244, #6232 and #6214.

- Each named group stays, with main's attributes inside it: no `choose`, `selected`
  for `chosen`, `required` for `needed`, swept over the branch's own converted
  examples, fixtures, evals and tests.
- `lf-ask` stays deleted, and with it `state.encloses`, which only `lf-ask`
  declared: dropped from the declaration schema, `$keys` and the generated types.
- Main's `author.instructions` and examples carry the branch's text: the named group
  in place of `lf-ask` for `lf-options`, `lf-option`, `lf-draft`, `lf-tally`,
  `lf-deck` and `lf-playground`.
- The kernel marks take main's `paint.flow`, which the earlier merge had dropped, so a
  tab set written `flow="page"` is painted as one again.
- `PAGE` keeps main's settled `PAGE_GROUP` inside the branch's named groups.
- Main's fixtures whose option groups now ask stand in named groups where they were
  bare on a page.
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