AssumptionMiner: Extracting, Tracing, and Revising Implicit Assumptions in LLM Code Generation 文章

ArXiv CS.CL2026-07-28PAPERen作者: Jie "JW" Wu

详细信息

来源站点
ArXiv CS.CL
作者
Jie "JW" Wu
文章类型
PAPER
语言
en
发布日期
2026-07-28

摘要

arXiv:2607.22898v1 Announce Type: cross Abstract: Large language models (LLMs) generate code from natural-language prompts, yet real-world prompts rarely provide complete specifications. When prompts leave input formats, error handling, or design decisions unspecified, LLMs fill these gaps with implicit assumptions that shape the generated code's behavior and correctness. Because these assumptions remain hidden, generated code may satisfy tests while violating developer intent. We present AssumptionMiner, a framework that makes implicit assumptions a first-class artifact of LLM-based code generation. In addition to code, AssumptionMiner produces an explicit assumption layer, a structured representation of inferred constraints and design decisions that developers can inspect, confirm, or revise. An AST-based dependency graph enables targeted regeneration of only the code affected by a revised assumption.

相关事件

暂无数据

相关公司查看全部 (2)

A
Advanced Photon SourceRESEARCH_INSTITUTE

相关人物

暂无数据