最新资讯
bloomberg.com Nvidia 加强东南亚芯片追踪以打击走私 thestack.technology 模型路由需求升温,Agent Router 推出开源替代方案 unite.ai Cashfree 为 AI Agent 的托管结账加入 WebMCP 工具 dev.to 我们在 DolphinBench 上测试记忆检索:纯关键词搜索暴露了自身回归 dev.to 别再把 Agent 写成 while 循环,把它建模为状态机 analyticsindiamag.com 小语言模型可能重塑企业 AI 部署方式 bloomberg.com Rightmove 与 Scout24 借 AI 产品应对低迷房市并上调展望 stackoverflow.blog 欢迎来到芯片时代:半导体制造、AI 数据中心与芯片设计的未来 www.youtube.com AI Agent 总犯同样的错:CentralAgent AI 将记忆重构为经验系统 pub.towardsai.net Netflix 科学家建议重采样 LLM 评判:5 次仅将误差棒缩小 13% pub.towardsai.net Jev 作为 LLM 前的静默层:构建提示感知的模型路由器 reddit.com OpenAI 称 Astra 仅满足 10% 安全任务标准
多元动态
登录 注册
大模型 x.com · @bcherny

Claude 对代码中高风险部分做建模、反例检测与修复

原文 我的收藏

有开发者披露 Claude 的工作方式:先针对棘手的状态机或易出现竞态的代码段建立程序模型,再在模型中寻找反例(疑似 bug),随后复现并修复这些 bug。该描述强调并非整个代码库已完成形式化验证,而是对最复杂部分做建模、反例检查与修复。

AI推荐理由 来自 Claude Code 相关开发者账号,具体描述了 Claude 在形式化方法上的工作流程:对易出错的状态机或竞态代码建模、寻找反例、复现并修复 bug,并明确说明并非整个代码库已被形式化验证。信息密度较高,属于可验证的技术流程描述,但仅为单条推文,缺少可复现的案例或数据,且未提供发布时间以外的独立证据。

72

正文

More details for the formal methods people -- what's happening is Claude is doing something like: 1. Building a model of the program, targeting a tricky state machine or race-prone part of the code 2. Finding counter-examples in the model. These are suspected bugs 3. Reproducing the bugs 4. Fixing the bugs in the code It's not that the whole codebase is formally verified (yet!..), more that the hairiest parts of the code are modeled, checked for counter-examples, and fixed.

来源报道 · 1 篇 · 以下链接均前往原始媒体

← 返回精选动态 原文

更多内容