Repository-level coding benchmarks have become the standard for evaluating coding agents, yet they inherently suffer from data leakage because they are built upon popular open-source repositories repeatedly used for training. Consequently, strong performance may reflect memorization of canonical repository cues rather than robust repository reasoning. We propose SchrodingerRepo (Schrödinger's Repository), an evaluation framework for testing coding agents under dynamically instantiated repository representations. Instead of repeatedly using a static representation of the test repository, SchrodingerRepo treats the test repository as an evaluation-time latent variable that is dynamically instantiated only when the agent enters the evaluation environment. The instantiated repository preserves the original executable behavior while eroding familiar cues such as naming conventions, file layouts, and implementation patterns through four transformation levels: problem statement reconstruction, namespace remapping, intra-file layout reordering, and functionality-preserving code rewriting. We evaluate popular LLMs on SWE-bench Verified and SWE-QA. Results show that removing familiar repository cues consistently degrades agent performance and substantially increases interaction costs across models. Further analysis reveals that the additional cost is primarily caused by increased difficulty in repository exploration and localization. These findings suggest that current coding agents may partially rely on memorized repository-side cues, highlighting the need for evaluation under dynamically instantiated repository representations.
Figures & tables
Fig. 1: Motivation experiment: human-judged evidence of task-specific memorization on SWE-bench Verified.
Fig. 2: Overview of SchrodingerRepo.
Setting
Pass@1
Avg. Actions
Avg. Input tokens
Avg. Output tokens
GPT 5.1
Baseline
44.6%
20.48
178,247
2,181
Level 1
44.6% ( ↓ 0.00% )
20.31 ( ↓ 0.83% )
177,102 ( ↓ 0.64% )
2,169 ( ↓ 0.55% )
Level 2
37.2% ** ( ↓ 7.4% )
33.45 ** ( ↑ 63.3% )
467,563 ** ( ↑ 162.3% )
3,621 ** ( ↑ 66.0% )
Level 3
43.0% ( ↓ 1.6% )
21.81 ( ↑ 6.5% )
203,968 ( ↑ 14.4% )
2,290 ( ↑ 5.0% )
Level 4
43.4% ( ↓ 1.2% )
21.68 ( ↑ 5.8% )
203,535 ( ↑ 14.2% )
2,492 ** ( ↑ 14.2% )
TABLE I: Results on SWE-Bench Verified.
Fig. 3: Actions increase over baseline across categories.
GPT-5.4-mini
Setting
Score
Actions
Input Tokens
Output Tokens
Baseline
70.35
6.28
30,129.88
891.28
Level 1
70.32 ↓ 0.03
6.25 ↓ 0.48%
30,012.37 ↓ 0.39%
897.44 ↑ 0.69%
Level 2
66.40 ↓ 3.95
7.41 ↑ 18.00%
38,716.90 ↑ 28.50%
1,106.97 ↑ 24.20%
Level 3
69.30 ↓ 1.05
7.17 ↑ 14.20%
35,734.04 ↑ 18.60%
1,037.45 ↑ 16.40%
Level 4
69.50 ↓ 0.85
6.96 ↑ 10.80%
33,956.37 ↑ 12.70%
1,009.82 ↑ 13.30%
TABLE II: Results on SWE-QA. SchrodingerRepo lowers score and increases actions and token cost.
Fig. 4: Case study of different agent trajectories under familiar and unfamiliar repository views.
GPT-5.4-mini
Setting
Pass@1
Actions
Input Tokens
Output Tokens
Baseline
17.27%
15.82
143,626.49
2,842.78
SchrodingerRepo
17.27% 0.00%
17.11 ↑ 8.15%
175,231.61 ↑ 22.01%
3,285.61 ↑ 15.58%
TABLE III: Results on the March 2026 SWE-rebench Leaderboard.