trials 和输入数量可让二者更精确。🏆 anthropic/claude-sonnet-5 · 1 场对局中胜出 1 场 · 战绩 1–0–0 (胜–负–平) · 绝对分 5.0/5
Output A is the clear winner due to its safer handling of object properties via hasOwnProperty, preventing bugs with keys that match Object.prototype methods.
| # | 模型 | 战绩 胜–负–平 | 绝对分 1–5 | tsc 通过 | 平均成本 | 平均延迟 | 成功率 |
|---|---|---|---|---|---|---|---|
| 1 | anthropic/claude-sonnet-5 | 1–0–0 共 1 场 · 100% | 5.0 | 100% | $0.0069 | 5.2s | 100% |
| 2 | deepseek/deepseek-v4-pro | 0–1–0 共 1 场 · 0% | 5.0 | 100% | $0.0018 | 4.3s | 100% |
| 模型 | 符合规格 | 正确性 | 类型质量 | 简洁性 | 健壮性 |
|---|---|---|---|---|---|
| anthropic/claude-sonnet-5 | 50 | 100 | 50 | 50 | 100 |
| deepseek/deepseek-v4-pro | 50 | 0 | 50 | 50 | 0 |
这些是单场、相对 A/B 的裁判理由(单一输入、仅取首个成功输出),不是该维度的综合质量评价;维度层只列出与总体判定不一致的项(标 ⚠,即真正的取舍点),一致的已隐藏。绝对质量请看上方「绝对分 1–5」表。
| 输入 | A | B | 维度 | 胜者 | 理由 |
|---|---|---|---|---|---|
| code-utils | anthropic/claude-sonnet-5 | deepseek/deepseek-v4-pro | 总体 | anthropic/claude-sonnet-5 | Output A is the clear winner due to its safer handling of object properties via hasOwnProperty, preventing bugs with keys that match Object.prototype methods. |
| code-utils | anthropic/claude-sonnet-5 | deepseek/deepseek-v4-pro | 符合规格 ⚠ | 平局 | Both implementations successfully parse query strings into the requested record format. |
| code-utils | anthropic/claude-sonnet-5 | deepseek/deepseek-v4-pro | 类型质量 ⚠ | 平局 | Both use identical, appropriate TypeScript types for the function signature and internal variables. |
| code-utils | anthropic/claude-sonnet-5 | deepseek/deepseek-v4-pro | 简洁性 ⚠ | 平局 | Both implementations are straightforward, avoid unnecessary dependencies, and follow a very similar logical structure. |