Skip to content

test(user-interface): eval case for expanding to content height - #8148

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-7983-39105967335-1
Oct 18, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-7983-39105967335-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #7983

Summary

Opened by the work-resolve-issue lane. The run's own summary:

Adds the web-expand-content-height eval case, in the shape of css-rule-motion. It asks for an accordion with unknown content height and checks that the answer animates grid-template-rows between 0fr and 1fr and makes the closed content inert. A bump: none changelog fragment is included.

Not verified

  • check-evals-quality and cant-fail-scan do not apply: the first lints evals.json files and the second scans test files, and neither accepts these prompt.md eval cases. No tool validated the new case files.
  • Subagent diff review not run (no review-venue.txt in the scratchpad); I read the small eval-only diff myself. The diff is eight small files.
  • Paid claude plugin eval run, out of scope per the issue; done after merge
  • Branch was a detached HEAD, so new-changelog-fragment could not name the fragment; I wrote it by hand in the same format and check-changelog-fragments accepts it

Fix

  • plugins/user-interface/evals/web-expand-content-height/prompt.md: new case; expected_outcome names the 0fr to 1fr grid-row technique and inert closed content
  • plugins/user-interface/evals/web-expand-content-height/graders/: skill-fired (design skill), grid-rows-0fr (regex needing grid-template-rows with both 0fr and 1fr), closed-content-inert (regex for inert or visibility: hidden)
  • plugins/user-interface/evals/web-expand-content-height/samples/: pass and fail samples per grader; the regex graders' fail samples animate max-height or height: auto; no raw transcripts
  • .changes/user-interface/test-7983-expand-content-height-eval-4b2d8e15.md: bump none fragment (eval-only change)

Verification

The run reports:

Left out: the items under Not verified.

Related

#7983

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 86b9f5c50e3da158ad1d5d610c380020afdf9dd2: 0 finding(s), 0 as inline comments.

No security issues found in PR #8148 at 86b9f5c. The PR adds one eval case for plugins/user-interface (a prompt, three graders and three sample files) and a bump: none changelog fragment. The prompt allows only the read-only tools Read, Glob, Grep and Skill. The graders are regexes and a tool-use matcher. I did not read the repo's instruction exception register, because no standing instruction is deleted or softened. The PR touches no workflows, secrets, auth, hooks or runtime code.

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 86b9f5c50e3da158ad1d5d610c380020afdf9dd2: 0 finding(s), 0 as inline comments.

Code review: PR #8148, eval case web-expand-content-height

Result: no findings. I posted no inline comments.

Scope. The PR adds eight eval-only files: prompt.md, three graders, three sample files and a bump: none changelog fragment. I read all of them against plugins/user-interface/evals/css-rule-motion/, the closing issue #7983 and plugins/user-interface/reference/types/web.md:49-55. The path-scoped rule .claude/rules/eval-case-transcripts.md matches these files. No sample holds a raw transcript, so the rule is met. I ran no tools beyond reading files and listing directories. I did not run the graders or claude plugin eval.

Closing issue #7983, acceptance criteria

  • expected_outcome names the technique. Met. prompt.md names the 0fr to 1fr grid-row technique and the inert closed content.
  • Required graders. Met. There is a regex grader for grid-template-rows with 0fr and 1fr, a regex grader for inert or visibility: hidden, and a skill-fired grader.
  • Fail samples per deterministic grader. Met. Both regex graders have fail samples that animate max-height or height: auto.
  • No raw session transcript in any sample. Met.
  • scripts/check-changelog-fragments.sh passes. Not confirmed by me. The fragment follows the bump: none format, but the pass is the PR author's claim.

Hand-check of the regexes. I traced the pass samples by hand. They match: the grid-rows-0fr pass sample hits the 0fr-then-1fr alternative, and panel.inert = !open hits \binert\b. The max-height, height: auto and empty fail samples match neither grader. I did not execute the regexes. The PR description also says they were hand-checked and not run by a tool.

Noted, not blocking

  • closed-content-inert also passes on visibility: hidden alone, and on the bare word "inert" anywhere in the reply. The issue allows "or the equivalent", so this follows it. The grader is lenient, though, and the expected_outcome and llm-style intent of requiring the inert attribute is only partly enforced.
  • grid-rows-0fr checks that both values appear, not that transition animates grid-template-rows. A reply that sets the values without a transition would pass. Treat this as a calibration question for the first paid eval run, which the issue defers until after merge.
  • skill-fired accepts only user-interface:design. The prompt opens "Design an accordion…", so that is the likely skill, but a write-css invocation would fail the grader. The first paid run will show whether that is too strict.

Unread or unverified: none. The closing-issue section was present and read.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path enqueued this pull request at head 86b9f5c50e3da158ad1d5d610c380020afdf9dd2.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 18, 2026
Merged via the queue into main with commit 3702c78 Oct 18, 2026
22 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-7983-39105967335-1 branch October 18, 2026 16:28
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.

test(user-interface): eval case for expanding to content height

0 participants