paper-with-me

Papers

ProgramBench: Can Language Models Rebuild Programs From Scratch?

2026-05-05 · John Yang, Kilian Lieret, Jeffrey Ma, Parth Thakkar, Dmitrii Pedchenko, Sten Sootla, Emily McMilin, Pengcheng Yin, Rui Hou, Gabriel Synnaeve, Diyi Yang, Ofir Press arxiv

Turning ideas into full software projects from scratch has become a popular use case for language models. Agents are being deployed to seed, maintain, and grow codebases over extended periods with minimal human oversight. Such settings require models to make high-level software architecture decisions. However, existing benchmarks measure focused, limited tasks such as fixing a single bug or developing a single, specified feature. We therefore introduce ProgramBench to measure the ability of software engineering agents to develop software holisitically. In ProgramBench, given only a program and its documentation, agents must architect and implement a codebase that matches the reference executable's behavior. End-to-end behavioral tests are generated via agent-driven fuzzing, enabling evaluation without prescribing implementation structure. Our 200 tasks range from compact CLI tools to widely used software such as FFmpeg, SQLite, and the PHP interpreter. We evaluate 9 LMs and find that none fully resolve any task, with the best model passing 95\% of tests on only 3\% of tasks. Models favor monolithic, single-file implementations that diverge sharply from human-written code.

📄 PDF Abstract BibTeX arXiv:2605.03546

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

MindForge: Teaching Small Language Models Whole-Life-Cycle Software Engineering via Source-Free Program Synthesis

2026-07-29 · Yihao Chen, Shi Chang, Khaled Chawa, Feng Lin 외 hf

Coding agents have made substantial progress on software engineering tasks that modify existing codebases, including bug fixing and feature implementation. However, constructing a complete program from scratch remains a …

Program Synthesis

SpecFirst: Behavioral Specification Elicitation as a First-Class Step in Agent-Based Program Synthesis from Scratch

2026-07-29 · Yihao Chen, Shi Chang, Feng Lin, Khaled Chawa 외 hf

LLM-based agents excel at software engineering tasks where an existing codebase provides context, but constructing a program from scratch remains fundamentally harder. Recent benchmarks such as ProgramBench quantify this…

Program Synthesis

Show Your Work: Scratchpads for Intermediate Computation with Language Models

2021-11-30 · Maxwell Nye, Anders Johan Andreassen, Guy Gur-Ari, Henryk Michalewski 외

Large pre-trained language models perform remarkably well on tasks that can be done "in one pass", such as generating realistic text or synthesizing computer programs. However, they struggle with tasks that require unbou…

NL2Scratch: An Executable Benchmark and Evaluation for Block-Based Programming

2026-06-20 · Heejin Do, Alexandre Ballenghien, Yang Wu, April Yi Wang arxiv

Block-based programming environments such as Scratch are widely used in early programming education, yet natural-language-to-code (NL2Code) research has focused primarily on text-based languages. Scratch programs are eve…

Narcissus: Program Synthesis Using Context-Aware LLM Approximations

2026-08-26 · Tilman Hinnerichs, Sebastijan Dumancic, Neil Yorke-Smith arxiv

Large language models (LLMs) excel at programming, but not when the task fixes the target language: prompted with a grammar rare in their training data, their programs usually break the grammar or fail the given specific…

Program Synthesis