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.

  • DraconicSun@piefed.social
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    2
    ·
    4 days ago

    But, but, but, AI coding is the future and devs who don’t use AI are gonna get left behind!!! You’re just a stupid Luddite whose job will be replaced anyways!!!

    • FaceDeer@fedia.io
      link
      fedilink
      arrow-up
      1
      ·
      1 day ago

      This benchmark is presenting AI with a challenge that’s greater than what human devs normally face. It’s supposed to be really hard, it’s not surprising that current models get 0%.

      The point is that over time models will continue to improve and this benchmark will measure that improvement. A lot of current benchmarks have been saturated, once models are getting near 100% scores there’s no point to them any more.

    • kibiz0r@midwest.social
      link
      fedilink
      English
      arrow-up
      7
      ·
      4 days ago

      It’s incredible how we went from everyone laughing at the YNGMI crypto bros to the entire economy being built on top of YNGMI AI bros.

      • u_tamtam@programming.dev
        link
        fedilink
        arrow-up
        5
        ·
        4 days ago

        No it’s not, and part of that is the current legislative laissez-faire in the US that put its regulatory bodies on a hiatus. Under normal circumstances, this stuff should have been under much more scrutiny and regulations. I’m not saying that the state should control what LLMs do or who’s access to them, but they could very much tackle the deceptive marketing, environmental and societal impact, unsound financing, abnormal market consolidation, and mitigate the overall financial risk.