MindForge: Teaching Small Language Models Whole-Life-Cycle Software Engineering via Source-Free Program Synthesis
- Source
- arxiv.org
- Author
- Yihao Chen, Shi Chang, Khaled Chawa, Feng Lin, Boyuan Chen, Shaowei Wang, Ahmed E. Hassan
- Date

Context
MindForge creates exercises in which a must reconstruct a using its documentation and a runnable reference, without seeing the source code. The researchers train on examples of another agent solving these exercises. They report that this training raised Qwen3.6-27B's average ProgramBench test pass rate from 37.98% to 49.51%, using training repositories separate from the . That measures individual tests passed, rather than the share of programs completely reconstructed. The result supports this approach as a way to teach software construction from behavioral evidence. Research abstract.
The related SpecFirst work tackles the same setting by having an agent investigate program behavior before implementation. Its contribution is a two-stage workflow; MindForge supplies training environments and examples.
- Training — The process that adjusts a model using examples and a measure of how well it performs.
- Agent mode — A mode in which one agent can inspect, edit, run commands, and iterate toward an outcome.
- Program — A set of instructions stored so that a computer can run it.
- Benchmark — A fixed set of tasks with a stated way of scoring them, used to compare models or setups.
articleE2E-SWE: Benchmarking LLMs on Building Working Codebases from ScratchHantian Ding, Chloe Bi, Jiacheng Zhu, John Yang, Matt Deitke, Pengcheng Yin, Zijian Wang, Rui Hou
articleForgeTrain: Forging Production-Grade Training Frameworks via Harness-Driven AI DevelopmentQingfeng He, Zhui Zhu, Shangzhan Li, Yaojian Chen, Haojun Sun, Xu Chen, Leshan Li, Yifei Shen, Changjingxing Zhao, Mengyuan Fan, Wenyu Guan, Yiyun Zheng, Yuxuan Zuo, Zhen Li, Zhenghang Luo, Yuxuan Li, Xu Han, Zhiyuan Liu
articleSpecFirst: Behavioral Specification Elicitation as a First-Class Step in Agent-Based Program Synthesis from ScratchYihao Chen, Shi Chang, Feng Lin, Khaled Chawa, Boyuan Chen, Shaowei Wang, Ahmed E. Hassan
Checking sign-in…
Loading comments…