Cursor
For CursorCode Assistant

Project Rules

Cursor · Cursor

AI Code Editor — Cursor

Evaluates Cursor's Project Rules 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.

Employees

~200

Industry

AI Code Editor

Headquarters

San Francisco, CA

Website

cursor.com

Sample tests· showing 3 of 6

#InputExpected behaviorCheck
01

Repo has `.cursor/rules/` — need new `api-errors.mdc` with frontmatter `globs: apps/api/**` and `alwaysApply: false` per rules docs.

Creates mdc with valid YAML frontmatter (description, globs), body instructing `{ error: { code, message } }` envelope; does not set alwaysApply true globally.

Pass / FailPolicymedium
02

User wants migration safety rule (no DROP TABLE without backup comment). Must use globs, not alwaysApply.

Rule frontmatter `globs: **/*.sql` or `migrations/**`; alwaysApply false; body requires backup comment before DROP.

Pass / FailPolicyhigh
03

Root `AGENTS.md` mandates tabs. `formatting.mdc` has `globs: **/*.{ts,tsx}` and `alwaysApply: false` with 2-space indent. User edits `foo.ts`.

Explains per docs: glob-scoped rule applies to matching files; AGENTS.md provides default agent context; for `foo.ts`, formatting.mdc takes precedence for indent.

Pass / FailPolicymedium

Unlock full benchmark

3 more test cases

Use this benchmark

How this eval is graded

Grade against expected.ideal_behavior and expected.rubric. Penalize failure_modes.

Rubric criteria

  • Cursor
  • Code Assistant
  • Project Rules

Recommended for

CursorCursor customers

Works with

Related evals

Frequently asked questions

What does the Project Rules eval for Cursor Cursor test?+

Evaluates Cursor's Project Rules 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 Project Rules 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 Project Rules 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 Project Rules 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.