Evaluating Multi-Model Web App Replication: A Technical Practice Guide
This article presents a controlled evaluation method for comparing how different LLMs and agentic coding toolchains replicate the same web application. It covers the two-round prompting design, acceptance criteria for three deliverables (functional documentation, a high-fidelity replica, and an improved version), a five-dimension scoring model, and common pitfalls to avoid. Readers will learn how to turn subjective impressions into reproducible, comparable engineering metrics centered on deliverables and self-testing depth.
1. Background: From “It Generates” to “It Ships”
As agentic coding tools become widely adopted, getting a model to produce a runnable web application in one shot is no longer the hard part. The real challenge is whether the output is deliverable, maintainable, and verifiable. The original practice took a representative approach: six groups, each pairing a model with a toolchain (harness), worked on the same task in parallel and produced three types of deliverables—a product feature document with a structure diagram, a high-fidelity conversational web replica, and an improved version of the page based on lessons learned.
The value of this design is not about “which model is stronger.” It pulls model capability assessment back from subjective impressions to observable engineering metrics. Throughout this article, specific product names are replaced with neutral terms such as “a general-purpose LLM” and “an agentic coding toolchain,” keeping only the methodology.
2. Experiment Design: A Controlled Horizontal Comparison
A horizontal comparison is only meaningful when variables are tightly controlled. The original approach is worth reusing:
- Same task: Every group received an identical requirements description and acceptance criteria.
- Same rounds: Round one provided only the requirements, with no keys; round two supplied access keys to observe how each group behaved afterward.
- Same operations: No additional human hints or mid-course corrections; results were only recorded.
- Same deliverables: A task counted as complete only when the document, the replica page, and the improved page were all present.
This “same prompt, same rounds, same standard” design is essentially a controlled experiment. It removes interference from prompt differences, so the final differences can be attributed to the models’ strategies and the toolchains’ strategies themselves.
3. Two-Round Prompting: Turning Hidden Requirements into Observable Behavior
The first-round prompt described only the requirements, and the model had to complete the main development without the keys; the keys were disclosed only in the second round. The clever part of this design is that it creates an information-increment moment used to observe the model’s genuine engineering habits.
The test revealed a clear split:
- One type of model, after receiving the keys, performed only minimal connectivity checks—for example, calling the API once to confirm a normal response and then declaring completion.
- Another type proactively constructed boundary inputs, verified exception branches, and checked error messages and fallback paths, exposing hidden defects and continuing to optimize.
This shows that there is a dividing line between “it runs” and “it is ready to ship,” determined by the depth of self-testing. In engineering practice, it is worth turning this observation into an evaluation item—for example, mandating three kinds of evidence in the acceptance checklist: “exception input cases,” “failure-state messages,” and “retry and timeout handling.”
4. Acceptance Points for the Three Deliverables
4.1 Product Feature Document and Structure Diagram
A qualified document should include a feature list, page hierarchy, state transitions, and API boundaries. The structure diagram should show module relationships rather than a flat list, and should be able to guide subsequent secondary development.
4.2 Replica Page
The acceptance focus is not “how similar it looks” but whether the interaction loop is complete: input, streaming output, stop generation, conversation history, and error messages.
4.3 Improved Page
This is the deliverable that best reflects accumulated experience. Strong improvements usually concentrate on general engineering dimensions such as accessibility, keyboard operation, context-length hints, session persistence, and rendering performance.
5. Reusable Evaluation Dimensions
The evaluation can be broken into five scored dimensions: requirement coverage, interaction completeness, self-testing depth, code readability, and improvement value. Among them, “self-testing depth” is the most easily overlooked, yet it best predicts real-world stability after launch.
A sample acceptance script can be organized like this:
checks = {"doc_exists": has_function_doc(),"diagram_valid": has_structure_diagram(),"chat_roundtrip": send_and_receive_ok(),"error_state": trigger_timeout_shows_hint(),"empty_input": empty_input_blocked(),"improvement": has_accessibility_fix(),}score = sum(checks.values()) / len(checks)
6. Common Pitfalls and How to Avoid Them
First, treating a demo as a deliverable: it works only under ideal inputs and lacks failure states. Second, documentation disconnected from implementation: the document describes one thing and the page does another. Third, over-engineering: introducing complex dependencies unrelated to the requirements, raising maintenance costs. Fourth, ignoring observability: without logging and monitoring instrumentation, production issues are hard to locate. The way to avoid these is to move the acceptance checklist forward into the requirements phase, and to keep unified logging and monitoring/alerting capabilities as a fallback.
7. Conclusion
Running multiple models in parallel to replicate the same application yields something more valuable than a ranking: a evaluation method centered on deliverables, with self-testing depth as the key metric. By fixing the two-round prompting, three deliverables, and five-dimension scoring into a team process, you can reach conclusions that are reproducible, comparable, and traceable during selection, instead of relying on a one-off subjective impression.
