Evaluating LLM Planning Capabilities: What Complex Software Replication Reveals About the Limits of AI-Driven Engineering
This article presents a practical framework for evaluating large language models on long-horizon software engineering tasks. Rather than focusing on single-product benchmarks, it examines how models handle complex, multi-module projects—using spreadsheet software replication as a case study. It details a four-step evaluation pipeline that separates high-cost planning from low-cost execution, discusses how visual aesthetics can serve as an additional test dimension, and outlines key takeaways for teams looking to integrate LLMs into production workflows while controlling cost and maintaining quality.
In recent years, next-generation large language models (LLMs) have repeatedly captured developers’ attention with claims of “generating complete projects in a single pass.” From producing playable 3D games to generating operating system prototypes in a short time, the demonstrations are undeniably impressive. But for teams genuinely considering integrating these models into production pipelines, a polished demo is only the starting point. The real question is: how strong are these models’ planning capabilities? And at a manageable cost, can they support the engineering-grade development of complex software?
This article does not focus on any individual product. Instead, it lays out a methodological framework for evaluating an LLM’s combined “planning + implementation” abilities.
Why Planning Ability Is the Real Differentiator
Generating a snippet of runnable code in a single conversation turn is something almost all mainstream models can do. The gap emerges in long-horizon, complex tasks. When the target is software at the scale of hundreds of thousands or even millions of lines of code, the key question is whether the model can independently break down requirements, design the architecture, partition modules, sequence the development work, and keep subsequent execution on track.
This also aligns with the cost logic of human-machine collaboration. A common cost-optimization strategy is: use a more capable (and more expensive) reasoning model for upfront planning, and persist that plan as structured local documentation. Then, use a lower-cost model to execute the coding work according to the plan. The planning document serves as a “system specification”—the execution model simply fills in the implementation within the established framework.
This “planner-executor” layered approach not only significantly reduces overall expenditure but also focuses evaluation attention on the most scarce resource: planning quality.
Choosing an Evaluation Target: Why Spreadsheet-Style Office Software
An evaluation target must satisfy three criteria: the complexity should be perceptible, completion should be verifiable, and the difficulty should have a recognized baseline.
Consider operating systems and large office suites. Mainstream desktop operating systems run into the tens of millions of lines of code. Mature spreadsheet applications, though lacking public data, are generally estimated by the industry to be in the millions of lines. Asking a model to replicate a functionally near-complete spreadsheet prototype—including a cell formula engine, relative/absolute references, a function library, a rendering layer, and an undo/redo stack—does not match the original’s complexity level. However, it is sufficient to probe the depth of the model’s architectural design capabilities.
It is worth noting that even a “demo-grade” simplified spreadsheet presents significant challenges in formula parsing, dependency graph computation, and incremental recalculation. For a considerable period, such tasks were a barrier that most open-source models could not cross. As such, this serves as a highly discriminative probe.
Evaluation Flow: Plan First, Execute Second, Evaluate Third
A rigorous evaluation process can be broken into four steps:
- Requirement Input: Describe the objective to the model—for example, “design a prototype with functionality close to a mainstream spreadsheet application, supporting formulas, functions, formatting, and multiple worksheets.” Crucially, require the model to output a complete development planning document rather than directly writing code.
- Planning Quality Review: Examine whether the document covers module partitioning (formula engine, storage layer, rendering layer, interaction layer), data structure design (how the cell dependency graph is represented), technical selection rationale, milestones, and risk items. The depth of the planning document directly reflects the model’s understanding of the problem domain.
- Low-Cost Execution: Hand the planning document to a lower-cost model for module-by-module implementation, and observe the plan’s executability. A good plan should require the executor to make almost no additional decisions.
- Result Verification and Cost Accounting: Statistically measure the prototype’s feature coverage against the target, assess code quality, and translate total token consumption into cost. This answers whether, given a sufficient budget, the model can approach a complete replication.
Based on hands-on experience, the compute cost of such evaluations is not trivial. Some evaluators use monthly subscription allowances equivalent to roughly a few dozen US dollars, and a single “planning document generation” plus “full prototype development” can exhaust an entire month’s quota. This is a reminder for enterprises: exploratory evaluations should have isolated budgets to avoid impacting routine production usage.
Beyond Functionality: Visual and Aesthetic Capabilities
Functional correctness is only the baseline. Some models also exhibit surprising “aesthetic” abilities—for example, using drawing commands to render scenes approaching the texture of real photographs. This idea can be extended to practical scenarios through a second test: ask the model to generate a rendering program for a 2D game scene and then iteratively refine visual details—lighting, particles, layers, and color tone.
This type of test assesses whether the model goes beyond “it runs” to deliver a sense of quality. It checks whether the model understands visual composition and whether it can translate an abstract request like “make it more beautiful” into concrete code changes. For front-end development, visualization dashboards, and digital twin scenarios, this capability has direct value.
Implications for Engineering Deployment
Synthesizing the above evaluations yields several general conclusions:
- Planner-executor layering is the cost-optimal approach. A high-capability model handles architecture and decomposition; a standard model handles implementation. Overall cost can drop by an order of magnitude.
- The planning document is the quality gate. Time spent reviewing the plan is far less expensive than rework caused by execution going off track.
- Evaluations need a discriminative baseline. Selecting industry-recognized hard tasks (such as a formula engine) is the only way to measure true differences.
- Budget awareness must be front-loaded. Deep evaluations consume significant resources. It is recommended to use controllable allowances combined with general cloud capabilities such as logging services and monitoring/alerting to track usage.
For engineering deployment, teams can leverage general-purpose LLM invocation, logging services, and monitoring/alerting capabilities available on mainstream cloud platforms—such as Baidu AI Cloud—to build a standardized evaluation pipeline that brings usage, cost, and output quality under unified management.
The ceiling of large language models is still rising rapidly, but the value of evaluation methodology is long-term. Turning “can it do it?” into “at what cost, and with what quality, can it do it?” is the real question engineering teams need to answer.
