cross-posted from: https://piefed.world/c/tech/p/1101720/programbench-a-new-benchmark-by-swe-bench-creators-from-facebook-meta-to-see-if-llms-can
Comments
Links
./ProgramBench
Can language models rebuild programs from scratch?
Given only a compiled binary and its documentation, agents must architect and implement a complete codebase that reproduces the original program’s behavior.
In each task, the agent receives an executable and its documentation, and it must re-implement the given executable. It does not get access to any of the executable’s source code, it cannot de-compile the executable, and cannot use the internet. There are 200 tasks in total covering different program complexities, ranging from small terminal utilities like jq and ripgrep to massive software projects like the PHP compiler, FFmpeg, and SQLite.
The agent must choose a language, design the architecture, write all source code, and produce a build script. Every design decision is the model’s to make.
Once the agent submits a program, our test suite compares the candidate program’s behavior against the original program. A candidate program passes only if all tests for that task pass.
Photo source: X/Twitter.


I am not a fan if AI slop and low effort vibe coding and hate AI images, music and videos with a passion, but it should be pointed out that this study was about re-programming a complete program from scratch, from documentation.
There, all failed miserably. This study was not about smaller work packages or narrower tasks.