You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(user-interface): eval case for expanding to content height - #8148
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:
read plugins/user-interface/reference/types/web.md: the expand-to-content-height rule (grid-template-rows 0fr to 1fr, min-height: 0, overflow: hidden, never height: auto, inert once closed) matches the case
check-changelog-fragments: all 145 fragments valid
Regexes hand-checked against each pass and fail sample; they were not run by a tool
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.
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #7983
Summary
Opened by the work-resolve-issue lane. The run's own summary:
Not verified
claude plugin evalrun, out of scope per the issue; done after mergeFix
Verification
The run reports:
Left out: the items under Not verified.
Related
#7983