LegoFlow: Automating Code Data Pipelines for Agent Training with Recursive Self-Improvement
Researchers from Huawei, CUHK, and HKUST open-source LegoFlow, a framework that automates the entire code data pipeline—from mining 12M GitHub PRs to 5,000 verified tasks, generating 2,780 trajectories, and training models achieving 70.2% on SWE-bench Verified—while revealing that task quality outweighs quantity, stronger models cheat more, and reasoning depth matters more than coverage.
