Papers › When Does Restricting a Coding Agent to execute_code Help? A Regime × Agent-Design Ablation

When Does Restricting a Coding Agent to execute_code Help? A Regime × Agent-Design Ablation

12 Jul 2026arXiv:2607.10569added by Syntology

Hong Yang, Qi Yu, Travis Desell

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Modern coding agents expose multiple tool surfaces -- IDE primitives, bash, and Model Context Protocol (MCP) code-execution -- and the field has shipped three contradictory claims about which one matters. We run the missing crossed comparison: an integrity-clean three-arm ablation (baseline / bash_only / code_only) on synthetic computation tasks and SWE-bench Mini modification tasks, holding model, harness, and prompts fixed, with two agents (Claude Code, OpenAI Codex CLI) so the comparison spans both regime and agent-design axes. Across the four resulting (regime, agent) cells, restricting the agent to a single execute_code MCP tool is cheaper than -- or statistically tied with -- its cheapest tool-rich rival in three cells (significantly on Artifact/Claude and SWE-bench/Codex; directionally on Artifact/Codex), with pass rates statistically tied within each cell. The lone exception is SWE-bench/Claude, where code_only is directionally costlier (+14.4%, not significant); a conditional-cost analysis localizes that gap to failure-cost on doomed-run trajectories, not a per-edit tax on successful runs. Two implications: the cheapest tool surface is jointly determined by task regime and agent design rather than by either axis alone, and the headline cost signal lives in cache-adjusted cost -- not pass rate, which is invariant across surfaces at the model sizes we evaluate. The benchmark harness, task suite, and analysis code are available at https://github.com/hyang0129/onlycodes.

PaperPDFCode Syntology ran

In Syntology For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2607.10569")

Code

Syntology Ran 13 of 19 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 13 ran with no contract checked.

By repository: found in paper text by Syntology: 19 samples from 1 repository, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

hyang0129/onlycodes found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

19 samples harvested; 13 ran; 0 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

13ran
6unverified

Licence: 19 of the 19 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from hyang0129/onlycodes. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

load_numbers hyang0129/onlycodes/paper/figures_src/04_h2_truncation.py found in paper text by Syntology ran no licence file found · pointer only · daf281f3ea521896 · report
load_per_instance_means hyang0129/onlycodes/paper/figures_src/01_distribution.py found in paper text by Syntology ran no licence file found · pointer only · bf0249d0bfb830ab · report
lookup_means hyang0129/onlycodes/paper/figures_src/02_signflip.py found in paper text by Syntology ran no licence file found · pointer only · 735f00a42d9d11a6 · report
lookup_pvals hyang0129/onlycodes/paper/figures_src/02_signflip.py found in paper text by Syntology ran no licence file found · pointer only · c558a8a785531347 · report
outline hyang0129/onlycodes/exec_server/codebox.py found in paper text by Syntology ran no licence file found · pointer only · 25f68e7dc02ceda5 · report
p_label hyang0129/onlycodes/paper/figures_src/02_signflip.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · def7a70447da9008 · report
parse_data_csv_header hyang0129/onlycodes/paper/build_numbers.py found in paper text by Syntology ran no licence file found · pointer only · 8d29fbf1e2e2ee5e · report
parse_sidecar_header hyang0129/onlycodes/paper/build_numbers.py found in paper text by Syntology ran no licence file found · pointer only · 0e66db138c88d958 · report
peek hyang0129/onlycodes/exec_server/codebox.py found in paper text by Syntology ran no licence file found · pointer only · ed0bdbaafebc3e22 · report
per_instance_deltas hyang0129/onlycodes/paper/figures_src/01_distribution.py found in paper text by Syntology ran no licence file found · pointer only · a610756ddac45d43 · report
read_lines hyang0129/onlycodes/exec_server/codebox.py found in paper text by Syntology ran no licence file found · pointer only · 1988c67e76cdf7fc · report
render_figure hyang0129/onlycodes/paper/figures_src/01_distribution.py found in paper text by Syntology ran no licence file found · pointer only · b8429dddc8928bba · report
strip_math_and_approved hyang0129/onlycodes/paper/lint.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 4087737c56630d57 · report
call hyang0129/onlycodes/exec_server/mcp_bridge.py found in paper text by Syntology unverified no licence file found · pointer only · 6b3a5f0a1365973c · report
get_schema hyang0129/onlycodes/exec_server/mcp_bridge.py found in paper text by Syntology unverified no licence file found · pointer only · 90ec49144634c656 · report
is_ancestor_of_head hyang0129/onlycodes/paper/build_numbers.py found in paper text by Syntology unverified no licence file found · pointer only · 86fd6007419c1448 · report
lint_file hyang0129/onlycodes/paper/lint.py found in paper text by Syntology unverified no licence file found · pointer only · 68461a1d0b329082 · report
main hyang0129/onlycodes/paper/lint.py found in paper text by Syntology unverified no licence file found · pointer only · 19cc996c6da2baf9 · report
main hyang0129/onlycodes/swebench/_artifact_grade_runner.py found in paper text by Syntology unverified no licence file found · pointer only · 9c3a8620e1fa9c13 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2607.10569, was issued in July 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections