AutoCompact: Learning When to Compact Context in Long-Horizon Coding Agents
AutoCompact uses judge-corrected trajectories for supervised fine-tuning, then jointly trains coding and context compaction with task-success reinforcement learning.
THE EXPERIMENT
What the paper tested
Author experiments, not independent replication. Sections 2.2–2.3 and 3.1–3.3; Table 1 uses the 256K context setting.
What the authors report
- Using Qwen3-Coder-30B-A3B-Instruct and a shared REPL scaffold, the authors report SWE-bench Verified pass rates rising from 30.4% to 39.6% and SWE-PolyBench Verified from 19.5% to 24.5%.