Skip to content

Preserve measured comparisons through playground decisions - #4991

Merged
max-sixty merged 8 commits into
mainfrom
codex/ui-hill-climb-campaign
Nov 1, 2026
Merged

max-sixty merged 8 commits into
mainfrom
codex/ui-hill-climb-campaign

Conversation

@max-sixty

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

Copy link
Copy Markdown
Owner

Playground authors could put alternative outcomes only in control labels, then erase that evidence when recording the chosen configuration. Give measurement-based tuning a default comparison row that keeps prior settings, working settings and supplied alternatives together. Keep visual candidates prominent, request a before-and-after comparison in the submitted task, and scope the first-window guidance to glanceable dashboards.

Refocus the hill-climb skill on retained changes to Leaf's runtime, packages and shipped instructions. Strengthen the existing configuration rubric, give reports explicit presentation labels without changing result identities, and distinguish comparison links from relative judgments. Record the reproduced native-select limitation in the browser evidence note.

Validation used fresh authors at 1280×800 on the same frozen runtime:

  • Sol configuration workflows: baseline 0/2 passed, candidate 2/2 passed.
  • Visual-design guard: baseline and candidate each passed 1/1 author run, with both criteria satisfied.
  • One candidate/baseline pair judged by Opus and one candidate/saved-HTML pair judged by Astra: candidate slightly preferred in both presentation orders of each pair. These are two pairs, not four independent samples.
  • The changed-input Opus transfer retained the comparison and passed the interaction checks, but failed overall for a mislabeled derived metric and an omitted data caveat. The metric mismatch also appears in the earlier Opus output; this change does not establish general factual reliability across harnesses.

Independent prose/code review, rendered report review, Prettier, Ruff and diff checks passed. The report label change was exercised through the actual generated report, including explicit-label precedence and unchanged native result identities.

CI: automated review approved the exact head. The test job reports 2,209 passed, 8 skipped and 30 subtests, with one inherited failure in tests/model/test_forks.py::test_a_lane_counts_from_when_it_took_the_name. Fork implementation and test are unchanged from main. A deterministic probe on main reproduces the assertion when the filesystem timestamp trails the admitted event by 1 ms; a fine-clock control passes. This exposes an existing timestamp-ordering race, though the runner clock was not captured. The current session owns its separate focused repair; per tests/AGENTS.md, this unrelated failure does not block this PR.

This was written by Codex on behalf of max-sixty

Reveal selected diff files from their beginning while preserving header comment anchors. Resolve playground instruction providers once per render and cache stylesheet parsing by exact source and path.

Retain workflow evidence through lifecycle failures, start response deadlines at Send, and let judges continue when auxiliary pane measurements time out. Keep measurement failures explicit and withhold asymmetric hints.

Reuse desktop pages for explicitly labeled resized expansion captures, preserving fresh desktop and phone arrivals. Improve report provenance, Unicode journey labels and Chrome table rendering.

Validation: pnpm run check; focused diff and playground browser checks; stylesheet differential controls; lifecycle and deadline controls; controlled pane timeout checks; independent source and live UI review. Resized captures intentionally differ from fresh-width startup, documented by a chart counterexample.
Clarify that changing a working preview must preserve an identifiable configuration record. Keep the existing authored Reset behavior and leave layout and labels to the author.

Extend the existing notification workflow rubric with the tested exploration, Reset, reload, submission and Undo checks. Read-only final records remain valid; historical run scores are unchanged.

Validation: exact instruction hash matches the evaluated v1 payload. Two notification authors and an Opus author pass; successful original comparison orders favor v1, and both controlled v1/v2 orders favor v1 clearly. Separate latency transfer exercises editing and record transitions; configuration transfer preserves a locked record. Both pass. The original latency delivery failure remains ungraded, and the first notification retains a presentation caveat for newly recorded but unapplied submissions. YAML equivalence, formatting and independent review pass.
Reports may combine Leaf/HTML pairs with first-draft Leaf-only comparisons. Derive chart task rows and checkpoint labels from the plotted points so unrelated comparisons do not create empty axis rows or legend entries. Preserve every comparison in the exact-outcomes table.

Validation: the frozen campaign retains all 14 plotted judgments and a byte-identical outcomes table while removing two empty rows. Ruff and independent source review pass; the delivered report receives a focused browser recheck.
…ampaign

# Conflicts:
#	packages/playground/widgets/lf-playground.js
#	tests/browser/test_render_diff_controls.py
@max-sixty
max-sixty merged commit 7277f99 into main Nov 1, 2026
3 of 4 checks passed
@max-sixty
max-sixty deleted the codex/ui-hill-climb-campaign branch November 1, 2026 20:11
max-sixty added a commit that referenced this pull request Nov 1, 2026
A fork follower could claim a message that arrived before it took over
the lane. The cutoff came from inode `ctime`, which can trail the event
clock on Linux; CI exposed this in
`test_a_lane_counts_from_when_it_took_the_name` while landing #4991.

Record the admission cutoff explicitly after taking the lane. A
fork-specific transition lock makes lease replacement and cutoff
publication atomic to readers, so a message cannot first wake the
session and then become held. The lock is separate from the delivery
lock that some readers already hold. The kernel lease remains the sole
proof that the follower is live; generic wait leases keep their current
format.

Validation: 22 focused cases passed, including all 15 fork tests, real
browser admission blocked during publication, pre-cutoff delivery, Codex
delivery under its existing session lock, and session retirement. The
stale-filesystem-time control fails at the original assertion.
Independent review, Ruff check/format, diff checks and full `pnpm run
check` passed; the committed protocol baseline includes the new record.
The clock failure mechanism is reproduced on main; the original CI
runner’s timestamp values were not captured.

> _This was written by Codex on behalf of max-sixty_
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