EasyEnv
Engineering/课程/课程目录/Vibe 编程:高级工程/Verification Loops: Make It Prove Itself
Vibe 编程:高级工程
高级第 5 / 12 节40 分钟 · 实操

Verification Loops: Make It Prove Itself

Vibe 编程:高级工程 课程的一部分

模型会告诉你它写的代码是正确的。它不是在撒谎,也不是说对了,它压根无从知晓。正确性要靠拿代码去跑一份「什么算正确」的定义才能确立,而对一个资深工程师来说,有意思的问题是:这份定义该怎么写,才能抓住生成代码真正会犯的那些错。这一课讲的就是把这个闭环合上,再把它交到模型手里,让它在你还没看差异之前就先跑一遍。

让模型给你写一个函数,顺带写上测试,你拿到的测试覆盖的正是这份实现已经处理好的那些情况。这不是它使坏,而是同一套生成过程、凭同一份理解,产出了这两样东西。测试原封不动地继承了实现的盲区。 ...

想在真实环境里学习 Vibe 编程:高级工程 Verification Loops: Make It Prove Itself 吗?

点击下方,立即获得一台预装 Vibe 编程:高级工程 的 Linux 主机,跟懂你代码的 AI 导师一起完成 Verification Loops: Make It Prove Itself 的实操练习。

开始这节课Verification Loops: Make It Prove Itself

你将学到什么

  • Properties and invariants instead of example tests
  • Generated inputs find what handwritten examples miss
  • Shrinking a counterexample before handing it over
  • Closing the loop so the model checks itself

用你的语言阅读本课

本课程的所有课时

12 节
  1. 1Context Is The Whole Game35 分钟
  2. 2Pick The Right Brain, Pay The Right Price25 分钟
  3. 3Spec-Driven Development35 分钟
  4. 4Build Your Harness35 分钟
  5. 5Verification Loops: Make It Prove Itself40 分钟
  6. 6Reading Generated Code Like A Senior40 分钟
  7. 7Legacy Archaeology40 分钟
  8. 8Migrations At Scale40 分钟
  9. 9Debugging Code You Did Not Write40 分钟
  10. 10The Security Model Of An Agent40 分钟
  11. 11AI On A Team30 分钟
  12. 12Judgment: Knowing When Not To35 分钟

探索其他课程

Verification Loops: Make It Prove Itself - Vibe 编程:高级工程 (Chinese) | Engineering Courses