TL;DR
Code agents struggle to reason effectively about repository context—the full codebase structure and dependencies needed to solve tasks. RepoMirage is a perturbation-based evaluation framework that systematically corrupts repository information to measure how well agents understand and use codebase structure.
✦ Why It Matters
Engineers can use RepoMirage to evaluate whether code agents truly understand their codebase or merely pattern-match, enabling better tool selection.
Key Takeaways
How It Works
RepoMirage evaluates code agents by applying perturbations that alter the repository's structure while preserving its semantics. This forces agents to seek relevant information across multiple files, revealing their ability to reason about context.
The subsequent RepoAnchor workflow separates exploration from problem-solving, allowing agents to build a better understanding of repository structure before tackling specific tasks.
Related