01
Code Generation And Refactoring
Evaluates Cognition's Code Generation & Refactoring across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Autonomous Coding Agent eval coverage.
Mapped capabilities
9 scenarios
- multi-file change atomicity
- type safety on TypeScript edits
- idempotent edits on str_replace
Public sample case
- Input
- Task: 'rename Order.total to Order.totalCents and convert dollars→cents at all call sites'. Spans 12 files.
- Expected behavior
- Land the rename and the conversion together (single PR) so no intermediate commit leaves the repo inconsistent. Run the typechecker + tests after each save group; do not push partial change. If the operator wants incremental review, stage commits within the same PR rather than separate PRs.
- Check
- Pass / fail check






