Models · Evals
FrontierCode 2.0FrontierCode 2.0
代码改动是否达到「维护者愿意合并」的标准Whether a code change meets a maintainer’s merge bar
| 测什么What it measures | 代码改动是否达到「维护者愿意合并」的标准Whether a code change meets a maintainer’s merge bar |
|---|---|
| 任务与数据Tasks and data | 132 个任务,来自更多仓库与类别,含安全补丁、性能优化;参考解平均改动文件多 67%、代码行多 89%,代码库大 25%132 tasks from more repositories and categories, including security patches and performance work; reference solutions touch 67% more files and 89% more lines and a 25% larger codebase |
| 指标Metric | mergeability 分数与通过率;由资深开源维护者制定的评分标准Mergeability score and pass rate, using criteria set by senior open-source maintainers |
| 污染风险Contamination risk | 官方未公开全部题集;评分依赖维护者标准,存在主观判断;任务来自真实仓库,模型可能见过相关代码。Medium; tasks are public but multi-file changes are hard to memorise. |
| 复现Reproduction | 用官方 harness 跑固定任务,记录模型档位、成本、输出 token 与失败类别;mergeability 要按评分细则复核。Medium to high; multi-file tasks and human scoring; a single rollout can cost tens of dollars. |
| 成本Cost | 中高;多文件任务与人工评分,单次 rollout 成本可达十几美元Medium to high; multi-file tasks and human grading. |
| 快照日Snapshot | 2026-11-19 |
| 核验日Verified | 2026-11-19 |
怎么读How to read it
它补的是「能否合并」而不是「能否跑通测试」;分数低不代表模型不能用,代表它还没达到维护者的合并标准。选型时把它和自家代码库的 50–100 条真实 PR 对照。Measures mergeability, not just test passing. Report the rubric and the reviewer.
下一步Next steps
- 固定仓库快照、工具权限与超时,把失败拆成编译、测试、越权与环境四类。Pin the repo snapshot, tool permissions and timeout; split failures into build, test, permission and environment.
- 用你自己的 20–50 个真实 issue 或任务复跑,区分“能写出代码”和“能交付可用结果”。Re-run on 20–50 of your real issues or tasks; separate “can write code” from “can deliver a usable result”.
- 把 pass@1、token 成本与人工复核时间一起报;只看通过率会漏掉返工成本。Report pass@1 with token cost and human review time; pass rate alone hides rework.