Skip to content

Record a third arrangement eval run, on main after the layout fixes - #1434

Merged
max-sixty merged 1 commit into
mainfrom
layout-survey
Sep 29, 2026
Merged

max-sixty merged 1 commit into
mainfrom
layout-survey

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

This records a third run of the arrangement eval, on main at 0feb179, after the five layout fixes of #1363 and #1395. Fresh agents write each page twice, once with Leaf's Layouts and once in their own CSS. A blind judge then picks between the two from screenshots at 1440px, 900px and 390px. It now prefers the Leaf page in 9 pairs and the plain one in 7, with 2 split, against 9, 3 and 5 in the second run. All 36 pages pass the render check, and no plain page used the Layout vocabulary.

Subject Before the 900px preference (Leaf / plain / split) After it
Dashboard 0 / 1 / 2 (was 1 / 2 / 0) 2 / 1 / 0 (was 1 / 0 / 1)
Document 0 / 3 / 0 (was 1 / 0 / 2) 1 / 2 / 0 (was 0 / 1 / 2)
Queue 3 / 0 / 0 3 / 0 / 0

The defects the five fixes targeted mostly dropped out of the judge's lists, counted by keyword and read as rough sizes. Side content that came last on a phone went from 5 against 1 to 0 against 3. A tile row wrapping 3 + 1 went from 8 against 0 to none. Leaf pages carry about 42% of the plain pages' CSS (154 lines against 354), and none needed a script of its own.

Two causes now account for most of Leaf's losses:

  • Lines cut off sideways, 25 against 14. In 15 of the 25, a queue's log excerpt sits in lf-code, which doesn't wrap.
  • Collapsed content, 11 against 4. Leaf documents put the plan in a collapsed block, following the guidance to collapse supporting detail.

Both are follow-ups, not part of this change.

  • notes/arrangement-eval/results/r3-main-0feb.{json,md} and r3-main-0feb-reviews.json hold the scores, the tables and every verdict.
  • notes/arrangement-eval/plain_arm.py: the plain arm edits Leaf's guidance at fixed text anchors, and one sentence in the assets registry had been reworded on main. This updates that anchor.
  • notes/arrangement-eval/README.md counts the runs.

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

🤖 Generated with Claude Code

The plain arm's anchor for the registry's data-width sentence follows its
rewording ("delivery paints that choice into the served document").

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@max-sixty
max-sixty merged commit ef9d1d3 into main Sep 29, 2026
5 checks passed
@max-sixty
max-sixty deleted the layout-survey branch September 29, 2026 20:32
max-sixty added a commit that referenced this pull request Sep 30, 2026
… 3 + 1 sentence (#1470)

A line longer than its `lf-code` block now wraps inside the frame
instead of running past it behind a scrollbar at the block's foot. In
the arrangement eval's third run (#1434), all three Leaf-arm queue pages
put their log excerpts in `lf-code`, and the judge marked the cut-off
log lines at 900px and on the phone as a defect, against a plain page
whose own `pre-wrap` showed them whole.

**How a wrapped line reads.** The gutter stands the whole height of the
line with the number on its first row, and the rows after it hang two
characters past the line's own indent. The module counts each line's
leading columns and hands them to the theme as `--lf-code-indent`
(capped at 22, so a deep line in a narrow pane keeps room).
`overflow-wrap: anywhere` breaks hashes and paths. A line that fits
keeps its columns, so ordinary source at desktop width is unchanged. A
page that wants the old scroller restates it in its own CSS, as
`examples/code-comparison.html`'s scrolled candidate now does.

**What the scroller needed, removed.** The note row's sticky position,
the host-drawn focus ring for a scrolled `<pre>` (`code-pre-light`), the
max-content line width, the print override and its TODO. The ring census
drops that case, the `walkthrough-code` still shows the note without
focusing the block, and the anchors test's scrolled-note check gives way
to a widgets test that a long line wraps under its indent with its
gutter spanning it (confirmed red with the indent count disabled).

**Previews.** rust-sort's code pane wraps in its first viewport, so the
catalog previews are refreshed (twice: once for the change, once after
merging main).

**Also on this branch**, from the same session:

- 75da924 drops the tiles bullet's "3 + 1 looks unfinished" sentence
from `page-authoring.md`: on `page-arrangement-uses-layouts` (5 runs a
side), every page written with it set its own `grid-template-columns`,
and without it 5 of 5 passed with no tile CSS. The pre-handover review
still names a lone tile among what to read the render check's screens
for.
- 93fe9dc adds a TODO.md entry: take every render-check reading at
every rendered width.

> _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]>
max-sixty added a commit that referenced this pull request Sep 30, 2026
…luded (#1471)

In the arrangement eval's review-page subject (#1434), Leaf pages kept
putting the whole "Plan if we pick Postgres" in a collapsed `<details>`
at the foot of a review the platform team reads top to bottom and
comments on, and the judge marked Leaf down for it in most of those
pairs. `page-authoring.md`'s "Reading cost" sent "exhaustive support"
under `<details>` by default and exempted only an open Ask and its
evidence, so a plan the team was asked to comment on read as backing.

The paragraph now keeps open whatever the page asks its readers to take
in or answer: the finding, the evidence it rests on, and what they are
asked to review, decide, or comment on. A disclosure holds what they can
skip and still do that; the old list (history, method, source excerpts,
exhaustive support, transcripts, raw output) stays as its examples. The
Ask exemption becomes a case of the rule.

New case `evals/review-plan-stays-open` replays that review subject; its
judge fails a page that hides the recommendation, any option, the risks,
or any of the plan's five steps, and lets raw measurements collapse.

`guidance-eval`, 5 runs a side:

| case | before | after |
|---|---|---|
| review-plan-stays-open | 11 of 19 (three rounds pooled; every failure
collapsed the plan) | 10 of 10 |
| page-arrangement-uses-layouts | 5 of 5 | 5 of 5 |
| record-asks-hold-their-premise | 5 of 5 | 5 of 5 |
| record-asks-hold-their-table | 3 of 5 | 3 of 5 |
| approach-page-leaves-the-choice-open | 5 of 5 | 4 of 5 |

The approach-page miss is an h2 stating the conclusion, which this
paragraph doesn't touch; that case expects a recommendation's detail to
stay collapsed, and every run still collapsed it.

> _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]>
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