Separation of Planning and Execution: Single-Sample Test Results and Boundaries of Applicability

    Recent large language models (LLMs) claim enhanced planning capabilities, drawing developer attention to the "separation of planning and execution" collaborative pattern. While community demos often focus on simple applications or visual prototypes, engineering teams need to know if these models can handle complex business logic, control costs predictably, and produce maintainable code. Based on a single-sample deep test replicating a web-based spreadsheet prototype, this article evaluates the model's planning and execution capabilities, analyzes interface consistency and rework rates, and outlines the boundaries and recommendations for adopting this pattern in engineering teams.

    Recent LLM updates claim stronger planning capabilities, with the “separation of planning and execution” collaborative pattern gaining traction among developers. Community-shared cases mostly focus on one-sentence app generation, 3D game prototypes, or image rendering demos. While these demonstrate the model’s upper limits, engineering teams maintaining long-term projects with controlled costs need answers to more practical questions: Can the model handle complex business logic? Can it keep development costs within a predictable range? Is the generated code sustainable for team maintenance?

    This article discusses the tool’s planning capabilities based on a comprehensive deep test and analyzes whether this collaborative pattern is worth broader adoption. All figures come from this single-sample test without extrapolation. For brand compliance, the specific product is not named and is referred to as “the tested tool.”

    1. Test Design: From Demo to Engineering Task

    Common AI coding demos stop at “one-sentence requirement to full app,” which is hard to evaluate for real-world development. This test splits the task into two independent phases: planning and execution. Both phases examine the model’s architectural and coding capabilities, making it easier to locate issues.

    The task was to replicate a web prototype of a mainstream spreadsheet software. This choice was based on three factors:

    1. Moderate complexity: The features involve grid rendering, formula engine, cell styling, comments, and other modules. The codebase is much smaller than an OS-level project but sufficient to test architectural design.
    2. Clear visual requirements: The layout and interaction details can be compared item by item with the original.
    3. Easy evaluation: The original product has clear feature boundaries, allowing itemized scoring.

    Execution used a dual-model collaboration. Model A handled system architecture, data structures, module breakdown, and interface planning, outputting a local planning document. Model B coded module by module based on this document. This division simulates an “architect plus engineer” team structure.

    Test configuration is as follows. Undisclosed items are explicitly marked.

    • Model A and Model B: Both are new versions provided by the tested tool. Specific version numbers and internal identifiers are not public.
    • Inference parameters (temperature, context length, etc.): Tool defaults were used without tuning.
    • Planning document: Output a technical proposal document; the exact length was not measured.
    • Control group: A direct coding task “without a planning document” was set as a reference, with a sample size of one.
    • Acceptance criteria: Itemized checking including selection operations, cell drag-fill, formula calculation, and undo/redo. Each item was recorded as pass, partial pass, or fail.
    • Statistical methods: No repeated experiments were conducted; confidence intervals and significance tests were not calculated.

    The above configuration defines the boundaries of this test. Readers wishing to reproduce it need to supplement the version numbers, inference parameters, and repetition counts.

    2. Planning Phase: Architecture and Task Breakdown Performance

    Instead of adopting a monolithic structure, Model A proposed a four-layer architecture: rendering layer, data model layer, computation engine layer, and interaction control layer. The planning document explained the responsibilities and communication methods of each layer.

    • Rendering layer: Only responsible for the virtual scrolling rendering of the grid, containing no business logic. The document’s goal was smooth scrolling under large data volumes, though performance was not measured in this test.
    • Data model layer: Stores cell data using a sparse structure and defines an event mechanism to track data changes.
    • Computation engine layer: Runs independently of the UI, responsible for formula parsing and dependency relationship building.
    • Interaction control layer: Handles keyboard navigation, selection, and clipboard. Undo and redo are implemented via the command pattern.

    Model A broke down the development task into 27 execution sub-tasks and prioritized them by dependency. It did not prioritize formula calculation; instead, it placed the selection model and keyboard navigation at the highest priority. The reasoning given was that the selection model is the foundation for format painters, batch filling, and chart data selection—if flawed, later refactoring costs would be high. This sequencing aligns with common engineering experience. However, since there was only one planning document, it is impossible to judge if it remains stable in other tasks.

    Regarding the tech stack, Model A did not choose a heavy framework but recommended native Canvas drawing for the core grid and standard DOM for surrounding panels. The reasoning was to reduce framework runtime overhead. This judgment is reasonable, though no rendering performance comparison test was conducted.

    3. Execution Phase: Coding Coordination and Rework

    After planning, Model B coded according to the document. The focus was on whether interfaces between modules were consistent, rather than code volume.

    Taking “cell drag-fill” as an example, Model B referenced the data range structure and selection change event interface defined in the planning document. The generated code matched the calling methods of existing modules. In the sampled modules checked, no mismatched interface names or parameters were found. This is only a sampling result and still requires code review and automated testing for confirmation.

    As a reference, Model B was also asked to directly code the same feature without a planning document. This group showed that Model B was more likely to generate redundant code deviating from requirements, requiring more manual corrections. The correction time was not measured, so an exact efficiency difference cannot be provided. What can be confirmed in this example is that the planning document reduced obvious directional deviations.

    In practice, the following types of issues should be noted:

    1. When the planning document is too long, the execution model may lose earlier constraints. This test document was not extreme, so the issue was not observed, but teams should monitor it.
    2. Interface drift: Function signatures or event names between modules may change in subsequent iterations. It is recommended to list an interface inventory in the planning document and constrain it with type checking or contract testing.
    3. Planning quality itself: If the planning is flawed, the execution phase will faithfully amplify the errors. Therefore, the planning document should be reviewed manually before coding begins.

    4. Visual and Front-End Capabilities: A Separate Sample

    The test also required the model to draw a game level scene using basic drawing commands based on the planning document. The model generated city wall textures, dust particles, and a simple parallax background. From the output, the model did not just splice basic shapes but used noise functions and gradient processing.

    This test only shows that the model performed well graphically in this single sample. No comparison was made with professional art assets or standard test sets, so its general level in art design cannot be judged. This sample does not mean it can replace art personnel. Only one result was generated, and its stability was not tested.

    5. Cost: Only This Instance Is Described

    Community cases have circulated about high-level application development consuming hundreds of dollars in API fees. This test utilized a fixed credit quota obtained through a cloud platform subscription service to call the models. The specific amount, billing unit, and actual call consumption are not disclosed here due to platform terms and internal accounting.

    Therefore, this article cannot provide exact cost figures, nor can it assert that costs were controlled within budget. From the process, the planning phase output was lengthy, while the execution phase reduced repetitive generation due to clear direction. This observation is consistent with the hypothesis that “planning documents can reduce invalid output,” but it requires tracking call counts and token consumption to verify. If teams want to assess costs, it is recommended to record call counts, unit prices, and rework rates for each stage, then calculate the cost per feature.

    6. Conclusion: Applicable Scope and Future Validation

    This test supports a limited conclusion: In a medium-complexity web prototype task, the plan-then-execute approach helped Model B reduce directional deviations, and no interface inconsistencies were found. The architectural breakdown in the planning phase also showed clear dependency judgment.

    The boundaries of this conclusion are explicit. The sample size was one, the task type was singular, the control group scale was very small, and cost data was undisclosed. It cannot be directly generalized to all complex business systems.

    For teams considering adopting this pattern, three points deserve attention:

    1. Role division: Architecture work will shift more towards writing and reviewing planning documents. Architects need to translate requirements into verifiable structured descriptions. Planning tools cannot replace an architect’s judgment on business and constraints.
    2. Review first: The planning document should be reviewed before coding, as the cost of handling architectural risk is lowest at this stage.
    3. Skill requirements: Developers need to be able to translate vague requirements into clear modules, interfaces, and acceptance criteria.

    The final recommendation is to first conduct a similar controlled experiment on a small internal project, recording model versions, inference parameters, repetition counts, rework rates, and costs, before deciding whether to roll it out to the wider team.