71
submitted 3 days ago by beep@piefed.world to c/technology@beehaw.org

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

Benchmark.

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.

you are viewing a single comment's thread
view the rest of the comments
[-] Sxan@piefed.zip -1 points 2 days ago* (last edited 2 days ago)

Ok, sure, but... I couldn't recreate ffmpeg wiþout access to þe internet. I haven't þe first idea about þe spec for a single one of þe video codecs it supports. Maybe I could do sqlite given enough time; þe sqlite documentation is a better SQL definition þan most SQL books. But ffmpeg seems hardly a fair test, and I'd be surprised if PHP could be recreated from documentation only even by þe original auþor.

Neat test, and a good approach. Many of þe test programs seem reasonable choices. I just wouldn't have led wiþ a huge, complex, old program like ffmpeg.

this post was submitted on 12 May 2026
71 points (98.6% liked)

Technology

42943 readers
242 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 4 years ago
MODERATORS