Metraipolis › archive › dc_9025d19c29f3

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

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.13742
License (as archived)
CC0-1.0
Archived
2026-10-19T02:21:05.727Z
SHA-256 of the archived text
f98c98a6f63c18dc2ab32a66c1396ff3eaab33dba533928edd6e68df4820cda7
Stable URL of this page
https://metraipolis.com/documento/dc_9025d19c29f3

How to cite

Does ISO-Grounded NFR Specification Improve LLM Code Generation? A Comparison of Rich and Structured Interventions against a Natural-Language Baseline — arXiv:2608.13742 — arXiv (en), https://arxiv.org/abs/2608.13742 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_9025d19c29f3 (Metraipolis archive dc_9025d19c29f3, sha256 f98c98a6f63c18dc2ab32a66c1396ff3eaab33dba533928edd6e68df4820cda7)
BibTeX
@misc{dc9025d19c29f3,
  title = {Does ISO-Grounded NFR Specification Improve LLM Code Generation? A Comparison of Rich and Structured Interventions against a Natural-Language Baseline — arXiv:2608.13742},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.13742},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_9025d19c29f3; sha256 f98c98a6f63c18dc2ab32a66c1396ff3eaab33dba533928edd6e68df4820cda7},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.13742. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

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 Quality Model, either as rich natural-language prose (NL-rich) or as structured JSON (Structured), improves code generated on HumanEval/HumanEval-ET compared to a RobuNFR-style one-line baseline (NL-simple). We evaluate four NFRs (performance, error handling, code smell, readability) with ten prompt variations per condition under a fixed model snapshot and paired non-parametric analysis. Primary finding: ISO-grounded enrichment improves static quality proxies (unreadability density falls across all four NFRs (e.g., Performance 0.88 -> 0.69 for NL-rich)) and reduces sensitivity to prompt wording, but does not reliably improve functional correctness; for error handling, extended-test pass rate decreases, suggesting tension between defensive coding patterns and exact-output benchmarks. Secondary finding: when ISO content is held constant, NL-rich and Structured differ negligibly in correctness (|delta| <= 0.023), indicating that semantic content matters more than JSON-vs-prose format. Practitioners should invest in standard-grounded NFR content rather than serialization form. A fully traceable replication package is provided.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-17 in cs.AI).
Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2608.13742 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-19T02:02:02.864Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-17?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).