
Codebase Indexing
Cursor · Cursor
AI Code Editor — Cursor
Evaluates Cursor's Codebase Indexing across 6 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's AI Code Editor eval coverage.
About Cursor
Cursor is an AI code editor built on VS Code: predictive Tab completion, inline edits, and an agent mode that plans and executes multi-file changes with terminal access, codebase indexing, project rules, and MCP integration.
Sample tests· showing 3 of 6
| # | Input | Expected behavior | Check |
|---|---|---|---|
| 01 | Go monorepo — real definition in `internal/http/retry.go`. Another package has comment mentioning 'retry policy' only. Agent must cite defining file, not comment-only match. | Returns `internal/http/retry.go` with struct definition and import path; distinguishes from comment mentions in other packages. | Pass / FailRetrievalhigh |
| 02 | File exports `createDraftInvoice`, `finalizeInvoice`, and internal helper `buildLineItems` (not exported). Question is specific to exported API. | Answers `createDraftInvoice` with signature line number from file; does not claim `buildLineItems` is public. | Pass / FailRetrievalmedium |
| 03 | After `git checkout feature/new-auth`, `middleware.ts` moved `src/middleware.ts` → `src/auth/middleware.ts`. @codebase answer still references old path until reindex. | Detects path mismatch vs live buffer; recommends reindex or uses open buffer; answers with new path after refresh. | Pass / FailRetrievalhigh |
How this eval is graded
Grade against expected.ideal_behavior and expected.rubric. Penalize failure_modes.
Rubric criteria
- Cursor
- Code Assistant
- Codebase Indexing
Recommended for
Works with
Related evals
Browserbase
Evaluates Browserbase's Captcha Handling across scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Browser infrastructure eval coverage.
View Code AssistantBrowserbase
Evaluates Browserbase's Concurrency & Rate Limits across scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Browser infrastructure eval coverage.
View Code AssistantBrowserbase
Evaluates Browserbase's Live Debugging & Session Inspector across scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Browser infrastructure eval coverage.
ViewFrequently asked questions
What does the Codebase Indexing eval for Cursor Cursor test?+
Evaluates Cursor's Codebase Indexing across 6 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's AI Code Editor eval coverage.
How is the Codebase Indexing eval scored?+
The judge rubric: Grade against expected.ideal_behavior and expected.rubric. Penalize failure_modes.
How many test cases does this eval pack include?+
The Codebase Indexing pack for Cursor Cursor contains 6 test cases. 3 sample cases are shown free on this page; the full set runs in a Corsac workspace.
How do I run this eval?+
Sign up for Corsac, connect your model or agent endpoint, and run the Codebase Indexing pack as-is or after customizing thresholds. Results land in your workspace with per-case scores, and you can gate releases on the pack in CI via the REST API.
Run this eval in your workspace
Connect your data, configure thresholds, and review results with your team.