| name | generate-eval |
| description | Create one pinned fresh-API coding case that passes execution and defeats a no-search baseline. |
Generate Eval
Use this for one benchmark case that measures whether current official documentation helps a coding agent use an exact API correctly.
Do not use it for general coding quality or subjective output.
Inputs
TARGET: a pinned package version, repository commit, or release.
OUT: the path for one candidate JSON object.
Read bench/src/generate-eval/schema.ts and bench/src/generate-eval/certify.ts before authoring the candidate.
Those files define the current format and checks.
Build One Case
- Read the target's official documentation, release notes, types, and installed implementation.
- Find one recent or niche identifier, option, behavior, or migration that a capable model could plausibly get wrong without search.
- Pin the target exactly and record the primary source URL.
- Write a realistic prompt that requires the detail but does not reveal it.
- Add a minimal reference workspace that imports and exercises the real target.
- Make the reference command fail on a no-op, deprecated form, or plausible wrong guess.
- Add exact positive and negative answer checks only where text matching cannot be satisfied accidentally.
Never mock the target or use the candidate answer as the source of truth.
Prefer executable behavior over identifier matching.
Calibrate
Run all of these before writing OUT:
- Fresh setup plus the reference command passes in a clean workspace.
- The correct answer passes the answer checks.
- A plausible wrong answer fails.
- A strong no-search baseline fails for the intended API mistake rather than setup, network, or scoring failure.