首页 > AI前沿 > HarnessTax: How Much Does the Harness Matter for Coding Agents?

HarnessTax: How Much Does the Harness Matter for Coding Agents?

arXiv机器学习 2026-12-03 21:15 6 阅读 查看原文
用户现在需要把给定的新闻正文排版成语义化的HTML片段,遵循要求。首先看正文,开头是引言部分,首先第一个段落是讲现在的研究背景对吧?然后接下来有评估的部分,然后有harness tax的内容,还有额外成本来源,还有组件修改的内容,最后是HarnessTax的意义。 首先,首先第一段是开头的背景:“Every coding agent runs a model inside a $\mathit{harness}$, yet we lack a principled understanding of what the harness adds and which of its components matter. We present the first systematic study of how production coding-agent harnesses and their individual components affect cost and success rate, and examine where the harness adds cost and when it changes what a model can solve.” 这个用

包裹,对吧? 然后接下来是评估的部分,这里可以用

划分小节?不对,先看内容,接下来是评估的设置:“We evaluate eight models in three production harnesses (Claude Code, Codex, Pi) on four benchmarks: SWE-bench Lite, Terminal-Bench 2.0 and 4.0, and Terminal-Bench Science 0.1.” 这个是不是可以用

?或者接下来讲harness tax的部分,哦,对,先理清楚结构: 首先第一个

是总起的研究背景和研究内容。然后

可以设为“Evaluation Setup”?不对,不对,不能增内容?哦不对,规则是保留原文所有信息,不得增删改内容,哦对!小标题的内容不能自己加?不对,等下看规则2是“长文用

/

划分小节”,那小节的标题要从原文来?不对,原文里没有现成的小标题啊,哦不对,原文是连续的段落?等下看原文的内容,有没有可以划分小节的地方?哦等下,原文是: 第一段:研究背景和研究目的:Every coding agent runs a model inside a $\mathit{harness}$, yet we lack a principled understanding of what the harness adds and which of its components matter. We present the first systematic study of how production coding-agent harnesses and their individual components affect cost and success rate, and examine where the harness adds cost and when it changes what a model can solve. 然后接下来是评估方法:We evaluate eight models in three production harnesses (Claude Code, Codex, Pi) on four benchmarks: SWE-bench Lite, Terminal-Bench 2.0 and 4.0, and Terminal-Bench Science 0.1. 然后是核心发现“harness tax”:For a fixed model, the harness has little effect on success rate but a much larger effect on cost, which we call the harness tax. With Claude Fable 5 on Terminal-Bench 4.0, for example, Claude Code costs $2.1\times$ as much as Pi, with no statistically detectable gap in success rate. Pi, with only four tools, is on the cost-success Pareto frontier on every benchmark. Models also perform competitively outside their provider's harness, often at a lower cost. 然后是额外成本的来源:Much of the extra cost comes from the system prompt, tool definitions, and accumulated context that the harness re-sends with every model call, including definitions of tools the model never calls. 然后是成功率差异的原因:Success rates rarely differ significantly across harnesses. When they do, part of the gap comes from system-level features such as handling large image inputs. 然后是组件修改的实验:We also modify five components one at a time to isolate the effects of harness design choices. Enabling subagents in Codex, for instance, increases the cost by $3.0\times$ on Terminal-Bench 2.0 without improving the success rate. 最后是总结和意义:HarnessTax is a step toward understanding how each harness component affects cost and success rate, and we hope it guides future research on what matters in a coding-agent harness. 哦,那小节划分的话,是不是可以把几个核心研究结果作为小节?不对,但是不能自己加标题内容对吧?哦不对,等下规则是保留原文所有信息,不得增删改,所以如果用h2的话,不能加原文没有的字啊?哦,那是不是可以不用h2?不对,再看原文,有没有可以作为小节的内容?哦,不对,原文是学术类的新闻?不对,再看,哦,可能用户给的正文是一段式的,但是可以用h2来划分部分,但是标题必须来自原文?不对,等下,哦,不对,会不会我理解错了,规则2是“长文用

/

划分小节”,如果没有现成的标题,是不是可以把核心的主题句作为小节的标题?不对,不对,不能增内容。哦,等下,再看,原文的内容: 首先,第一个部分是研究背景与研究定位,用

。然后,

里可以直接用原文里的关键概念?不对,不对,等下,哦,可能我错了,规则是不得增删改内容,所以所有的文字内容都必须是原文里的,所以如果用h2的话,不能自己造标题,那是不是可以不用h2?不对,再看,哦,原文里有没有可以作为小节标题的句子?比如“harness tax”的部分,但是原文没有单独的标题。哦,不对,可能这个文本不需要h2?不对,再看,用户要求长文用h2/h3划分,那这个文本是一段?不,原文是连续的,但是可以分成几个段落,对吧? 等下,首先,每个自然段落用

包裹,那原文里的自然段落: 第一个自然段:Every coding agent runs a model inside a $\mathit{harness}$, yet we lack a principled understanding of what the harness adds and which of its components matter. We present the first systematic study of how production coding-agent harnesses and their individual components affect cost and success rate, and examine where the harness adds cost and when it changes what a model can solve. 这个是第一个

。 然后第二个自然段:We evaluate eight models in three production harnesses (Claude Code, Codex, Pi) on four benchmarks: SWE-bench Lite, Terminal-Bench 2.0 and 4.0, and Terminal-Bench Science 0.1. 这个是第二个

?不对,原文是不是没有换行?哦,用户给的正文是连续的?等下看用户给的正文: 哦,用户给的正文是连续的一段?不对,我再看: 正文如下: Every coding agent runs a model inside a $\mathit{harness}$, yet we lack a principled understanding of what the harness adds and which of its components matter. We present the first systematic study of how production coding-agent harnesses and their individual components affect cost and success rate, and examine where the harness adds cost and when it changes what a model can solve. We evaluate eight models in three production harnesses (Claude Code, Codex, Pi) on four benchmarks: SWE-bench Lite, Terminal-Bench 2.0 and 4.0, and Terminal-Bench Science 0.1. For a fixed model, the harness has little effect on success rate but a much larger effect on cost, which we call the harness tax. With Claude Fable 5 on Terminal-Bench 4.0, for example, Claude Code costs $2.1\times$ as much as Pi, with no statistically detectable gap in success rate. Pi, with only four tools, is on the cost-success Pareto frontier on every benchmark. Models also perform competitively outside their provider's harness, often at a lower cost. Much of the extra cost comes from the system prompt, tool definitions, and accumulated context that the harness re-sends with every model call, including definitions of tools the model never calls. Success rates rarely differ significantly across harnesses. When they do, part of the gap comes from system-level features such as handling large image inputs. We also modify five components one at a time to isolate the effects of harness design choices. Enabling subagents in Codex, for instance, increases the cost by $3.0\times$ on Terminal-Bench 2.0 without improving the success rate. HarnessTax is a step toward understanding how each harness component affects cost and success rate, and we hope it guides future research on what matters in a coding-agent harness. 哦,原来用户给的是一整段的正文,那需要划分成几个

?按照语义划分自然段落对吧。然后核心的概念比如harness tax、HarnessTax可以用,对吧。 那现在规划: 首先,第一个

是研究背景和研究目的:“Every coding agent runs a model inside a $\mathit{harness}$, yet we lack a principled understanding of what the harness adds and which of its components matter. We present the first systematic study of how production coding-agent harnesses and their individual components affect cost and success rate, and examine where the harness adds cost and when it changes what a model can solve.” 然后