跳到正文
Microsoft Research·· 28 天前

Formally verifying agent-written full-stack web apps with PDD Kit

Formally verifying agent-written full-stack web apps with PDD Kit

中文摘要

AI代理可以以人类难以逐行审查的规模生成代码。PDD Kit通过创建正式规范并对其进行测试,帮助确保代码按照开发人员的意图运行。它将开发人员的意图转换为Verus规范,证明AI生成的代码对于每个输入都符合该规范,并在证明不切实际时使用测试。开发人员只需审查意图,而不是每一行代码。文章《使用PDD Kit对AI编写的全栈网络应用进行形式化验证》首先发布在微软研究院。

英文原文

AI agents can generate code at a scale that’s hard for humans to review line-by-line. PDD Kit helps ensure the code is doing what the developer intended by creating formal specifications and testing against them. It converts developer intent into a Verus specification, proves AI-generated code meets it for every input, and uses tests where proofs aren't practical. Developers review intent, not every line. The post Formally verifying agent-written full-stack web apps with PDD Kit appeared first on Microsoft Research .

应来源方要求,这里只提供摘要与原文入口。完整内容请阅读原文。

来源:Microsoft Research · microsoft.com