scimeatlas

Research map / Large language models / Agents, code and math

Tree-of-Code: A Self-Growing Tree Framework for End-to-End Code Generation and Execution in Complex Tasks

Ziyi Ni, Yifan Li, Ning Yang, Dou Shen, Pin Lv, Daxiang Dong

ACL 2025Large language models › Agents, code and mathapproach: Software engineering agentsopen problems in this approach13 citations (OpenAlex)

Chinese Academy of Sciences · University of Chinese Academy of Science · Tsinghua University · Baidu

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
8improved
1no clear effect
2hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace CodeAct with Tree-of-Code (3-3)CodeAct · M3ToolEvalaccuracy: 49.4% -> 67.1%; turns 7.0 -> 1.7Improved
replace CodeAct with Tree-of-Code (3-3)CodeAct · API-Bank level-3accuracy: 19.2% -> 38.0%; turns 8.9 -> 2.1Improved
add prompt exploration with 3 nodes in one layer (ablation)ToC (1-1) · M3ToolEvalaccuracy (avg over models): 43.53% -> 50.98%Improved
add prompt exploration with 3 nodes in one layer (ablation)ToC (1-1) · API-Bank level-3accuracy (avg over models): 19.4% -> 24.4%Improved
increase tree from 1x1 to 3x3 nodes (ablation)ToC with claude-3-5-sonnet · M3ToolEvalaccuracy: 73.2% -> 84.1%Improved
add layers (1 to 3) with a single node per layer (ablation)ToC with claude-3-5-sonnet · M3ToolEvalaccuracy: 73.2% -> 74.4%No clear effect
add nodes per layer (1 to 3) in one layer (ablation)ToC with claude-3-5-sonnet · M3ToolEvalaccuracy: 73.2% -> 82.9%Improved
add prompt exploration (ablation)ToC with random models · M3ToolEvalaccuracy: 63.4% -> 67.1%Improved
add prompt exploration (ablation)ToC with fixed best model · M3ToolEvalaccuracy: 75.6% -> 84.1%Improved
use random models instead of fixed claude-3-5-sonnet (ablation)ToC · M3ToolEvalaccuracy: 84.1% -> 67.1%Hurt
use single-node ToC (1-1) instead of CodeActgpt-3.5-turbo-1106 · M3ToolEvalaccuracy: 25.6% -> 12.2%Hurt

Open problems in software engineering agents

Do coding-agent results hold beyond Python, small benchmarks and LLM judges?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy