跳到正文
数字商店
原文
Shreya Shankar· @sh_reya · X·· 2026-10-28精选AI 评分71
AI 导读

Shreya Shankar 宣布与 Hamel Husain 合著的新书《Evals for AI Engineers》正式上市,现已在 Amazon 发售并开放签售活动。引用案例指出该书强调错误分析不应从量化指标起步,而是先通读 Agent 的端到端执行轨迹并在首个出错步骤手动标注简记,累积足够样本后再归纳具体故障类型。

推荐理由

该书主张以端到端追踪日志的手工排错替代空泛指标,为智能体工程提供了具体可落地的评估流程。

正文 · AI 翻译

评估手册来了。Hamel 是评估界的 🐐,我很幸运他愿意和我一起写这本书!!我们感谢我们的审稿人、编辑、插画师和读者。在亚马逊上订购;或者来我们的签售会拿一本(链接在回复中)。

引用Daniel Adekugbe@Dandiggastech
我读了 @HamelHusain 和 @sh_reya 合著的《Evals for AI Engineers》中的错误分析章节,然后意识到我早就有那份数据集了。 一些背景。我整天都在和编程 agent 打交道:Claude Code、Codex、Hermes、Antigravity。每一次会话都是一条 trace。我输入了什么、每一次工具调用、返回了什么、它说了什么。成百上千条,就躺在磁盘上,从没被读过。 这一章说:不要从指标开始。从头到尾读 trace。标出第一次出错的那一步,用你自己的话写一条简短的笔记。每条 trace 给一个是或否的判定,不要打五分制。只有标完 20 条 trace 之后,才把它们归入失败类型。而且不要让模型去发明分类,它会甩给你一个“幻觉”,然后漏掉那些你系统特有的问题。 所以我把它做进了我用来观察 agent 的那个仪表盘里。最近 14 天,每个应用最多 200 个会话,我截图时是 431 个。每一步都有一个按钮:把这一步标记为失败。每一次标记都会进入一个 Failures 列表,附带笔记,并支持下载 CSV。 它找到的第一个失败,就在这个列表本身。最新的 200 条 Claude 记录里有 193 条是“Untitled”。我自己的用量检查每 10 分钟跑一次,留下了 1,893 个一次性会话,把真正的会话挤了出去。过滤之后,有 117 个真实的会话是有名字的。如果样本是错的,那还没开始读就已经错了。 第一个真正的标记:一个 agent 在还没看过一个节拍器应用的情况下,就说它做完了。最后得靠一个 stop hook 强制截屏。还没有分类。只写了笔记。 agent 的答案是数据,trace 才是数据。
原文

I read the error analysis chapter of Evals for AI Engineers by @HamelHusain and @sh_reya and realised I already had the dataset. Some backstory. I work with coding agents all day: Claude Code, Codex, Hermes, Antigravity. Every session is a trace. What I typed, every tool call, what came back, what it said. Hundreds of them, sitting on disk, never read. The chapter says: don't start with metrics. Read traces end to end. Mark the first step where it went wrong and write one short note in your own words. Yes or no verdict per trace, no scores out of 5. Only after 20 marked traces do you group them into failure types. And don't let a model invent the categories, it will hand you "hallucination" and miss the ones specific to your system. So I built it into the dashboard I use to watch my agents. Last 14 days, up to 200 sessions per app, 431 when I took the screenshot. Each step has one button: mark this as the failure. Every mark lands in a Failures list with the note and a CSV download. The first failure it found was in the list itself. 193 of the 200 newest Claude rows were "Untitled". My own usage check had been running every 10 minutes and left 1,893 throwaway sessions that pushed the real ones out. Filtered, 117 real sessions named. If the sample is wrong, the reading is wrong before it starts. First real mark: an agent said a metronome app was done before it had looked at it. A stop hook had to force the screenshot. No category yet. Just the note. The agent's answer is not the data. The trace is the data.

在 X 查看被引用的帖子

来源:Shreya Shankar · x.com