返回全部动态

ISO接地NFR规范能否提升LLM代码生成质量?

原标题:Does ISO-Grounded NFR Specification Improve LLM Code Generation? A Comparison of Rich and Structured Interventions against a Natural-Language Baseline

arXiv cs.SE一手来源研究质量 81

AI 摘要

该研究比较了在LLM代码生成中,基于ISO/IEC 25010:2023的丰富自然语言和结构化JSON两种NFR规范方式,与RobuNFR风格的单行基线。研究发现,ISO接地增强能改善静态质量代理指标并降低对提示措辞的敏感性,但不能可靠提升功能正确性;当ISO内容固定时,散文和JSON格式差异不大。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

Does ISO-Grounded NFR Specification Improve LLM Code Generation? A Comparison of Rich and Structured Interventions against a Natural-Language BaselineConference: 20th Brazilian Symposium on Software Components, Architectures, and Reuse; September 8–11, 2026; São Paulo, SP, Brazil Abstract. In LLM-based code generation, Non-Functional Requirements (NFRs) are often specified as terse one-line phrases. We ask whether grounding those specifications in ISO/IEC 25010:2023, either as rich natural-langu


发布时间:2026-08-17 12:00
抓取时间:2026-08-17 14:41
来源机构:arXiv
阅读原文arxiv.org