{"ID":2838875,"CreatedAt":"2026-06-01T04:54:23.091178241Z","UpdatedAt":"2026-06-01T04:54:23.091178241Z","DeletedAt":null,"paper_url":"https://arxiv.org/abs/2511.16004","arxiv_id":"2511.16004","title":"InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolution","abstract":"Large language models have advanced software engineering automation, yet resolving real-world software issues remains difficult because it requires repository-level reasoning, accurate diagnostics, and strong verification signals. Existing agent-based and pipeline-based methods often rely on insufficient tests, which can lead to patches that satisfy verification but fail to fix the underlying defect. We present InfCode, an adversarial multi-agent framework for automated repository-level issue resolution. InfCode iteratively refines both tests and patches through adversarial interaction between a Test Patch Generator and a Code Patch Generator, while a Selector agent identifies the most reliable fix. The framework runs inside a containerized environment that supports realistic repository inspection, modification, and validation. Experiments on SWE-bench Lite and SWE-bench Verified using models such as DeepSeek-V3 and Claude 4.5 Sonnet show that InfCode consistently outperforms strong baselines. It achieves 79.4% performance on SWE-bench Verified, establishing a new state-of-the-art. We have released InfCode as an open-source project at https://github.com/Tokfinity/InfCode.","short_abstract":"Large language models have advanced software engineering automation, yet resolving real-world software issues remains difficult because it requires repository-level reasoning, accurate diagnostics, and strong verification signals. Existing agent-based and pipeline-based methods often rely on insufficient tests, which c...","url_abs":"https://arxiv.org/abs/2511.16004","url_pdf":"https://arxiv.org/pdf/2511.16004v1","authors":"[\"KeFan Li\",\"Mengfei Wang\",\"Hengzhi Zhang\",\"Zhichao Li\",\"Yuan Yuan\",\"Mu Li\",\"Xiang Gao\",\"Hailong Sun\",\"Chunming Hu\",\"Weifeng Lv\"]","published":"2025-11-20T03:04:21Z","proceeding":"cs.SE","tasks":"[\"cs.SE\",\"cs.AI\"]","methods":"[\"Language Model\"]","has_code":false,"code_links":[{"ID":606814,"CreatedAt":"2026-06-01T04:54:23.091178241Z","UpdatedAt":"2026-06-01T04:54:23.091178241Z","DeletedAt":null,"paper_id":2838875,"paper_url":"https://arxiv.org/abs/2511.16004","paper_title":"InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolution","repo_url":"https://github.com/Tokfinity/InfCode","is_official":false,"mentioned_in_paper":false,"mentioned_in_github":true,"github_stars":0}]}
