[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-496931-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-496931-en":131},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","thinking-longer-not-larger-enhancing-software-engineering-agents-via-scaling-test-time-compute","Thinking Longer, Not Larger - Enhancing Software Engineering Agents via Scaling Test-Time Compute","","Recent advances in software engineering agents automate program improvements, yet deployment in private settings is hindered by reliance on closed or resource-intensive models. This paper asks how personally deployable open-source LLMs (e.g., 32B on a single GPU) can match code-reasoning performance. It introduces a unified Test-Time Compute scaling framework with internal and external strategies, improving multi-stage trajectory synthesis, quality, and development-process search. Experiments on SWE-bench Verified show 46% issue resolution.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/thinking-longer-not-larger-enhancing-software-engineering-agents-via-scaling-test-time-compute/496931/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/thinking-longer-not-larger-enhancing-software-engineering-agents-via-scaling-test-time-compute/496931.png","ImageObject",300,407,{"name":42,"@type":43},"aboduw","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-16","2026-10-02",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",16,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What problem does the paper address about software engineering agents?","Question",{"text":63,"@type":64},"It addresses deployment challenges caused by reliance on closed-source or resource-intensive models, especially in private environments where software repositories are involved.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does the proposed Test-Time Compute (TTC) framework differ from scaling model size?",{"text":68,"@type":64},"Instead of increasing model parameters, it increases inference-time computation using internal TTC (trajectory synthesis with rejection sampling) and external TTC (development-process-based search guided by reward models and execution verification).",{"name":70,"@type":61,"acceptedAnswer":71},"What performance does the 32B model achieve on SWE-bench Verified?",{"text":72,"@type":64},"It achieves a 46% issue resolution rate, outperforming significantly larger models such as DeepSeek R1 671B and OpenAI o1.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},496931,1791199339,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,115,120,123,127],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":112,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":113,"slug":114},8,30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":124,"doc_module":4,"doc_module_name":25,"category_name":125,"show_sort_weight":124,"slug":126},10,"Lifestyle","lifestyle",{"id":128,"doc_module":4,"doc_module_name":25,"category_name":129,"show_sort_weight":97,"slug":130},19,"General","general",{"code":4,"msg":82,"data":132},{"doc_id":79,"user_id":133,"nickname":42,"user_avatar":134,"doc_module":4,"category_id":112,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":140,"language":141,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":12,"update_tm":145,"read_time":113,"preview_page_count":33,"preview_urls":146},3985747862266,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","Thinking Longer, Not Larger: Enhancing Software Engineering Agents via Scaling Test-Time Compute  \nYingwei Ma, Yongbin Li†, Yihong Dong* , Xue Jiang* , Rongyu Cao, Jue Chen, Fei Huang, Binhua Li  \n[mayingwei.myw@alibaba-inc.com](mayingwei.myw@alibaba-inc.com)  \nTongyi Lab, Alibaba Group  \nBeijing, China  \narXiv :2503 .23803v2 [ cs . SE] 8 Apr 2025  \nABSTRACT  \nRecent advancements in software engineering agents have demonstrated promising capabilities in automating program improvements. However, their reliance on closed-source or resource-intensive models introduces significant deployment challenges in private environments, prompting a critical question: How can personally deployable open-source LLMs (e.g., 32B models running on a single GPU) achieve comparable code reasoning performance?  \nTo this end, we propose a unified Test-Time Compute (TTC) scaling framework that leverages increased inference-time computation instead of larger models. Our framework incorporates two complementary strategies: internal TTC and external TTC. Internally, we introduce a development-contextualized trajectory synthesis method leveraging real-world software repositories to bootstrap multi-stage reasoning processes, such as fault localization and patch generation. We further enhance trajectory quality through rejection sampling, rigorously evaluating trajectories along accuracy and complexity. Externally, we propose a novel development-processbased search strategy guided by reward models and execution verification. This approach enables targeted computational allocation at critical development decision points, overcoming limitations of existing \"end-point only\" verification methods.  \nEvaluations on SWE-bench Verified demonstrate our 32B model achieves a 46% issue resolution rate, surpassing significantly larger models such as DeepSeek R1 671B and OpenAI o1 . Additionally, we provide the empirical validation of the test-time scaling phenomenon within SWE agents, revealing that models dynamically allocate more tokens to increasingly challenging problems, effectively enhancing reasoning capabilities. We publicly release all training data, models, and code to facilitate future research.1  \nKEYWORDS  \nSoftware Improvement, Test Time Scaling, Code Agent, SWE-bench  \n1 INTRODUCTION  \nLarge language model (LLM)-based agents have emerged as promising tools for automating various software engineering tasks, particularly in software maintenance (e.g., bug fixing) and evolution (e.g., adding new features). The SWE-bench [15] has become a critical  \n1[https://github.com/yingweima2022/SWE-Reasoner](https://github.com/yingweima2022/SWE-Reasoner)  \n†Corresponding Author.  \n*  \nWork done during Yihong and Xue’s internship at Tongyi Lab. Both are students at Peking University.  \nConference acronym ’XX, June 03–05, 2018, Woodstock, NY 2018. ACM ISBN 978-1-4503-XXXX-X/2018/06. . . $15.00 [https://doi.org/XXXXXXX.XXXXXXX](https://doi.org/XXXXXXX.XXXXXXX)  \nbenchmark for evaluating the capabilities ofSWE agents, specifically designed to simulate real-world software improvement tasks. Given a natural language description of an issue and the corresponding GitHub repository, SWE agent is tasked with generating a patch that resolves the issue. The typical framework in code agent research involves locating the relevant code, generating a patch, and verifying its correctness [40, 47, 51] .  \nThe main driver of progress in the field has been scaling model parameters and training data, leading to notable improvements in model capabilities. However, this scaling introduces critical deployment challenges. For instance, DeepSeek V3 671B requires 436GB of VRAM, even with 4-bit quantization, and demands multi-GPU setups (e.g., 6 NVIDIA A100 80GB) [39], making such systems impractical for most organizations. Additionally, closed-source models like Claude 3.5 raise privacy concerns when used via API services, particularly regarding private code repositories. These challenges lead to","cbCais7KjhZFzOBh","https://ap.wps.com/l/cbCais7KjhZFzOBh","pdf",3481556,12,"English","# Abstract\n# Introduction\n## Motivation and research question\n## Test-Time Compute (TTC) paradigm\n## Limitations of existing internal/external TTC\n## Proposed approach","[{\"question\":\"What problem does the paper address about software engineering agents?\",\"answer\":\"It addresses deployment challenges caused by reliance on closed-source or resource-intensive models, especially in private environments where software repositories are involved.\"},{\"question\":\"How does the proposed Test-Time Compute (TTC) framework differ from scaling model size?\",\"answer\":\"Instead of increasing model parameters, it increases inference-time computation using internal TTC (trajectory synthesis with rejection sampling) and external TTC (development-process-based search guided by reward models and execution verification).\"},{\"question\":\"What performance does the 32B model achieve on SWE-bench Verified?\",\"answer\":\"It achieves a 46% issue resolution rate, outperforming significantly larger models such as DeepSeek R1 671B and OpenAI o1.\"}]","Thinking Longer, Not Larger - Enhancing Software Engineering Agents via Scaling Test-Time Compute | PDF",1790944181,[147,151,155,159],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/d1f478e4de0ee17fdd63868eace5f4f3.webp",983,1272,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/2e2720a9d4edb3cfa1259e176f780297.webp",982,1270,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/6e028bfc4b81605d72ec8d5abe8b46ad.webp",981,1269,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/0cc7c32656b468f18174faf920416e15.webp",980,1268]