# SWE-bench Science：编码智能体能否解决科学领域的工程任务？

- 来源：HuggingFace Daily Papers（社区热门论文）
- 发布时间：2026-08-20 08:00
- AIHOT 分数：55
- AIHOT 链接：https://aihot.virxact.com/items/cmt2jqg1503ijroy50gw2g7lx
- 原文链接：https://arxiv.org/abs/2608.19799

## AI 摘要

研究团队推出 SWE-bench Science，一个覆盖 20 个科学领域、98 个 GitHub 仓库、共 119 项任务的仓库级科学软件工程基准。即使表现最佳的智能体 Claude Code with Opus-5（max），pass@1 也不足 50%。配对消融实验显示，科学知识并非一律有益：良好对齐的信息能提升平均性能与 token 效率，而错位的引导可能引发锚定效应。

## 正文

Software increasingly functions as part of the scientific instrument itself, making failures in scientific code capable of compromising not only program behavior but also the evidence underlying scientific conclusions. Yet existing evaluations of coding agents largely emphasize aggregate task success, providing limited insight into why agents fail when repairing scientific software. We introduce SWE-bench Science, a repository-level benchmark for scientific software engineering comprising 119 tasks from 98 GitHub repositories across 20 scientific domains. Each task is organized into one of three paradigms: Issue-driven, Expert-exploratory, and Engineering-integration. Even the best-performing agent, Claude Code with Opus-5 (max), achieves a pass@1 below 50%, highlighting the substantial challenges posed by scientific software engineering. We identify four recurring failure mechanisms: deficits in scientific knowledge or abstraction, misguided exploration or surface-level repair, incomplete repair coverage or system integration, and failures to generalize scientific knowledge beyond observed cases in our analysis. We further conduct a paired ablation that removes explicit scientific guidance while preserving the repository and executable engineering context. The results show that scientific knowledge is not uniformly beneficial: well-grounded information can constrain repair and improve average performance and token efficiency, whereas poorly aligned guidance can induce anchoring and does not necessarily improve exact repair success. Together, SWE-bench Science provides a broad testbed for studying both the capabilities and failure mechanisms of coding agents in scientific software engineering.
