Tests whether the agent chooses the path-based preview input after reading story-file context directly from disk.
- Pre-seeded Button component and existing stories.
- Prompt first asks the agent to read
stories/Button.stories.tsxand report its imports. - Prompt then asks the agent to preview existing
PrimaryandSecondarystories. - No file edits are expected.
Asks the agent to inspect story file imports first, then preview Primary and Secondary.
| Metric | Weight |
|---|---|
MCP tools coverage (preview-stories called) |
10 % |
| Preview input strategy (path + exportName preferred) | 60 % |
| Avoid unnecessary docs fetches for button | 30 % |
preview-stories(at least 1 call)
For strategy quality credit, at least one preview invocation should pass stories using absoluteStoryPath + exportName and should not rely exclusively on storyId.
For docs-avoidance quality credit, the agent should not call get-documentation with id: "button" in this task.