Paper · Agents and tools · Version 1
RefactorPlatform: An Open-Source Harness for Controlled Evaluation of Repository-Scale Refactoring Agents
First published: Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, . Original
Copyright the authors. Licensed under Creative Commons Attribution 4.0 International.
This page holds the text of the paper, converted to HTML; figures may be left out.
An open-source test bench for coding agents that make one change across a whole code base. It changes one design choice at a time, such as the model or the tools, to show what drives success.
Abstract
Repository-scale refactoring requires coding agents to propagate a single change across many interdependent files without altering program behavior, yet to our knowledge no existing harness isolates the design choices that determine agent success on this task. We present RefactorPlatform, an open-source evaluation harness that holds the environment fixed and varies each design axis explicitly: model backbone (via OpenRouter and GitHub Copilot CLI), execution regime (baseline, retrieval-augmented, and multi-agent), and prompt specificity. Each run executes in an isolated workspace with live terminal streaming, per-task logging of tokens, diffs, and transcripts, AST-based verification, and exportable telemetry for audit and reproduction. Demonstrating the platform on 100 multi-file RefactorBench tasks across four model families, we illustrate the analyses it supports: AST-aware chunking outperforms naive token-window chunking by 25–30 percentage points (pp) across prompt modes, whereas naive retrieval falls below the retrieval-free baseline; a lean retrieval-augmented single agent (86%) beats multi-agent execution (66%) on matched tasks, with no task passing under delegation that fails under retrieval; and retrieval’s accuracy gains absorb its token overhead, leaving cost per successful refactoring unchanged. RefactorPlatform is open-sourced to make refactoring-agent evaluation reproducible and auditable.
1 Introduction
Refactoring, “improving the internal structure of software without altering its external behavior” (Fowler et al., 1999), has shifted from localized IDE transformations to repository-scale campaigns that propagate a single change across many interdependent files, where manual propagation is errorprone and a persistent source of technical debt (Fernandes et al., 2020). Function-level benchmarks reveal little about this regime (Liu et al., 2023), and while repository-scale suites like SWE-bench better reflect production engineering (Jimenez et al., 2023), refactoring imposes a stricter requirement: edits must be behavior-preserving while still propagating across files. RefactorBench targets exactly this setting with AST-verified multi-file tasks (Gautam et al., 2025), and SWE-Refactor (Xu et al., 2026) verifies developer-written refactorings through compilation, tests, and RefactoringMiner (Tsantalis et al., 2022).
Current agents remain inadequate at this scale (Siddeeq et al., 2025; Guan et al., 2025). A single agent perceives only a small slice of the repository at any moment, and most Retrieval-Augmented Generation (RAG) pipelines are example-based, retrieving historical snippets rather than performing structural discovery over the live code a refactoring must touch (Xu et al., 2026), despite evidence that AST-aware chunking retrieves more coherent units (Zhang et al., 2025). The result is structural blindness: systems propose a change but miss sites where it must be applied. A common response is adding more agents in specialized roles (He et al., 2024; Qian et al., 2023; Phan et al., 2024; Dong et al., 2025), yet the evidence is mixed: multi-agent systems lose to single agents on executability and consistency while adding handoffs, tokens, and drift (Yin et al., 2025; Guo et al., 2025). Evidence on repository-scale refactoring specifically remains fragmented. Mature harnesses exist for issue resolution: SWE-agent defines agent–computer interfaces (Yang et al., 2024), OpenHands provides an open platform with a pluggable evaluation harness (Wang et al., 2025b), and Agentless (Xia et al., 2025) shows that lean pipelines can rival agentic scaffolds. To our knowledge, however, no comparable infrastructure isolates retrieval, prompting, orchestration, and model routing for repository-scale refactoring under controlled, auditable logging.
We close this gap with RefactorPlatform, an open-source evaluation harness that holds the environment fixed and varies each design axis explicitly, across three cumulative regimes (Section 2.2): a baseline terminal assistant (S), a retrieval-augmented configuration (S), and an orchestrated multi-agent workflow (S). The platform targets researchers benchmarking coding agents and practitioners auditing agent configurations before deployment. Figure 1 shows the dashboard view of a completed 100-task campaign. The platform lets an operator answer questions like Q1: how much does AST-aware chunking improve pass rates over baseline execution and token-window chunking? Q2: does multi-agent execution recover what it costs, relative to lean single-agent retrieval? Q3: how far does structural retrieval compensate for under-specified prompts?
Our contributions are: (i) RefactorPlatform isolates per-task workspaces, four independently configurable design axes, live terminal streaming, and exportable per-task telemetry; (ii) an AST verification pipeline, AST-based unit tests for Python and extraction–compilation–test– RefactoringMiner gates for Java, so that reported pass rates reflect behavior-preserving change rather than plausible-looking diffs; and (iii) a 100-task demonstration campaign across four model families illustrating the analyses the platform enables: a prompt-sensitivity map, a context-layer comparison in which AST-aware retrieval dominates LSP diagnostics, and a best-case pass rate of 86% at $0.13 per success.
2 RefactorPlatform Architecture and Workflow
RefactorPlatform serves as an evaluation harness designed specifically to benchmark and audit large language model coding agents executing repository-scale refactoring tasks. The platform addresses the lack of standardized, isolated testing infrastructure required for multi-file source code modifications. Each task runs in an isolated workspace to prevent state leakage between runs. During each turn of an agent session, the harness captures all generated file diffs, full terminal execution logs, precise input and output token consumption, and complete interaction transcripts streaming through persistent Tmux sessions.
Operators configure and execute evaluations via the platform’s web interface across four explicit design variables:
- Model Selection: Supports any model avail-
able through OpenRouter (BYOK) or the GitHub Copilot CLI (GitHub).
- Execution Regimes: three cumulative
regimes including an S baseline terminal assistant, an S task-scoped structural retrieval stack utilizing the Model Context Protocol (MCP), and an S regime that enables the agent’s native sub-agent agents.
- Prompt Modes: The architecture sweeps
across Descriptive, Base, and Lazy specificity levels to systematically map how agents adapt to under-specified or ambiguous human requests.
- Target Dataset Tasks: Evaluation targets are
drawn from integrated benchmark suites.
2.1 Natural Language Prompt Modes
To measure agent resilience to varying degrees of instruction clarity, each task is evaluated under one of three prompt configurations, following the specificity levels defined by RefactorBench (Gautam et al., 2025). Descriptive mode supplies full guidance on what to change, where to locate the relevant elements, and how to perform the refactoring (What + Where + How). Base mode provides minimal instructions specifying only the structural refactoring type and the target entity (What + Where). Lazy mode simulates highly ambiguous real-world usage, supplying only a vague refactoring type with no positional or implementation detail (What only).
2.2 Execution Regimes
We implement three execution regimes to separate the contribution of terminal tooling, retrieval, and sub-agent delegation, along with the cost each carries. This helps us to isolate whether performance gains stem from the raw capabilities of the model backbone, codebase indexing extensions, or complex multi-agent layouts, along with the cost trade-offs associated with each.
Regime S (Baseline Assistant): The single agent operates within a standalone terminal CLI session. It has native access to fundamental localized workspace utilities, including filesystem parsing, directory listing, regex tools, and direct execution shells (grep, view, edit, bash), but lacks external context access.
Figure 1: The RefactorPlatform web interface monitoring a completed 100-task run. The dashboard unifies real-time job scheduling, token-consumption analytics, and live terminal streams in a single view.
Regime S (Retrieval-Augmented Assistant): This regime extends the S framework by integrating a persistent, task-scoped codebase search engine via MCP. Prior to execution, repositories are chunked by CocoIndex (CocoIndex) and converted into vector embeddings using nomic-embed-code encoder (GGUF Q4_K_M optimization).
The S agent has codebase discovery capabilities, including search_codebase, list_indexed_files, and read_indexed_file. Queries are resolved using a hybrid vector similarity (cosine metric) and lexical keyword matching architecture (BM25) (Robertson and Zaragoza, 2009), with results fused via Reciprocal Rank Fusion (RRF) (Cormack et al., 2009).
Regime S (Sub-Agent Delegation): S gives the agent its native sub-agent capability and a prompt block describing when to delegate. We impose no topology. The agent decides whether to decompose the task and how, which means the regime is only exercised when it chooses to use it. So the harness proves delegation from the agent’s own event stream and marks each run conformant or setup_not_exercised regardless of whether the task passed. A correct edit made without delegating is not evidence about delegation. The platform also supports an external orchestrator, the CLI Agent Orchestrator (Amazon Web Services Labs, 2026), with fixed supervisor, analyst, modifier, and validator roles. That is a separate configuration and not the system in Table 1.
2.3 Benchmarks
We evaluate our platform using RefactorBench, a Python benchmark designed to measure complex navigational reasoning across real-world codebases. This benchmark consists of 100 multi-file tasks across nine repositories (e.g., Flask, FastAPI). It requires agents to modify between 2 and 31 files per task, moving beyond simple code generation to "stateful reasoning." Success is verified through AST-based unit tests that ensure structural correctness (Gautam et al., 2025). The platform additionally integrates the Java-centric SWE-Refactor suite (Xu et al., 2026). Preliminary results on it are reported in Appendix A.
2.4 User Interface and Dashboard Workflow
An evaluation run is configured and monitored through the RefactorPlatform web interface, which provides a centralized dashboard for real-time monitoring of long-horizon tasks (Figure 1). The interface is structured into three primary columns:
- Task Queue (Left): Tracks real-time execu-
tion status, runtimes, and success badges for all benchmark jobs, featuring one-click execution triggers for isolated retries.
- Workspace & Execution Traces (Center):
Aggregates live performance metrics such as
token consumption, API request counts, and line diffs, alongside tabbed views for persistent tmux terminal streams, repository file trees, prompt mode configs, and verbose test outputs.
- Environment Control Panel (Right): Dis-
plays host container resource allocations (e.g., memory limits) and tracks cumulative success metrics as tasks complete.
To launch an evaluation, the operator selects a target benchmark: either the Python navigation tasks in RefactorBench or the Java compilation tasks in SWE-Refactor with the defined configuration parameters across the four design axes. Asynchronous workers then deploy the designated agents into isolated workspace checkouts subject to operational timeouts, streaming telemetry directly back to the dashboard.
2.5 AST Verification Pipeline
Once a run finishes, every generated patch has to clear a conjunctive verification gate before it counts as correct. For Python, that means passing all associated AST-based unit tests. Java is held to a higher bar: code extraction, successful compilation, and a full test pass, all at once, plus a structural check via RefactoringMiner to weed out lazy, non-functional stubs that technically compile but don’t actually refactor anything. CodeBLEU (Ren et al., 2020) scores are also logged, though only as a background diagnostic - they don’t factor into pass/fail. When a run is done, the operator can review it live and export the full telemetry, diagnostics, and transcripts as a ZIP or CSV archive.
2.6 Performance Metrics
We evaluate our experimental setups using two primary criteria:
- Task Pass Rate (PR): The mean success rate across N tasks, where a task is successful (I = 1) only if it passes all K associated AST unit tests (ASTTest ∈{0, 1}), allowing no partial credit:
- Cost-efficiency (CE): The average financial token cost (C) incurred per successful task, penalizing inefficient token consumption:
3 Results and Empirical Analysis
We evaluate on the 100 multi-file Python tasks in RefactorBench. Because full factorial sweeps across frontier models are cost-prohibitive, we run a two-stage demonstration campaign under single-run budgets: a full ablation on qwen3.6-flash (Table 1), then cross-backbone S vs. full S pipeline comparisons (Table 2). These outcomes illustrate the analyses operators can obtain from the harness at modest cost; the same configuration surface supports larger campaigns when additional compute is available.
3.1 Result Analysis
Our standalone baseline (S) results establish that prompt quality is the single largest indicator of standalone agent capabilities. Deactivating retrieval tools and shifting from full natural language instructions (Descriptive mode) to basic operational declarations (Base mode) incurs a sharp -9pp reduction in accuracy. Stripping the prompt down to vague, localized declarations (Lazy mode) degrades baseline success further by an additional -16pp.
Local workspace environmental feedback via Language Server Protocol (LSP) diagnostics offers negligible compounded mitigation. Enforcing LSP rules yields a marginal average delta of just +3.7pp across all configurations and helps least where natural language prompt context is adequate, providing a mere +2pp gain in Descriptive mode. This suggests that automated linting feedback does not substitute for the semantic clarity provided by detailed task descriptions.
Structural retrieval is the primary reason S outperforms S, and AST-aware chunking is what makes that retrieval effective. As shown in Table 1 and Figure 2, AST-driven indexing outperforms naive token-window chunking by at least 25pp across every prompt mode. The mechanism is structural: naive methods split code without regard to syntactic boundaries, producing fragments that lack logical scope, whereas AST chunking preserves those boundaries, yielding self-contained functional units that retain the full scope of the retrieved code. This same structural gap drives the broader S-to-S improvement (Table 2): S’s grep/bash tooling supports local file navigation but not cross-file reasoning, while S’s structural context yields an average 9.5pp gain across four model families, confirming that structural awareness, not raw model capability, separates the two regimes.
Table 1: Ablation on the qwen3.6-flash: prompt specificity, LSP feedback, and chunking strategy.
Table 2: Cross-model results evaluating structural retrieval impact across four distinct model architectures comparing S Baseline vs S AST Chunking based Retrieval with descriptive prompts
Figure 2: Performance comparison between AST Chunking and Naive Chunking across Descriptive, Base, and Lazy prompt modes.
Sub-agent delegation (S) loses to lean retrieval and does not beat the baseline. On the same 100 tasks under Descriptive prompting, S scores 86% against 66% for S. The comparison is completely discordant: 20 tasks pass under retrieval but fail under delegation, with no tasks exhibiting the reverse outcome. Against S the difference is small (73% vs. 66%). Delegation only triggered on 81 of 100 tasks, where the pass rate was 70.4%; on the other 19 the sub-agent layer never started and the task ran as a single agent (47.4%). We therefore report both figures: 66% reflects the overall pass rate when delegation is requested, while 70.4% reflects performance on tasks where delegation was actually used. A communication tax (Wang et al., 2025a) would explain the discordant pattern, but our telemetry does not separate it from alternatives such as premature scoping by the parent agent.
Retrieval’s accuracy gains offset its token overhead, leaving cost per success effectively unchanged. Structural retrieval increases the raw cost per attempted task (e.g., $1.07 →$1.23 for deepseek-v4-pro), reflecting the additional tokens consumed during indexing and querying. However, Table 3 shows this overhead is offset by a reduction in wasted attempts: cost per successful refactoring shifts by no more than $0.01 across all four models evaluated. Structural retrieval’s accuracy gains thus come at negligible net cost.
Table 3: Cost-efficiency at best configuration (Descriptive Mode).
4 Conclusion
We presented RefactorPlatform, an open-source evaluation harness for repository-scale refactoring agents, providing isolated workspaces, MCP-based retrieval, and auditable per-task logging across model, retrieval, prompting, and orchestration axes. Our demonstration campaign illustrates the platform’s core utility: operators can plug in new harnesses and observe their effect on pass rate and cost under controlled conditions. RefactorPlatform is designed to extend to additional benchmarks, verification gates, and orchestration regimes.
Limitations
Our current evaluation has three main boundaries driven by practical trade-offs between budget constraints and programming language ecosystems: Model Scale and Cost To keep token expenses manageable, we focused on mid-tier models like qwen3.6-flash, minimax-m3, and kimi-k2.6. Full-scale codebase refactoring consumes tokens rapidly, making frontier-scale models costly for large evaluation runs. However, omitting these ultra-large models means we cannot verify if sheer scale naturally fixes the structural blindness or multi-agent penalties we observed. Testing frontier architectures remains an important next step.
Language and Benchmark Scope Our experiments focus primarily on Python via the RefactorBench dataset. Dynamic languages handle dependencies, imports, and references quite differently than compiled, strongly-typed ecosystems like Java or C++. While we conducted initial trials on the Java-centric SWE-Refactor dataset (preliminary results of which are in the appendix A) drawing definitive conclusions requires a more dedicated deep dive. Fully mapping our architecture across these distinct language paradigms remains a key focus for our next study.
Campaign scale Reported results are single-run campaigns under fixed per-task budgets, so we report pass rates without uncertainty estimates and describe differences as observed rather than tested. The same harness supports repeated-trial studies through configuration and compute alone, without rebuilding isolation, verification, or telemetry.
References
- Amazon Web Services Labs. 2026. CLI Agent Orchestrator (CAO).
https://github.com/awslabs/ cli-agent-orchestrator. Apache-2.0 license. Version 2.2.0. Accessed: 2026-07-11. - CocoIndex. CocoIndex: Data transformation framework for AI.
https://github.com/ cocoindex-io/cocoindex. Accessed 2026-08-31. - Gordon V. Cormack, Charles L. A. Clarke, and Stefan Büttcher. 2009. Reciprocal rank fusion outperforms Condorcet and individual rank learning methods. In Proceedings of SIGIR.
- Yihong Dong, Xue Jiang, Jiaru Qian, Tian Wang, Kechi Zhang, Zhi Jin, and Ge Li. 2025. A survey on code generation with llm-based agents. arXiv.org.
- Eduardo Fernandes, Alexander Chávez, Alessandro Garcia, Isabella Ferreira, Diego Cedrim, Leonardo Sousa, and Willian Oizumi. 2020. Refactoring effect on internal quality attributes: What haven’t they told you yet? Information and Software Technology, 126:106347.
- Martin Fowler, Kent Beck, John Brant, William Opdyke, and Don Roberts. 1999. Refactoring: Improving the Design of Existing Code. Addison-Wesley Professional, Reading, MA.
- Dhruv Gautam, Spandan Garg, Jinu Jang, Neel Sundaresan, and Roshanak Zilouchian Moghaddam. 2025. RefactorBench: Evaluating stateful reasoning in language agents through code. In International Conference on Learning Representations (ICLR).
- GitHub. GitHub Copilot CLI.
https://github.com/ github/copilot-cli. Version 1.0.80. - Ziqi Guan, Xin Yin, Zhiyuan Peng, and Chao Ni. 2025. Repotransagent: Multi-agent llm framework for repository-aware code translation. Preprint, arXiv:2508.17720.
- Jiale Guo, Suizhi Huang, Mei Li, Dong Huang, Xingsheng Chen, Regina Zhang, Zhijiang Guo, Han Yu, S. Yiu, Chris Jensen, P. Lio, and Kwok-Yan Lam. 2025. A comprehensive survey on benchmarks and solutions in software engineering of llm-empowered agentic system. arXiv.org.
- Junda He, Christoph Treude, and David Lo. 2024. Llm-based multi-agent systems for software engineering: Literature review, vision, and the road ahead. ACM Transactions on Software Engineering and Methodology.
- Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik Narasimhan. 2023. Swe-bench: Can language models resolve real-world github issues? International Conference on Learning Representations.
- Jiawei Liu, Chun Xia, Yuyao Wang, and Lingming Zhang. 2023. Is your code generated by chatgpt really correct? rigorous evaluation of large language models for code generation. Neural Information Processing Systems.
- H. N. Phan, Phong Nguyen, and Nghi D. Q. Bui. 2024. Hyperagent: Generalist software engineering agents to solve coding tasks at scale. arXiv.org.
- Cheng Qian, Wei Liu, Hongzhang Liu, Nuo Chen, Yufan Dang, Jiahao Li, Cheng Yang, Weize Chen, Yusheng Su, X. Cong, Juyuan Xu, Dahai Li, Zhiyuan Liu, and Maosong Sun. 2023. Chatdev: Communicative agents for software development. Annual Meeting of the Association for Computational Linguistics.
- Shuo Ren, Daya Guo, Shuai Lu, Long Zhou, Shujie Liu, Duyu Tang, M. Zhou, Ambrosio Blanco, and Shuai Ma. 2020. Codebleu: a method for automatic evaluation of code synthesis. ArXiv, abs/2009.10297.
- Stephen Robertson and Hugo Zaragoza. 2009. The probabilistic relevance framework: BM25 and beyond. Foundations and Trends in Information Retrieval, 3(4).
- Shahbaz Siddeeq, Muhammad Waseem, Zeeshan Rasheed, Md Mahade Hasan, Jussi Rasku, Mika Saari, Henri Terho, Kalle Mäkelä, Kai-Kristian Kemell, and Pekka Abrahamsson. 2025. Llm-based multi-agent system for intelligent refactoring of haskell code. In International Conference on Product-Focused Software Process Improvement, pages 408–418. Springer.
- Nikolaos Tsantalis, Ameya Ketkar, and Danny Dig. 2022. RefactoringMiner 2.0. IEEE Transactions on Software Engineering, 48(3):930–950.
- Qian Wang, Zhenheng Tang, ZICHEN JIANG, Nuo Chen, Tianyu Wang, and Bingsheng He. 2025a. Agenttaxo: Dissecting and benchmarking token distribution of LLM multi-agent systems. In ICLR 2025 Workshop on Foundation Models in the Wild. Xingyao Wang and 1 others. 2025b. OpenHands: An open platform for AI software developers as generalist agents. In International Conference on Learning Representations.
- Chunqiu Steven Xia, Yinlin Deng, Soren Dunn, and Lingming Zhang. 2025. Agentless: Demystifying LLM-based software engineering agents. In Proceedings of the ACM on Software Engineering, volume 2, pages 801–824.
- Yisen Xu, Jinqiu Yang, and Tse-Hsun Chen. 2026. Swe-refactor: A repository-level benchmark for real-world llm-based code refactoring. Preprint, arXiv:2602.03712.
- John Yang, Carlos E. Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, and Ofir Press. 2024. SWE-agent: Agent-computer interfaces enable automated software engineering. In Advances in Neural Information Processing Systems.
- Zhuowen Yin, Cuifeng Gao, C. Fan, Wenzhang Yang, Yinxing Xue, and Lijun Zhang. 2025. A comprehensive empirical evaluation of agent frameworks on code-centric software engineering tasks. arXiv.org.
- Yilin Zhang, Xinran Zhao, Zora Zhiruo Wang, Chenyang Yang, Jiayi Wei, and Tongshuang Wu. 2025. cAST: Enhancing code retrieval-augmented generation with structural chunking via abstract syntax tree. In Findings of the Association for Computational Linguistics: EMNLP 2025, pages 8106–8116, Suzhou, China. Association for Computational Linguistics.
A SWE-Refactor: Triple-Verification Pipeline
This experiment evaluates product integrity across 1,099 Java refactoring tasks using a stringent multigate pipeline that tracks code extraction, compilation success, and structural alignment via RefactoringMiner. To clear the triple-verification pipeline (S), a patch must simultaneously extract cleanly, compile, and satisfy RefactoringMiner across the evaluation subset (Table 5). The results expose a stark gap between syntax and execution. While single-pass assistants (S) write highly plausible code: minimax-m3 achieves a 97% extraction rate but the compilation success drops to 34%, yielding a final task pass rate of just 29% (51/177 tasks). The core bottleneck is clearly not code generation, but reference propagation across distributed package scopes.
Introducing an execution feedback loop (S- eval) resolves this drift. By feeding compiler diagnostics back to the model, gpt-5-mini’s compilation rate jumps from 12% to 88%, lifting the final pass rate from a 20% baseline to 85% (28/33 tasks). In this setting, a compiler-feedback loop outperformed both richer prompting and single-pass generation.
B Universal Failure Analysis
A 5% subset of tasks fails in all evaluated configurations regardless of model size, prompt engineering, or retrieval architecture. As detailed in Table 4, these persistent failures are not a byproduct of poor context retrieval or weak prompt alignment, but instead point to limitations in multi-file and diffgeneration heuristics. For instance, tasks requiring downstream test module updates (django) or deep cross-module parameterization (scrapy) failed uniformly. This indicates that just providing a model the correct code context is insufficient when the underlying change requires complex, multi-step structural edits. Overcoming this 5% baseline ceiling will require moving past passive retrieval and toward active, execution-guided validation environments.
C Detailed Failure Taxonomy
To identify why automated refactoring degrades at repository scale, we audited 414 failed execution histories across Python and Java testbeds, revealing key model failure boundaries. The distributions detailed in Table 6 confirm that incomplete reference propagation is the primary bottleneck for repository-scale refactoring. On RefactorBench (Panel A), combining the partial completion and missing import metrics reveals that 50.9% of failures occur when models apply localized modifications correctly but fail to update dependent call sites. This limitation is more pronounced in SWE-Refactor’s compiled Java environment (Panel B), where unresolved package symbols and global import mismatches drive 73.5% of system failures.
Table 4: Universal failure cases.
D Granular Deep-Dives & Trace Case Studies
To anchor our failure taxonomy in concrete real-world contexts, we examine two specific automated execution histories that illustrate the primary breakdown modes observed across our experimental evaluations. As detailed in Table 7, these case studies highlight how localized technical successes can ultimately mask systemic architectural blind spots.
Table 5: Multi-model empirical evaluation outcomes executed on the SWE-Refactor Java benchmark repository matrix. Due to API rate limits, gpt-5-mini configurations were evaluated on smaller representative subsets (n = 75 for single-pass baseline; n = 33 for the feedback loop) compared to the full compound subset (n = 177).
Table 6: Granular failure taxonomy across datasets, detailing the primary breakdown categories on RefactorBench (Panel A) and the compilation pipeline execution failures on SWE-Refactor (Panel B).
Table 7: Case Studies of Agent Architectural Failures