{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2607-10569","title":"When Does Restricting a Coding Agent to execute_code Help? A Regime $\\times$ Agent-Design Ablation","arxiv_id":"2607.10569","date":"2026-07-12","proceeding":null,"authors":["Hong Yang","Qi Yu","Travis Desell"],"abstract":"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.","url_abs":"https://arxiv.org/abs/2607.10569","url_pdf":"https://arxiv.org/pdf/2607.10569","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":null,"mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2607.10569"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/hyang0129/onlycodes","reach":null}],"summary":{"ran":13,"unverified":6},"by_repo_kind":{"found_in_text":{"samples":19,"ran":13,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":19,"samples":[{"code_sha256_prefix":"daf281f3ea521896","entry":"load_numbers","repo":"hyang0129/onlycodes","repo_kind":"found_in_text","path":"paper/figures_src/04_h2_truncation.py","file_url":"https://github.com/hyang0129/onlycodes/blob/HEAD/paper/figures_src/04_h2_truncation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"daf281f3ea521896"}},{"code_sha256_prefix":"bf0249d0bfb830ab","entry":"load_per_instance_means","repo":"hyang0129/onlycodes","repo_kind":"found_in_text","path":"paper/figures_src/01_distribution.py","file_url":"https://github.com/hyang0129/onlycodes/blob/HEAD/paper/figures_src/01_distribution.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bf0249d0bfb830ab"}},{"code_sha256_prefix":"735f00a42d9d11a6","entry":"lookup_means","repo":"hyang0129/onlycodes","repo_kind":"found_in_text","path":"paper/figures_src/02_signflip.py","file_url":"https://github.com/hyang0129/onlycodes/blob/HEAD/paper/figures_src/02_signflip.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"735f00a42d9d11a6"}},{"code_sha256_prefix":"c558a8a785531347","entry":"lookup_pvals","repo":"hyang0129/onlycodes","repo_kind":"found_in_text","path":"paper/figures_src/02_signflip.py","file_url":"https://github.com/hyang0129/onlycodes/blob/HEAD/paper/figures_src/02_signflip.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c558a8a785531347"}},{"code_sha256_prefix":"25f68e7dc02ceda5","entry":"outline","repo":"hyang0129/onlycodes","repo_kind":"found_in_text","path":"exec_server/codebox.py","file_url":"https://github.com/hyang0129/onlycodes/blob/HEAD/exec_server/codebox.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"25f68e7dc02ceda5"}},{"code_sha256_prefix":"def7a70447da9008","entry":"p_label","repo":"hyang0129/onlycodes","repo_kind":"found_in_text","path":"paper/figures_src/02_signflip.py","file_url":"https://github.com/hyang0129/onlycodes/blob/HEAD/paper/figures_src/02_signflip.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"def7a70447da9008"}},{"code_sha256_prefix":"8d29fbf1e2e2ee5e","entry":"parse_data_csv_header","repo":"hyang0129/onlycodes","repo_kind":"found_in_text","path":"paper/build_numbers.py","file_url":"https://github.com/hyang0129/onlycodes/blob/HEAD/paper/build_numbers.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8d29fbf1e2e2ee5e"}},{"code_sha256_prefix":"0e66db138c88d958","entry":"parse_sidecar_header","repo":"hyang0129/onlycodes","repo_kind":"found_in_text","path":"paper/build_numbers.py","file_url":"https://github.com/hyang0129/onlycodes/blob/HEAD/paper/build_numbers.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0e66db138c88d958"}},{"code_sha256_prefix":"ed0bdbaafebc3e22","entry":"peek","repo":"hyang0129/onlycodes","repo_kind":"found_in_text","path":"exec_server/codebox.py","file_url":"https://github.com/hyang0129/onlycodes/blob/HEAD/exec_server/codebox.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ed0bdbaafebc3e22"}},{"code_sha256_prefix":"a610756ddac45d43","entry":"per_instance_deltas","repo":"hyang0129/onlycodes","repo_kind":"found_in_text","path":"paper/figures_src/01_distribution.py","file_url":"https://github.com/hyang0129/onlycodes/blob/HEAD/paper/figures_src/01_distribution.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a610756ddac45d43"}},{"code_sha256_prefix":"1988c67e76cdf7fc","entry":"read_lines","repo":"hyang0129/onlycodes","repo_kind":"found_in_text","path":"exec_server/codebox.py","file_url":"https://github.com/hyang0129/onlycodes/blob/HEAD/exec_server/codebox.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1988c67e76cdf7fc"}},{"code_sha256_prefix":"b8429dddc8928bba","entry":"render_figure","repo":"hyang0129/onlycodes","repo_kind":"found_in_text","path":"paper/figures_src/01_distribution.py","file_url":"https://github.com/hyang0129/onlycodes/blob/HEAD/paper/figures_src/01_distribution.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b8429dddc8928bba"}},{"code_sha256_prefix":"4087737c56630d57","entry":"strip_math_and_approved","repo":"hyang0129/onlycodes","repo_kind":"found_in_text","path":"paper/lint.py","file_url":"https://github.com/hyang0129/onlycodes/blob/HEAD/paper/lint.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4087737c56630d57"}},{"code_sha256_prefix":"6b3a5f0a1365973c","entry":"call","repo":"hyang0129/onlycodes","repo_kind":"found_in_text","path":"exec_server/mcp_bridge.py","file_url":"https://github.com/hyang0129/onlycodes/blob/HEAD/exec_server/mcp_bridge.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6b3a5f0a1365973c"}},{"code_sha256_prefix":"90ec49144634c656","entry":"get_schema","repo":"hyang0129/onlycodes","repo_kind":"found_in_text","path":"exec_server/mcp_bridge.py","file_url":"https://github.com/hyang0129/onlycodes/blob/HEAD/exec_server/mcp_bridge.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"90ec49144634c656"}},{"code_sha256_prefix":"86fd6007419c1448","entry":"is_ancestor_of_head","repo":"hyang0129/onlycodes","repo_kind":"found_in_text","path":"paper/build_numbers.py","file_url":"https://github.com/hyang0129/onlycodes/blob/HEAD/paper/build_numbers.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"86fd6007419c1448"}},{"code_sha256_prefix":"68461a1d0b329082","entry":"lint_file","repo":"hyang0129/onlycodes","repo_kind":"found_in_text","path":"paper/lint.py","file_url":"https://github.com/hyang0129/onlycodes/blob/HEAD/paper/lint.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"68461a1d0b329082"}},{"code_sha256_prefix":"19cc996c6da2baf9","entry":"main","repo":"hyang0129/onlycodes","repo_kind":"found_in_text","path":"paper/lint.py","file_url":"https://github.com/hyang0129/onlycodes/blob/HEAD/paper/lint.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"19cc996c6da2baf9"}},{"code_sha256_prefix":"9c3a8620e1fa9c13","entry":"main","repo":"hyang0129/onlycodes","repo_kind":"found_in_text","path":"swebench/_artifact_grade_runner.py","file_url":"https://github.com/hyang0129/onlycodes/blob/HEAD/swebench/_artifact_grade_runner.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9c3a8620e1fa9c13"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,795 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9581,"papers_checked":6795},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}