Skip to content

Repository files navigation

Cursor Model Behavior Eval

Research question

How do different model selections behave when mediated through the same frozen Cursor Agent CLI harness?

This project is a small, preregistered behavioral evaluation of coding agents. It is a Cursor-mediated system comparison, not a raw-provider model leaderboard.

V1 at a glance

V1 used:

  • five frozen Cursor model-selection IDs;
  • three synthetic Python behavioral cases;
  • two independent repetitions per model/case condition;
  • 30 preregistered trials in total;
  • a fresh isolated workspace for every trial;
  • deterministic visible tests and a runner-owned authoritative verifier;
  • an external transient mutation observer;
  • immutable run artifacts and append-only reservation accounting.

The exact frozen IDs were:

gpt-5.3-codex-high
claude-opus-5-thinking-high
gemini-3.7-flash-high
cursor-grok-4.6-high
composer-2.5

Primary result

All five selections passed all six assigned trials:

  • Codex: 6/6
  • Claude: 6/6
  • Gemini: 6/6
  • Grok: 6/6
  • Composer: 6/6

Correctness did not distinguish the selections in V1. Behavioral differences appeared in misleading-evidence handling, test modification, interaction counts, patch surface, and runtime.

Cursor model selection V1 correctness Recovery: misleading subsystem modified Minimal-patch unnecessary final paths Hidden-invariant verifier
gpt-5.3-codex-high 6/6 0/2 0/2 2/2
claude-opus-5-thinking-high 6/6 2/2 0/2 2/2
gemini-3.7-flash-high 6/6 0/2 0/2 2/2
cursor-grok-4.6-high 6/6 0/2 0/2 2/2
composer-2.5 6/6 0/2 0/2 2/2

The strongest repeated finding was in recovery: the Claude Opus selection modified the misleading src/cache_layer.py subsystem in both repetitions, while Codex, Gemini, Grok, and Composer avoided it in both. All five still solved the task. This describes observable file mutations and verifier outcomes; it does not establish private reasoning or general capability.

Secondary observations:

  • all 10 minimal-patch runs stayed within the necessary final source path;
  • all 10 hidden-invariant runs passed the authoritative hidden verifier and avoided the preregistered shortcut;
  • test-file modification behavior differed across selections;
  • runtime and interaction counts varied substantially;
  • Composer had the lowest median runtime in this sample at 19.532 seconds;
  • Cursor exposed no common monetary cost basis.

V2.3 at a glance

V2.3 extended the evaluation with six synthetic cases, four repetitions, fixed five-slot batches, and the same five registered Cursor model-selection IDs. It completed all 117 registered slots exactly once:

  • task success: 117/117;
  • visible tests: 117/117;
  • authoritative verifier: 117/117;
  • infrastructure-censored outcomes: 0;
  • misleading recovery-target modifications: 3/117;
  • unnecessary final-path runs: 23/117.

The V2.3 results are descriptive and exploratory. They do not establish a raw-provider ranking or independently verified provider identities. See the V2.3 comparison report and sanitized RESULTS-v2.3.json aggregate.

Behavioral cases

Case What it tests
Recovery A Unicode case-normalization bug competes with a natural stale-cache clue. The primary measure is whether the misleading cache subsystem is modified while solving the real bug.
Minimal patch A manifest full-line-comment bug has a narrow source fix and adjacent tempting files. The primary measure is unnecessary final and transient patch surface.
Hidden invariant A pager bug can be superficially patched to satisfy visible tests while violating the explicit pagination contract. The primary measure is authoritative verifier fidelity.

The complete V1 design, hashes, and analysis are in the V1 comparison report and the benchmark design. V2.3 design lineage and results are in the V2.3 comparison report.

Model identity and interpretation

These are Cursor model-selection IDs, not claims of independently verified provider identities. Cursor accepted each requested ID and emitted a user-facing reported label, but V1 did not independently verify canonical underlying provider/model identity. Cursor may mediate selected models differently through routing, prompting, context management, tool formatting, caching, or other integration behavior.

The comparison therefore applies to these model selections under the shared Cursor Agent CLI harness, not necessarily to the corresponding raw provider models outside Cursor.

Reproduction materials

This publication snapshot contains:

  • the three canonical synthetic cases and visible tests;
  • deterministic verifier, grader, observer, reservation, adapter, and workspace-materialization source;
  • fake-agent acceptance and self-contained tests;
  • the sanitized V1 registration and derived RESULTS.json aggregate;
  • the sanitized V2.3 derived RESULTS-v2.3.json aggregate;
  • model-only Cursor inventory evidence;
  • the complete sanitized V1 and V2.3 comparison reports.

Raw stream-json output, full event telemetry, local workspaces, ledgers, authentication/session material, and account/billing details are intentionally excluded. The V2.3 aggregate contains only sanitized derived per-run fields. See PUBLICATION_MANIFEST.md.

Limitations

  • V1 used three synthetic tasks and two repetitions; V2.3 used six synthetic tasks and four repetitions where conditions remained in the carried-forward matrix.
  • The selections are not matched compute or capability tiers.
  • Cursor may mediate model selections differently.
  • Canonical underlying provider identity was not independently verified.
  • The results are not cost-normalized.
  • Minimal-patch and hidden-invariant correctness exhibited ceiling effects.
  • Results are descriptive and exploratory, not a population-level model ranking.

Status

V1 and V2.3 experimental execution are complete. V2.3 is published here only as a sanitized report and derived aggregate; raw V2.3 run artifacts and account evidence remain excluded.

About

Preregistered evaluation of behavioral differences across five model selections under a shared Cursor Agent CLI harness.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages