# Opus 4.7 vs Old Opus 4.6 vs New Opus 4.6

Stet publishes a public search API over its indexed pages; the guide is at https://www.stet.sh/agents/agent-access.

Source: https://www.stet.sh/blog/opus-4-7-zod
Source observed: 2026-11-26T11:27:30.407Z
Last checked: 2026-11-26T11:27:30.407+00:00
Indexed: 2026-11-26T11:46:35.617+00:00

---

# Opus 4.7 vs Old Opus 4.6 vs New Opus 4.6

**April 17, 2026 · Updated May 1, 2026 · 8 min read** · [Ben，Stet 创始人](https://www.stet.sh/about)

我们在 Zod 的 28 个历史任务上比较了三个 Opus 快照：2026 年 3 月 19 日的 Opus 4.6、2026 年 4 月 16 日重新运行的 Opus 4.6，以及 2026 年 4 月 16 日的 Opus 4.7。三者测试通过率都为 **12/28**。

因此，4.7 的变化主要不在可见测试通过数量，而在补丁形状：它更有纪律，footprint 更低，更常与人类变更等价，但不是“完全更聪明”。这组 Zod 结果支持的结论是：**Opus 4.7 方向性更好，而不是类别上更好。**

## 方法

| Arm | 推理级别 | 代表内容 |
| --- | --- | --- |
| Opus 4.6，March 19, 2026 | high | 同一任务集上较早的 Opus 4.6 运行 |
| Opus 4.6，April 16, 2026 | high | 同一任务集上新运行的 Opus 4.6 |
| Opus 4.7，April 16, 2026 | high | 同一任务集上新运行的 Opus 4.7 |

每个任务都从 Zod 的一个合并 commit 取基线。我们在 Claude Code 中运行每个 Opus 快照，重现相同变更，并结合测试通过率评分：

- **等价性：** 补丁是否解决预期问题，不论测试是否捕获它？
- **代码审查通过：** 补丁是否看起来值得合并？这是二元指标。
- **Footprint risk：** 补丁与接受的变更有多大差异；越低越好。
- **Craft（0–4）：** 简单性、连贯性、意图性、鲁棒性、清晰性。
- **Discipline（0–4）：** 指令遵循、范围纪律、diff minimality。

Judge 是 `gpt-5.4`，三个实验臂使用相同 rubric 版本。每个补丁独立评分，judge 看到补丁和任务，不看到 arm 标签或模型名。没有双评审者校准，因此绝对分数按方向理解，跨实验臂差值更值得使用。

## 4.7 发生了什么变化

对编码 agent 工作而言，最大的变化是补丁形状而不是原始任务完成数。Opus 4.7 更少出现失控会话和高 footprint 补丁，也更常产出被等价性 grader 判定为符合人类变更的补丁。

代价是触达不足：4.7 值得在自己的仓库测试，但不要期待简单的通过率跃升。改进主要在 footprint 和对齐程度，而不是可见测试通过数。

## 主要结果

| 指标 | Opus 4.6 — Mar 19 | Opus 4.6 — Apr 16 | Opus 4.7 — Apr 16 |
| --- | ---: | ---: | ---: |
| 测试通过率 | 42.9% | 42.9% | 42.9% |
| 等价性 | 39.3% | 32.1% | 46.4% |
| Code-review pass | 39.3% | 25.0% | 25.0% |
| Footprint risk（越低越好） | 0.210 | 0.221 | 0.090 |
| 平均每任务时间 | 3m 26s | 7m 58s | 3m 12s |
| 每任务成本 | $8.93 | $6.65 | $8.11 |
| 总 tokens | 49.1M | 35.6M | 44.0M |

三个 arm 通过相同测试。4.7 没有领先的维度是二元代码审查通过率：March 19 运行通过 11 个，4.7 通过 7 个。新 Opus 4.6 的单任务成本最低，但补丁等价性更低、footprint 更高、完成任务更慢。

4.7 的每任务成本低于 March 4.6：**$8.11 vs $8.93**；总 tokens 为 **44.0M vs 49.1M**。新 4.6 最便宜（$6.65、35.6M tokens），但用时是 4.7 的 2.3 倍，产出更松散、等价性更低的补丁。

## Footprint risk

Footprint risk 衡量补丁是否比接受的变更更大或更偏离。28 个任务的分布如下：

| Arm | 平均风险 | Low | Medium | High |
| --- | ---: | ---: | ---: | ---: |
| Opus 4.6 — Mar 19 | 0.210 | 26 | 1 | 1 |
| Opus 4.6 — Apr 16 | 0.221 | 22 | 3 | 3 |
| Opus 4.7 — Apr 16 | 0.090 | 27 | 1 | 0 |

Opus 4.7 是唯一没有 high-footprint 补丁的 arm；新 Opus 4.6 更常触及不必要的代码。

## 等价性

| Arm | Equivalence |
| --- | ---: |
| opus 4.6 — mar 19 | 39.3% |
| opus 4.6 — apr 16 | 32.1% |
| opus 4.7 — apr 16 | 46.4% |

等价性衡量补丁是否解决预期问题，而不只是可用测试是否捕获它。4.7 的补丁与 Zod 人类变更更等价，也更符合代码库标准和人类意图。

## Rubric scores

Review 只对通过二元代码审查的补丁运行；discipline 对每个补丁运行。两者都是 0–4 分，越高越好。

### Review：可发布补丁

| 指标 | Opus 4.6 — Mar 19 | Opus 4.6 — Apr 16 | Opus 4.7 — Apr 16 |
| --- | ---: | ---: | ---: |
| Correctness | 1.38 | 2.00 | 2.15 |
| Bug risk | 2.08 | 2.46 | 2.54 |
| Edge cases | 2.00 | 2.46 | 2.46 |
| Maintainability | 2.00 | 2.46 | 2.85 |
| Overall | 1.87 | 2.35 | 2.50 |

4.7 并非在所有正确性维度都绝对领先；当它产出看起来可发布的补丁时，补丁往往更干净、更可维护。可维护性差距最大：**2.00 → 2.46 → 2.85**。

### Discipline：所有补丁

| 指标 | Opus 4.6 — Mar 19 | Opus 4.6 — Apr 16 | Opus 4.7 — Apr 16 |
| --- | ---: | ---: | ---: |
| Instruction adherence | 2.39 | 2.41 | 2.58 |
| Scope discipline | 2.84 | 2.98 | 3.29 |
| Diff minimality | 3.02 | 3.07 | 3.39 |
| Mean | 2.75 | 2.82 | 3.09 |

4.7 在每个 discipline 维度领先。Craft mean（简单性、连贯性、意图性、鲁棒性、清晰性）为 **2.86 / 2.84 / 2.93**，在 n=28 下相差约 0.1，宜视为与噪声一致。Intentionality 从 **2.98 → 3.27 → 3.58**，是其中的区分项。

## 各 arm 的典型失败模式

### 三者共有

- 静默 fallback 分支隐藏根因，而不是传播诊断：未知 precision 被接受为不受限、null-only tuple 生成空 `anyOf`、未映射类型输出原始英文标签、达到递归上限时返回原对象。
- 在调用点使用类型系统逃生舱，而不是收紧底层边界：`as any`、inline `_zod` intersections、完整表达式的 `SafeParseResult` casts。

### Old Opus 4.6

典型问题是未兑现的 plumbing：增加但没有被使用的字段和 helper，例如 `ProcessParams.parent`、`Sizable.verb`、`Identity` 类型、只有一个调用者的 `~validate` 方法。生产文件中还留下注释掉的草稿代码；Deno 与 Node 镜像有时也不同步。

### New Opus 4.6

典型问题是签入生成产物：vendored `node_modules/.pnpm` 树、`node_modules/.bin/attw`、`.pytest_cache`、编译后的 `.pyc` 文件；一次任务的补丁膨胀到 **2.6 GB**。还出现 `

---

[Read this page’s summary](https://www.stet.sh/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fwww.stet.sh%2Fblog%2Fopus-4-7-zod&trace=t_5da45423e484)

## Ask a follow-up about this page

Need a more specific answer? Ask the exact question you have. It returns a fresh, cited answer from Stet’s knowledge base. No account or API key required.

Open this URL with your own question, URL-encoded. Include your question in q. All research inputs are optional; no account or setup.

`GET https://www.stet.sh/agents/agent/faq?q={question}&trace=t_5da45423e484`

[Tool guide and examples](https://www.stet.sh/agents/agent-access) · [OpenAPI](https://www.stet.sh/agents/api/public/v1/openapi.json) · [Page TLDR form](https://www.stet.sh/agents/agent-tools/page-tldr?url=https%3A%2F%2Fwww.stet.sh%2Fblog%2Fopus-4-7-zod). Opening a form does not execute a tool.