[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-86121-en":3,"doc-seo-86121-105":29,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":13,"seo_description":14,"update_tm":27,"read_time":28},86121,1374391974468,"Eden","https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0",6,"Technology","BACKENDFORGE：使用后端服务的端到端代理式代码生成基准","Large language models (LLMs) increasingly power agentic coding workflows that inspect files, execute commands, run tests, observe failures, and iteratively revise code. The key evaluation challenge is whether an agentic LLM can produce a deployable end-to-end software artifact that is behaviorally correct after execution. Backend services offer a controlled yet realistic substrate via APIs validated deterministically against OpenAPI contracts using black-box HTTP tests, enabling faithful measurement of contract realization.","BACKENDFORGE: Benchmarking Agentic End-to-End Code Generation  \nwith Backend Services  \nYuzhe Guo1,2 * Mengzhou Wu1,2 * Yuan Cao1,2 Jialei Wei3 Dezhi Ran1,2†  \nWei Yang3 Tao Xie1,2,3,4†  \n1 Key Lab of HCST (PKU), MOE; SCS, Peking University  \n2Beijing Tongming Lake Information Technology Application Innovation Center (TLAIC)  \n3Fudan University Institute of Systems for Advanced Computing  \n4 Shanghai Institute of Systems for Open Computing  \narXiv :2607 . 1 1042v 1 [ cs . SE] 13 Jul 2026  \nAbstract  \nLarge language models (LLMs) are increasingly used in agentic coding settings, where they can inspect files, execute commands, run tests, observe failures, and iteratively revise code. This shift raises a central evaluation question: can an agentic LLM generate an end-to-end software artifact that is both deployable and behaviorally correct under execution? Backend services provide a controlled but realistic substrate for this evaluation. Their APIs expose application-level executable semantics, and deployed behavior can be checked deterministically against an OpenAPI contract through black-box [HTTP](HTTP) interactions. We introduce BACKENDFORGE, a benchmark of  \n56 contract-defined backend generation tasks rewritten from real open-source applications. Given a visible specification and an OpenAPI contract, an LLM must generate a Dockerized service that is built, deployed, and evaluated only through [HTTP tests. To strengthen evalu](HTTP tests. To strengthen evalu)ation without introducing hidden requirements, BACKENDFORGE uses a test agent and a code agent to co-evolve the test oracle and reference service, where the test agent proposes specification-grounded backend tests and the code agent repairs the reference implementation. Although the best-performing model, GPT-5.5, succeeds on 55.4% of tasks under the base oracle, it succeeds on only 28.6% under the final oracle. This gap suggests that current LLMs can implement many local API behaviors, but still struggle to produce complete backend services.  \n1 Introduction  \nLarge language models (LLMs) are rapidly changing the unit of software generation. Early code generation systems primarily targeted localized assistance, such as completing a function, solving  \n*Equal contribution.  \n†Corresponding authors.  \na programming problem, or producing a small code snippet (Chen et al., 2021 ; Austin et al., 2021 ; Hendrycks et al., 2021) . Subsequent systems and benchmarks moved toward repositorylevel development, where models modify existing codebases to resolve bugs or implement requested changes (Jimenez et al., 2024) . More recently, LLMs are used in agentic coding settings where they can inspect project files, execute commands, run tests, observe failures, and iteratively revise code within a workspace (Yang et al., 2024 ; Anthropic, 2026a ; OpenCode, 2026) . As LLM coding workflows become more interactive and autonomous, user expectations are shifting from receiving isolated code fragments toward obtaining usable software artifacts (Yao et al., 2023 ; Wu et al., 2024 ; Lu et al., 2021 ; Hong et al., 2024) . For such artifacts, usefulness depends not only on whether code compiles or local tests pass, but on whether the generated system can be built, deployed, and interacted with through its intended interfaces.  \nEvaluating end-to-end software generation requires balancing realism against deterministic evaluation (Zhou et al., 2024 ; Xie et al., 2024) . A fully open-ended benchmark could ask models to infer requirements from underspecified user requests, design an interface, implement the system, and deploy it (Qian et al., 2024 ; Chen et al., 2024) . Such a setting would be realistic, but difficult to evaluate deterministically because failures could arise from requirement interpretation, interface design, implementation, or deployment (Ezzini et al., 2021 ; Kapoor et al., 2024) . In BACKENDFORGE, we instead isolate the contract-realization problem: given an explicit natural-langu","cbCaigrXmQucXbMc","https://ap.wps.com/l/cbCaigrXmQucXbMc","pdf",545953,1,15,"English","en",105,"# Abstract\n# 1 Introduction\n## Evaluation goal: contract realization\n## Deterministic vs realistic benchmarking\n## BACKENDFORGE pipeline and scoring","[{\"question\":\"BACKENDFORGE基准主要评估什么？\",\"answer\":\"评估代理式LLM能否在给定自然语言规范与OpenAPI合约下，构造可部署的后端服务，并使其对外可观测行为满足合约要求。\"},{\"question\":\"为什么在BACKENDFORGE中使用后端服务与OpenAPI合约？\",\"answer\":\"后端服务提供受控但真实的执行底座，其API语义可通过基于HTTP的黑盒交互，并与OpenAPI合约进行确定性对照评测。\"},{\"question\":\"BACKENDFORGE如何提升测试与评测的有效性？\",\"answer\":\"通过测试代理与代码代理协同演化：测试代理提出规范约束下的后端测试，代码代理修复参考实现，从而在不引入隐藏需求的前提下加强评测。\"}]",1784208645,38,{"code":4,"msg":30,"data":31},"ok",{"site_id":24,"language":23,"slug":32,"title":13,"keywords":33,"description":14,"schema_data":34,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":27},"backendforge-benchmarking-agentic-end-to-end-code-generation-with-backend-services","",{"@graph":35,"@context":85},[36,53,68],{"@type":37,"itemListElement":38},"BreadcrumbList",[39,43,47,50],{"item":40,"name":41,"@type":42,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":44,"name":45,"@type":42,"position":46},"https://docshare.wps.com/document/","Document",2,{"item":48,"name":12,"@type":42,"position":49},"https://docshare.wps.com/document/technology/",3,{"item":51,"name":13,"@type":42,"position":52},"https://docshare.wps.com/document/backendforge-benchmarking-agentic-end-to-end-code-generation-with-backend-services/86121/",4,{"url":51,"name":13,"@type":54,"author":55,"headline":13,"publisher":57,"fileFormat":60,"inLanguage":23,"description":14,"dateModified":61,"datePublished":62,"encodingFormat":60,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":56},"Person",{"url":40,"name":58,"@type":59},"DocShare","Organization","application/pdf","2026-07-17","2026-07-16",true,{"@type":65,"interactionType":66,"userInteractionCount":20},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"BACKENDFORGE基准主要评估什么？","Question",{"text":75,"@type":76},"评估代理式LLM能否在给定自然语言规范与OpenAPI合约下，构造可部署的后端服务，并使其对外可观测行为满足合约要求。","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"为什么在BACKENDFORGE中使用后端服务与OpenAPI合约？",{"text":80,"@type":76},"后端服务提供受控但真实的执行底座，其API语义可通过基于HTTP的黑盒交互，并与OpenAPI合约进行确定性对照评测。",{"name":82,"@type":73,"acceptedAnswer":83},"BACKENDFORGE如何提升测试与评测的有效性？",{"text":84,"@type":76},"通过测试代理与代码代理协同演化：测试代理提出规范约束下的后端测试，代码代理修复参考实现，从而在不引入隐藏需求的前提下加强评测。","https://schema.org",{"og:url":51,"og:type":87,"og:title":13,"og:site_name":58,"og:description":14},"article",{"robots":89,"canonical":51},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,113,118,123,128,131,135],{"id":20,"doc_module":4,"doc_module_name":45,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":46,"doc_module":4,"doc_module_name":45,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":52,"doc_module":4,"doc_module_name":45,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":45,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":11,"doc_module":4,"doc_module_name":45,"category_name":12,"show_sort_weight":111,"slug":112},50,"technology",{"id":114,"doc_module":4,"doc_module_name":45,"category_name":115,"show_sort_weight":116,"slug":117},7,"Healthcare",40,"healthcare",{"id":119,"doc_module":4,"doc_module_name":45,"category_name":120,"show_sort_weight":121,"slug":122},8,"Research & Report",30,"research-report",{"id":124,"doc_module":4,"doc_module_name":45,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":45,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":132,"doc_module":4,"doc_module_name":45,"category_name":133,"show_sort_weight":132,"slug":134},10,"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":45,"category_name":137,"show_sort_weight":106,"slug":138},19,"General","general"]