Trajectory evidence for training coding agents
P2T treats a developer patch as private curation data, then builds a process graph of facts, milestones, edits, and validation steps. The student agent sees only grounded trajectory prefixes. This targets a common failure in supervised fine-tuning: copying long teacher traces that contain repeated file views, loops, or unsupported reasoning.
The reported gains are practical. On SWE-bench Verified, P2T reports up to a 10.8 point Pass@1 gain over outcome-filtered supervised fine-tuning, while lowering average inference cost by about $15 per instance. ACC takes a related path for long-context training. It compiles completed Search, software engineering, and SQL agent runs into question-answer examples built from scattered tool outputs. Fine-tuning Qwen3-30B-A3B-Thinking with those compiled contexts raises MRCR from 50.19 to 68.28 and GraphWalks from 69.92 to 77.51.