mlsanityData to 14 Oct 2026

RepoMirage: Probing Repository Context Reasoning in Code Agents with Perturbations

arXiv 2605.26177 ↗First posted 25 May 2026cs.SE cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

Code agents are currently having skillful performance on repository-level software engineering benchmarks, but it remains unclear whether success on end-to-end tasks such as issue resolution truly reflects repository context reasoning, the ability to identify the task-relevant information across multiple files and reason over the relations among them. To investigate this question, we introduce RepoMirage, a two-stage evaluation suite built on SWE-Bench Verified that adopts perturbation as a diagnostic tool to increase the demand for context reasoning by transforming how the repository is exposed. First, RepoMirage-Perturb applies three types of semantics-preserving repository-level perturbations, revealing a clear performance drop when correct solving requires broader context access. RepoMirage-Extend further turns perturbation-targeted structural bottlenecks into explicit tasks beyond issue resolution, where the average performance declines from 66.8% in the original setting to 25.3%, indicating a significant deficiency in repository context reasoning. Further trajectory analysis reveals an exploration drift, where agents access broader repository context but fail to turn it into effective structure information. Motivated by this observation, we propose RepoAnchor, a structure-first prototype workflow that separates repository exploration from downstream problem solving, and show that explicit structural scaffolding yields notable gains. These results uncover an previously overlooked gap in repository context reasoning for code agents and suggest that stronger structure-aware methods are potential to improve them.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 42 of its 55 references that are in the map. First posted on arXiv 25 May 2026.

Builds on

42 of 55 references.

References · 42

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  3. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  4. 2013Intriguing properties of neural networkscited by 5,155
  5. 2021Program Synthesis with Large Language Modelscited by 3,637
  6. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  7. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
  8. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
  9. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  10. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
  11. 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 1,006
  12. 2025OpenAI GPT-5 System Cardcited by 989
30 more
  1. 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 953
  2. 2021Measuring Coding Challenge Competence With APPScited by 902
  3. 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
  4. 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 815
  5. 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 454
  6. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 452
  7. 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 421
  8. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 367
  9. 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 353
  10. 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 300
  11. 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 285
  12. 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 279
  13. 2023CrossCodeEval: A Diverse and Multilingual Benchmark for Cross-File Code Completioncited by 183
  14. 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 171
  15. 2022ReCode: Robustness Evaluation of Code Generation Modelscited by 103
  16. 2025SWE-PolyBench: A multi-language benchmark for repository level evaluation of coding agentscited by 85
  17. 2025Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectoriescited by 81
  18. 2025SWE-bench Goes Live!cited by 80
  19. 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 68
  20. 2025The SWE-Bench Illusion: When State-of-the-Art LLMs Remember Instead of Reasoncited by 49
  21. 2022CCTEST: Testing and Repairing Code Completion Systemscited by 35
  22. 2025Vibe Coding in Practice: Motivations, Challenges, and a Future Outlook -- a Grey Literature Reviewcited by 30
  23. 2025SWE-Bench++: A Framework for the Scalable Generation of Software Engineering Benchmarks from Open-Source Repositoriescited by 28
  24. 2025Understanding Automated Program Repair Agents Through the Lens of Traceability: An Empirical Studycited by 16
  25. 2024What can Large Language Models Capture about Code Functional Equivalence?cited by 14
  26. 2024RepoMasterEval: Evaluating Code Completion via Real-World Repositoriescited by 10
  27. 2025Are Large Language Models Robust in Understanding Code Against Semantics-Preserving Mutations?cited by 7
  28. 2026Coherence Collapse: Diagnosing Why Code Agents Fail After Reaching the Right Codecited by 5
  29. 2025Gistify! Codebase-Level Understanding via Runtime Executioncited by 4
  30. 2026PatchRecall: Patch-Driven Retrieval for Automated Program Repaircited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.