paperbot · PL 论文追踪

全部论文 待读 收藏

P1 Evaluating and Improving the Quality of LLM-Generated Code

评估与改进 LLM 生成的代码质量
FSE Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering2026匹配度 6/10 · 该教程将静态分析用于评估和改进 LLM 生成代码的质量与安全性,并提及 agentic 修复,与“PL→AI 用静态分析处理 LLM/Agent 相关程序”有交叉;但它更偏向工程评估流程而非分析 ML/Agent 系统本身,也不是用 LLM 改进静态分析,且教程形式理论深度有限。引用 0 inbox
Glaucia Melo, Jessica Pourleyli, Genevieve Caumartin, Corey Yang-Smith, Diego Elias Costa, Ahmad Abdellatif
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出可复用的端到端流水线,以静态分析评估并改进 LLM 生成代码的质量与安全性。

LLM 正被广泛用于生成生产代码,但对其质量与安全性的系统评估方法仍不成熟。本文(教程)提出一套可复用的端到端评估流水线,根植于经验软件工程实践,聚焦生成后验证而非提示设计。参与者使用静态分析工具评估代码的可维护性、可靠性与安全性,并在不同模型、提示与人类编写的基线之间进行比较;流水线支持对输出进行结构化聚合与解释,使评估可复现且有依据。扩展方向包括智能体修复、用于信任校准的可解释性以及偏见感知评估。参与者将获得实用评估工件和在现代开发流程中验证 AI 生成代码的原则性框架。

问题
LLM 生成代码日益用于生产,但其质量与安全缺乏系统、可复现的评估方法。
方法
提出基于经验软件工程实践的可复用端到端后生成验证流水线,使用静态分析工具评估质量与安全性,并跨模型、提示与人类基线进行比较。
评估
通过教程实践应用静态分析工具,比较不同模型、提示与人类基线的可维护性、可靠性与安全性,并讨论智能体修复、可解释性与偏见感知等扩展。
原文摘要(Abstract)

Large Language Models (LLMs) are increasingly used to generate production code, yet systematic methods for evaluating their quality and security remain underdeveloped. This tutorial introduces a reusable, end-to-end evaluation pipeline grounded in empirical software engineering practices, focusing on post-generation validation rather than prompt design. Participants will apply static analysis tools to assess maintainability, reliability, and security, and compare results across models, prompts, and human-written baselines. The pipeline supports structured aggregation and interpretation of outputs, enabling reproducible and defensible assessments. Extensions include agentic remediation, explainability for trust calibration, and bias-aware evaluation. Attendees will leave with practical evaluation artifacts and a principled framework for validating AI-generated code in modern development workflows.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{MeloPCYCA26,
  title = {Evaluating and Improving the Quality of LLM-Generated Code},
  author = {Glaucia Melo and Jessica Pourleyli and Genevieve Caumartin and Corey Yang-Smith and Diego Elias Costa and Ahmad Abdellatif},
  booktitle = {FSE},
  year = {2026},
  doi = {10.1145/3803437.3804900}
}