Vibe-Coding:基于反馈的自动化验证可行性研究——无需人工代码审查 / Vibe-Coding: Feedback-Based Automated Verification with no Human Code Inspection, a Feasibility Study
1️⃣ 一句话总结
这项研究提出了一种无需人工检查代码的自动化方法,通过向大语言模型提供精确的约束违反反馈,使其能在几轮迭代内自动生成并修正复杂自适应系统中的代码,从而让不具备编程技能的领域专家也能可靠地设计系统。
Vibe coding inherently assumes iterative refinement of LLM-generated code through feedback loops. While effective for conventional software tasks, its reliability in runtime-adaptive systems is unclear -- especially when generated code is not manually inspected. This paper studies feedback-based automated verification of LLM-generated adaptation managers in Collective Adaptive Systems (CAS). We focus on the key challenges of verification in the loop: how to detect failures of generated code at runtime and how to report them precisely enough for an LLM to fix them. We combine the adaptation loop with a vibe-coding feedback loop where correctness is checked against (i) generic architectural constraints and (ii) functional constraints formalized in Functional Constraints Logic (FCL), a novel first-order temporal logic over potentially finite traces. Conducting the Dragon Hunt CAS case study, we show that fine-grained constraint violations provide actionable feedback that typically yields a valid adaptation manager within a few iterations, while simple coarse metric-based feedback often stalls. Our findings suggest that feedback precision is the dominant factor for reliable vibe coding in systems designed by domain experts with no programming skills, thereby obviating the need for human code inspection.
Vibe-Coding:基于反馈的自动化验证可行性研究——无需人工代码审查 / Vibe-Coding: Feedback-Based Automated Verification with no Human Code Inspection, a Feasibility Study
这项研究提出了一种无需人工检查代码的自动化方法,通过向大语言模型提供精确的约束违反反馈,使其能在几轮迭代内自动生成并修正复杂自适应系统中的代码,从而让不具备编程技能的领域专家也能可靠地设计系统。
源自 arXiv: 2604.14867