Replicating the Same AI App with 6 LLMs: A Practical Prompt Evaluation Method
This article describes a hands-on experiment that used a single replication task and a structured scoring rubric to compare six large language models. It covers the test setup, four evaluation dimensions, the key behaviors that separated the top model from the rest, and actionable tips for writing better prompts and running repeatable multi-model evaluations. Readers can reuse the workflow directly by swapping in their own task template and scoring weights.
1. Background: Why Use “Replication” to Test LLMs
“Can you take a mature AI chat product and fully rebuild its frontend page and interaction logic?” This is a common litmus test many teams rely on when choosing a large language model. The reason is simple: the task exercises several capabilities at once—
- Visual fidelity: accurately understanding layout, spacing, font sizes, and colors from a screenshot or written description;
- Frontend engineering: producing component code that is well-structured and runs directly;
- Interaction logic: implementing details such as streaming output, auto-resizing input fields, and multi-turn conversation persistence;
- Engineering discipline: whether the delivery includes documentation, run instructions, and caveats.
In other words, a replication task is a “comprehensive stress test” that reflects real-world development performance better than running generic benchmarks alone.
2. Experiment Design
2.1 Task Setup
I gave all six models the exact same instruction: based on a product description document, replicate the web frontend of an AI chat application. It had to include three main parts—a conversation list, a message area, and a bottom input box—and simulate streaming replies.
The prompt uniformly included the following elements:
- Page structure description (three-column/two-column layout, mobile collapse behavior);
- Visual specs (primary color, border radius, font-size scale);
- Interaction requirements (send, stop, clear, auto-scroll to bottom);
- Delivery requirements (single file or standard project structure, with run instructions).
2.2 Evaluation Dimensions
I defined four scoring dimensions, each worth a maximum of 25 points:
| Dimension | Focus |
|---|---|
| UI fidelity | Layout proportions, input box position and size, mobile adaptation |
| Feature completeness | Streaming output, conversation management, edge-case handling |
| Code quality | Component decomposition, state management, maintainability |
| Delivery standards | Documentation, acceptance steps, risk warnings |
3. Results and Key Findings
3.1 The Top-Scoring Model Did Three Things Right
The model with the highest overall score clearly led in three areas:
First, its delivery report was extremely thorough. It not only wrote complete comments in the code but also proactively warned in the report that “the share link may be affected by browser caching; verify in a different browser or incognito mode.” Details like this show a degree of “operational awareness,” anticipating the pitfalls a user might hit during acceptance.
Second, its mobile replication was a precise match. In the generated version, the position, height, and border radius of the mobile input box were almost identical to the original description. It even handled viewport compression when the soft keyboard appears (dynamically adjusting by listening to the visualViewport resize event):
if (window.visualViewport) {window.visualViewport.addEventListener('resize', () => {inputBar.style.bottom =`${window.innerHeight - window.visualViewport.height}px`;});}
Third, its core functionality formed a complete loop. Streaming replies, interrupting generation, context truncation, empty-message blocking, and long-text collapsing—these easily overlooked edge cases were all covered, rather than delivering just a “demo that runs.”
3.2 Typical Shortcomings of the Other Models
- Two models performed well on desktop but simply “squeezed the sidebar out of existence” on mobile, with no drawer-style collapse;
- One model had excellent code structure but shipped with no run instructions, raising the acceptance cost;
- Another over-engineered, adding design elements not in the original—good-looking but deviating from the essence of a “replication” task.
This confirms a pattern: differences in a model’s engineering discipline usually show up in edge cases and delivery details, not the main flow. Everyone can write the main flow; the gap is in the final 20%.
4. Practical Recommendations
- State the “prohibitions” explicitly in your prompt. For a replication task, always declare “do not add design elements on your own,” or the model tends to improvise.
- Ask the model to output an acceptance checklist. Having the model list its own feature points and acceptance steps both standardizes delivery and makes item-by-item verification easier.
- Make separate requirements for mobile. This includes the soft keyboard, safe areas (
env(safe-area-inset-bottom)), and touch target sizes—models usually won’t do these unless you ask. - Compare horizontally with a unified scoring sheet. Avoid subjective “they all look fine” judgments; once quantified, the gaps become obvious.
5. Conclusion
The biggest takeaway from this round wasn’t “which model is best,” but validating a methodology: a comprehensive task plus a structured scoring sheet is enough to quickly run a horizontal evaluation across multiple models. Whether for team selection or individual daily development, this workflow can be applied directly—just swap the task template and scoring weights. When it comes to choosing a model, rather than relying on marketing claims, design a replication task close to your own business and let the models compete on the same stage; the answer will surface on its own.
