Skip to content

Commit f3ccf1d

Browse files
committed
fix eval 916 test
1 parent f5ff7eb commit f3ccf1d

File tree

4 files changed

+42
-5
lines changed

4 files changed

+42
-5
lines changed

apps/internal-storybook/stories/getting-started.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
import { Meta } from '@storybook/addon-docs/blocks';
2+
3+
<Meta tags={['setup-instructions']} />
4+
15
# Getting Started
26

37
This is the getting started documentation of this design system.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import type { Preview } from '@storybook/react-vite';
2+
3+
const preview: Preview = {};
4+
5+
export default preview;

eval/tasks/916-follow-setup-instructions/prompt.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ Do not guess any required library or root setup. Use the available Storybook MCP
55
Requirements:
66

77
1. Implement the page component in `src/components/MissionControl.tsx`
8-
2. Update `src/main.tsx` to render that component
9-
3. Do not create stories yourself; static stories already exist for this component
10-
4. Render the heading text `Mission control`
11-
5. Render a `LaunchButton` with the text `Open dashboard`
12-
6. Keep the implementation minimal and production-like
8+
2. `src/components/MissionControl.tsx` must default export the component, otherwise the existing static story will fail
9+
3. Update `src/main.tsx` to render that component
10+
4. Do not create stories yourself; static stories already exist for this component
11+
5. Render the heading text `Mission control`
12+
6. Render a `LaunchButton` with the text `Open dashboard`
13+
7. Keep the implementation minimal and production-like
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import type { VariantConfigInput, VariantInput } from '../lib/eval/types.ts';
2+
3+
const base = {
4+
agent: 'claude-code',
5+
model: 'claude-sonnet-4.6',
6+
verbose: false,
7+
storybook: false,
8+
systemPrompts: [],
9+
context: [{ type: 'storybook-mcp-docs' }],
10+
} satisfies Partial<VariantInput>;
11+
12+
const config = {
13+
name: 'setup-instructions-temp-internal',
14+
description:
15+
'Temporary internal config for running task 916 with Claude Code on Claude Sonnet 4.6.',
16+
internal: true,
17+
variants: [
18+
{
19+
...base,
20+
id: '916-default',
21+
label: '916 Follow Setup Instructions',
22+
taskName: '916-follow-setup-instructions',
23+
},
24+
],
25+
} satisfies VariantConfigInput;
26+
27+
export default config;

0 commit comments

Comments
 (0)