Program Reconstruction Benchmark Breaks Zero: A New Yardstick for LLM Evaluation

    This article examines why black-box program reconstruction benchmarks kept LLMs at a 0% solve rate for so long, and what the first break actually signals. It breaks down the task's input, method, and acceptance constraints, explains how agent-driven fuzz testing and all-or-nothing judgment work, and interprets a flagship model's high-reasoning modes solving one instance and pushing 26 tasks into the "near-pass" zone. It then offers a four-step methodology for applying behavioral-level differential testing to legacy system transformation, component replacement, and compatibility fixes, and closes with practical guidance on using failure distribution and reasoning budget for model selection.

    Introduction: Why the 0% Pass Rate Went Unbroken for So Long

    Measuring an LLM’s engineering capability generally falls into two categories.

    • Code-generation benchmarks require the model to write functionally correct functions or fix bugs that ship with test cases. These tasks typically provide source code and unit tests, so both the model’s input and the acceptance criteria are clear.
    • System-implementation benchmarks assess overall software engineering capability, including requirement understanding, architecture design, large-scale coding, and debugging. The reference answer is often just the evaluation set itself, leaving limited high-quality solutions to draw from.

    A stricter layer is black-box program reconstruction. The evaluation gives the model only a compiled executable and a specification document, and requires it to infer the original program’s behavior through self-designed probing experiments—without decompilation and without network access—then reimplement a behaviorally equivalent program from scratch.

    In this class of tests, mainstream open-source and closed-source LLMs have long held a glaring 0% solve rate. The difficulty lies not in “whether the model can write code,” but in two things:

    1. The model faces an inverse-reasoning problem under limited samples; it must propose hypotheses, design experiments, and refine conclusions much like a scientist.
    2. The acceptance criterion is behavioral equivalence, where any subtle deviation can cause failure.

    Recently, a new generation of flagship models’ high-intensity reasoning mode solved an instance on this benchmark for the first time, raising the number of “near-pass” tasks (unit-level case pass rate above 95%) to 26. Several comparison models remain at zero. This is worth developers’ attention. It reflects not just “a model got stronger,” but a shift in evaluation focus from code correctness to behavioral equivalence—and reasoning budget becoming an important dimension in model selection.

    This article first dissects the mechanics of black-box program reconstruction, then interprets what breaking zero means in the data, and finally discusses how to apply this capability to real engineering transformation and acceptance.

    1. Benchmark Anatomy: The Stricter the Constraints, the Clearer the Capability Signal

    Input constraints: only the executable and documentation

    The model receives only two kinds of information: the compiled executable and the specification document. There is no source code, no symbol-table clues, and no reference implementation to consult. The documentation typically describes only the design purpose, main functionality, and typical usage, rarely covering all boundary behaviors—such as error message text, how anomalous inputs are handled, and output format details.

    So the model’s first task is not coding, but information gathering. It must treat the target program as a “black box” that can be called repeatedly while observing only inputs and outputs, and actively design probing experiments.

    Method constraints: no decompilation, no network

    Prohibiting decompilation rules out reducing reconstruction to decompilation-plus-comments; cutting off the network rules out searching directly for similar implementations or copying existing code. Together, the two constraints push the model into an experiment-driven way of working.

    This resembles empirical risk minimization in machine learning: the model’s hypothesis space is all possible program implementations, the evidence comes from input-output samples it collects itself, and the loss function is behavioral deviation.

    There are two differences:

    • The evidence must be actively generated by the model, not passively received;
    • The model must decide for itself what language to use and how to organize the system to carry these conclusions.

    Task distribution: from a few lines of logic to over a million lines of code

    The evaluation covers about 200 real-world tasks with a wide complexity range. The following task types are all historically difficult projects for building such foundational software:

    • Terminal text and JSON processing tools: argument parsing, field selection, output formatting;
    • Code search tools: regex engines, parallel traversal, result sorting;
    • Compilation and execution engine for an interpreted language: lexical and syntactic analysis, type system, runtime, standard library, build system;
    • Audio/video processing framework: many codecs, filters, and hardware-acceleration backends;
    • Embedded relational database: storage engine, query optimizer, transactions and concurrency control;
    • Terminal character animation demo program: terminal control sequences, random number generation, color and glyph mapping.

    The wide difficulty range means the model cannot rely on a single “trick” across tasks; it must re-analyze the input space, execution environment, and output contract for each one.

    Decision responsibility: all design choices made autonomously by the model

    Once given a task, the model must decide:

    • Which programming language and dependencies to use;
    • What system architecture to adopt and how to divide modules;
    • Write all source code by hand;
    • Produce runnable build scripts;
    • Without knowledge of the internal implementation, judge which behavioral details are “contracts” that must be aligned.

    This is equivalent to compressing three roles—architect, implementer, and test engineer—into the same execution loop. Traditional coding benchmarks rarely examine all of these capabilities at once.

    2. Acceptance Mechanism: Why the Pass Rate Stayed at 0

    Why black-box program reconstruction has been so hard to break zero largely depends on the design of the acceptance criteria. This benchmark’s approach has two key points.

    Test-case scale: replacing manual enumeration with fuzz testing

    The evaluation system’s backend uses agent-driven fuzz testing to generate over 248,000 targeted behavioral test cases for all tasks, averaging over a thousand per task. The general process is:

    1. Analyze the documentation and program interface to extract parameters, input formats, and output forms;
    2. Build structured input generators covering valid, invalid, and malformed inputs plus boundary conditions;
    3. Use the reference implementation’s output as the expected result;
    4. Record deviation cases, then perform targeted mutation around them, forming a “generate–compare–converge” loop.

    Generating test cases automatically with programs, rather than enumerating them manually one by one, is the premise that makes the all-or-nothing judgment tenable. Manual enumeration can only cover the main path; automated fuzz testing can bring a large number of corner behaviors into acceptance.

    All-or-nothing judgment: any single failed case fails the whole

    The program a model submits must pass all cases for the corresponding task to count as truly solved. Even a subtle deviation on a single edge case causes the entire task to be judged as failed.

    This brings an easily overlooked consequence: a high pass rate does not equal a high solve rate. A program that is correct on 99% of cases still contributes 0 to the solve rate. This is the fundamental reason many top models have long stayed at 0%. They can often write a functionally roughly correct implementation, but struggle to align every single detail.

    From another angle, this strict judgment precisely reflects the demands of real engineering. Behavioral incompatibility directly affects integrators: if a format converter outputs one extra field, the client may fail to parse it; if a search tool handles special characters differently, downstream pipeline results will drift; subtle differences in a database’s handling of NULL, type conversion, and sorting rules can amplify into data errors in business queries.

    3. Interpreting the Zero-Break: The Key Is Not Just the First “1”

    The new generation flagship model’s high-reasoning and ultra-high-reasoning modes became the first full-pass solution since the benchmark was established, successfully solving one terminal character animation demo program instance. Animation playback duration on screen is controlled by frame rate, and such tasks expose a small interaction surface externally; the output is mainly determined by terminal control sequences, random numbers, and glyph mapping, making it relatively controllable to fully align these details. Looking at the results in the data, there are several points.

    Reasoning budget becomes a key variable

    Under the default medium reasoning mode, the new model performs unremarkably, only slightly better than the previous generation’s mid-tier model. Only after switching to high-reasoning or ultra-high-reasoning modes did it achieve its first full pass. In similar “model + test-time compute” evaluations, it is a general rule that the pass rate rises as the thinking budget increases, especially on hard problems. This shows:

    • On long-chain tasks, raising reasoning intensity often yields higher marginal returns than switching to a larger model;
    • Model selection cannot look only at default-configuration performance, but also at the ceiling under high-intensity reasoning.

    The 26 “near-pass” tasks deserve more attention

    In the new model’s results, the number of tasks with a unit-level case pass rate above 95% was pulled up substantially to 26—about 13% of all tasks. For a benchmark that requires all cases to pass for a full score, this number is more informative than “the first full pass.”

    • Long-tail aggregation appears: when the pass rate stalls between 95% and 100%, the remainder is usually a few edge cases. They may concentrate on a certain class of malformed input, some platform-dependent behavior, or some special parameter combination.
    • Failures are attributable: as long as you can locate the specific failing cases, you can judge whether a systematic improvement in reconstruction work can solve them, or whether they stem from a special constraint of a particular task.
    • Multiple tasks cross the line consecutively: this suggests the remaining gap often belongs to the “last mile,” rather than a capability chasm.

    Multi-threshold comparison confirms the overall advantage

    From the complete score distribution, regardless of how the evaluation threshold is set—whether comparing the average, the median, or the number of tasks above 90% and 50% pass rate—the new model’s ultra-high-reasoning mode ranks first. This is more convincing than a single-dimension ranking:

    • High-scoring tasks concentrate: more high-scoring tasks means the capability is not reflected only in individual simple tasks;
    • Mid-to-high segment leads: a leading median indicates a substantial proportion of medium-difficulty tasks are also handled stably;
    • Better consistency: fewer tasks in the medium pass-rate range indicates more stable results, with fewer borderline cases of “a few cases short.”

    Viewing the significance of the zero-break rationally

    A clear-eyed view is needed:

    • The absolute pass rate is still very low: if only 1 of 200 tasks is solved, the solve rate is only 0.5%. Breaking zero proves feasibility, not that the problem is solved.
    • Reasoning cost cannot be ignored: high-intensity reasoning modes often bring several times or more output consumption and longer response latency. For batch and real-time engineering scenarios, a trade-off between effect and cost is required.
    • Difficulty signals cannot be directly extrapolated: the difficulty of these tasks is not equivalent to real production systems; they examine a specialized capability to reconstruct behavior without source code. One cannot simply judge a model’s performance in daily business development from this, and specific selection should still be based on evaluations close to one’s own scenarios.

    4. From Benchmark to Engineering: Putting Behavioral Consistency into Practice

    Black-box program reconstruction may seem far from daily development, but its underlying methodology transfers directly to real engineering.

    Three typical scenarios

    • Legacy system transformation: the old system’s source code is lost or the maintainers have left, leaving only the executable and scattered documentation, and the team wants to rewrite it with a modern tech stack and replace it gradually.
    • Integration and replacement without interface dependencies: needing to integrate or replace an external component that exists only in binary form, with no open interface documentation.
    • Compatibility fixes: the target software exhibits behavioral differences in a new environment, and the differences must be located by dimension without modifying the original program.

    The common thread in these scenarios: no source code to read, so acceptance must be built on observable behavior.

    A four-step method

    1. Behavior profiling: treat the target program as a black box, systematically enumerate parameters, input formats, output forms, and error paths to form a behavior list, then compare it against the requirements document item by item, clarifying which items are “contracts that must be aligned” and which are “internal choices allowed to be implemented freely.”
    2. Differential testing: drive the reference program and the rebuilt program with the same batch of inputs, comparing results field by field.
    3. Mutation fuzzing: perform targeted mutation on inputs that produce differences, converging the differences to specific dimensions, such as argument parsing, encoding handling, or error messages.
    4. Regression solidification: settle the difference cases into a permanent regression set and incorporate them into the continuous integration pipeline.

    The code below shows only the core skeleton of differential testing:

    1. import subprocess
    2. # Cases produced during the behavior profiling stage: argument list + standard input
    3. CASES = [
    4. {"argv": ["--input", "data.txt"], "stdin": ""},
    5. {"argv": ["--input", "not_exist.txt"], "stdin": ""},
    6. {"argv": [], "stdin": "one line of text\nanother line of text"},
    7. ]
    8. def run(binary, case):
    9. """Unified observation scope: exit code, standard output, standard error"""
    10. proc = subprocess.run(
    11. [binary] + case["argv"],
    12. input=case["stdin"].encode(),
    13. stdout=subprocess.PIPE,
    14. stderr=subprocess.PIPE,
    15. timeout=10, # unified timeout to avoid hangs
    16. check=False,
    17. )
    18. return {
    19. "exit": proc.returncode,
    20. "stdout": proc.stdout,
    21. "stderr": proc.stderr,
    22. }
    23. def differential(reference, rebuilt, cases=CASES):
    24. mismatches = []
    25. for case in cases:
    26. expected, actual = run(reference, case), run(rebuilt, case)
    27. if expected != actual:
    28. # record the difference and move into mutation and localization
    29. mismatches.append({"case": case, "expected": expected, "actual": actual})
    30. return mismatches

    In practice, note two points:

    • Unify the observation scope: exit code, standard output, standard error, and output files must all be included in the comparison. When unstable fields such as time, paths, or version numbers are involved, normalize them per the contract.
    • Comparison targets must be comparable: use complete multi-field comparison to discover differences, not a single aggregate score to draw conclusions.

    Engineering design borrowed from the benchmark

    • Replace manual exhaustive enumeration with automated case generation: manual enumeration can only cover the main path, while fuzz testing can cover boundaries and exception paths.
    • All-or-nothing gating: for compatibility-critical modules, adopt a strict gate where any failed case blocks release, avoiding the hidden risk of treating a 99% pass rate as done.
    • Repeatable and reproducible: fix random seeds and unify the runtime environment, ensuring any failure can be reproduced and located.
    • Scaled isolated execution: when the number of cases is large, parallelism and isolation are needed. Containerized execution, object storage archiving of cases and difference records, log services for centralized collection, and monitoring and alerting to track gate results are all common practices. For example, on Baidu AI Cloud, container services can host large-scale isolated execution, object storage can hold test assets, and log services plus monitoring and alerting can track failure trends—turning a one-time evaluation into continuously running quality infrastructure.
    • Compliance boundaries: when probing external binary programs, confirm the scope of authorization and license terms, and proceed only within legally authorized scope.

    5. Beyond the Benchmark: Implications for Developer Selection

    1. Include reasoning budget as an evaluation dimension: on task sets close to your own business, separately compare the pass rate, latency, and cost of default mode versus high-intensity mode, rather than looking only at default performance.
    2. Focus on failure distribution rather than a single score: information like “how many tasks have above 95% pass rate” and “which dimensions are failures concentrated in” guides implementation better than a total score. In particular, be wary of leaderboards dominated by “solve rate”; under all-or-nothing rules, it will long stay at a very low value, obscuring a model’s real progress on mid-to-high difficulty tasks.
    3. Build behavioral-level acceptance capability: whether having a model assist in transforming legacy systems or evaluating different solutions, behavioral-level differential testing is the most reliable acceptance method. This capability also applies to reviewing AI-generated code: use behavioral tests as the criterion, rather than whether the code “looks reasonable.”
    4. Retain human judgment: internal designs, business constraints, and maintainability requirements that the model cannot know still need to be confirmed by developers combining documentation, logs, and runtime observation.

    Conclusion

    This zero-break shows that LLMs have taken the first step on the high-difficulty task of reconstructing software behavior without source code. But the absolute solve rate is still very low, and the real watershed lies in the 26 “near-pass” tasks. They represent a class of challenges that can be gradually overcome through stronger reasoning and finer failure attribution.

    For developers, what is more valuable is not memorizing a particular leaderboard result, but learning to measure and accept system transformations with behavioral-level methods. When evaluation focus shifts from “can it write code” to “is the behavior equivalent,” and from “how high the score” to “where the failures are distributed,” engineering teams can truly turn model capability into deliverable, maintainable software quality.