SCCGBench:真实Web服务调用代码生成评估基准
SCCGBench: Executability-Oriented Evaluation for Real-World Web Service-Call Code Generation
SCCGBench评估了六种代码LLM在真实Web服务调用中的表现,揭示了API接地是主要瓶颈。
SCCGBench是一个包含3,135个可追踪RapidAPI调用函数的基准测试,来自真实GitHub仓库。该基准使用redacted-intent生成减少循环泄漏,并引入Mock、Robust、ParamF1等诊断指标。
评估显示,在仅意图设置下,最强模型仅获得3.76%的Mock成功率;
在黄金文档Oracle设置下,开源模型Mock达到88.73%-90.
52%,DeepSeek-V4-Pro为76.47%-81.
86%。
SCCGBench: Executability-Oriented Evaluation for Real-World Web Service-Call Code Generation
LLM-generated service-call code is increasingly important for service computing, where developers rely on large language models (LLMs) to compose services and invoke third-party services. However, current approaches have not yet evaluated the invocation and execution of services in the actual code environment. To support execution-grounded evaluation, we present the Service-Call Code Generation Benchmark (SCCGBench), a benchmark of 3,135 traceable and decontamination-filtered RapidAPI call functions from real GitHub repositories. SCCGBench uses redacted-intent generation to reduce circular leakage and introduces Mock, Robust, ParamF1, and host-, endpoint-, method-, and parameter-level diagnostics. Mock denotes a virtual-execution hit that simultaneously matches the gold host, endpoint, and HTTP method, while Robust further requires status checking and exception handling. We evaluate six code LLMs and one non-neural retrieval baseline under intent-only, retrieval-augmented, and gold-documentation Oracle settings. Results show that models often generate syntactically correct or superficially similar HTTP-request code but achieve low Mock success in the intent-only setting; the strongest evaluated model obtains only 3.76% Mock. Under the gold-documentation Oracle settings (C3 and C5), Mock reaches 88.73%--90.52% for the open-source models evaluated in RQ2 and 76.47%--81.86% for DeepSeek-V4-Pro, whereas sparse and dense retrieval remain far below this oracle level. The findings indicate that service/API grounding is the main bottleneck: Mock is dominated by host, endpoint, and method alignment, while ParamF1 separately reveals parameter-alignment errors. SCCGBench provides an execution-grounded benchmark for Web service invocation, API recommendation, service-interface retrieval, endpoint grounding, and reliable service-call automation.
本条情报归属 AITOP「论文」核心栏目,重点聚焦中国 AI 产业与国产大模型生态。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」「中美大模型技术代差与商业化对照」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:SCCGBench、RapidAPI、GitHub、代码生成,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始信息发布自一手权威信源「arXiv: DeepSeek」(Tier-1 一手发布),具备高确定性参考价值。截至目前,全网已有 2 家独立信源对该事件进行交叉印证与跟进报道(含 IT之家 等),属于近期高关注度行业信号。
- IT之家10-09 00:49原文