mlsanityData to 14 Oct 2026

Schr"odinger's Code Repository: Have LLMs Learned SWE-bench or Memorized It?

arXiv 2609.27891 ↗First posted 21 Aug 2026cs.SE cs.AIcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

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"odinger'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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 39 of its 46 references that are in the map. First posted on arXiv 21 Aug 2026.

Builds on

39 of 46 references.

Closest ancestors · 19

Same direction, newest first

  1. 2026Repo0: Design-Driven Zero-to-All Code Generation20 Aug
  2. 2026SkillForge: Self-Distilling Agents for Project-Specific Issue Resolution19 Aug
  3. 2026SWE-Bench ProMax: Benchmarking Agents on Large-Scale Multilingual Code Refactoring10 Aug
  4. 2026Know Before Fix: QA-Driven Repository Knowledge Acquisition for Software Issue Resolution13 Jul
  5. 2026Dockerless: Environment-Free Program Verifier for Coding Agents26 Jun
  6. 2026SWE-MeM: Learning Adaptive Memory Management for Long-Horizon Coding Agents26 Jun
  7. 2026LLM Agents Can See Code Repositories12 Jun
  8. 2026Same Signal, Different Semantics: A Cross-Framework Behavioral Analysis of Software Engineering Agents18 May
  9. 2026Test vs Mutant: Adversarial LLM Agents for Robust Unit Test Generation8 Feb
  10. 2026Rethinking the Value of Agent-Generated Tests for LLM-Based Software Engineering Agents8 Feb
  11. 2026SWE-Pruner: Self-Adaptive Context Pruning for Coding Agents23 Jan
  12. 2025Saving SWE-Bench: A Benchmark Mutation Approach for Realistic Agent Evaluation10 Oct
7 more
  1. 2025SWE-Effi: Re-Evaluating Software AI Agent System Effectiveness Under Resource Constraints11 Sep
  2. 2025UTBoost: Rigorous Evaluation of Coding Agents on SWE-Bench10 Jun
  3. 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agents26 May
  4. 2025R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agents9 Apr
  5. 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinement26 Oct
  6. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
  7. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May

Other references · 20

  1. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  2. 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 279
  3. 2024SWE-bench Multimodal: Do AI Systems Generalize to Visual Software Domains?cited by 203
  4. 2024SWE-Bench+: Enhanced Coding Benchmark for LLMscited by 99
  5. 2025SWE-bench Goes Live!cited by 80
  6. 2025SWE-Exp: Experience-Driven Software Issue Resolutioncited by 65
  7. 2025Are "Solved Issues" in SWE-bench Really Solved Correctly? An Empirical Studycited by 49
  8. 2025The SWE-Bench Illusion: When State-of-the-Art LLMs Remember Instead of Reasoncited by 49
  9. 2025Repo2Run: Automated Building Executable Environment for Code Repository at Scalecited by 39
  10. 2025SWE-QA: Can Language Models Answer Repository-level Code Questions?cited by 38
  11. 2025Pruning the Unsurprising: Efficient LLM Reasoning via First-Token Surprisalcited by 32
  12. 2025SWE-Bench++: A Framework for the Scalable Generation of Software Engineering Benchmarks from Open-Source Repositoriescited by 28
8 more
  1. 2026In Line with Context: Repository-Level Code Generation via Context Inliningcited by 18
  2. 2026GlimpRouter: Efficient Collaborative Inference by Glimpsing One Token of Thoughtscited by 17
  3. 2025LastingBench: Defend Benchmarks Against Knowledge Leakagecited by 14
  4. 2025SPICE: An Automated SWE-Bench Labeling Pipeline for Issue Clarity, Test Coverage, and Effort Estimationcited by 12
  5. 2026SWE-ABS: Adversarial Benchmark Strengthening Exposes Inflated Success Rates on Test-based Benchmarkcited by 12
  6. 2024LLMs as Continuous Learners: Improving the Reproduction of Defective Code in Software Issuescited by 10
  7. 2025Investigating Test Overfitting on SWE-benchcited by 6
  8. 2026RepoMirage: Probing Repository Context Reasoning in Code Agents with Perturbationscited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026E2E-SWE: Benchmarking LLMs on Building Working Codebases from Scratch
  2. 2026SWE-Explore: Benchmarking How Coding Agents Explore Repositories
  3. 2026OctoBench: Benchmarking Scaffold-Aware Instruction Following in Repository-Grounded Agentic Coding
  4. 2025SWE-PolyBench: A multi-language benchmark for repository level evaluation of coding agents
  5. 2026VibeMemBench: Evaluating Memory Systems for Coding Agents on Real Repository Coding Tasks
  6. 2025NL2Repo-Bench: Towards Long-Horizon Repository Generation Evaluation of Coding Agents
  7. 2026RepoMod-Bench: A Benchmark for Code Repository Modernization via Implementation-Agnostic Testing
  8. 2026SWE-Duel: Towards a Self-Scaling Arena for Coding Agents