Evaluating Multi-Model Website Replication: A Practical Testing Framework
This article presents a reproducible framework for evaluating how different model and agent harness combinations replicate and redesign an existing conversational web application. It covers a two-round prompting strategy that separates planning from integration, unified testing operations, a weighted acceptance rubric, common fidelity gaps, redesign principles, and engineering practices for building a quality gate. Readers will learn how to compare solutions fairly and maintain engineering certainty as models evolve.
1. Background and Problem Definition
When a family of open-source models is released together, developers care less about whether the models can run and more about which combination stays reliable in real tasks involving multi-agent collaboration, long context, and mixed tool calls. This article abstracts the original material into a general technical problem: given an already deployed conversational web application, how can multiple combinations of “model + agent harness” complete replication and redesign under unified constraints, with reproducible side-by-side evaluation?
Note that this article does not evaluate or recommend any specific vendor product. All models and frameworks are referred to as “Solution A/B/C…” The focus is on methodology and engineering implementation.
2. Evaluation Design: Two Prompting Rounds and Unified Operations
The core design of the original practice is worth reusing: two rounds of prompts.
- The first round provides only the requirements. The role is set as a senior product manager, asked to produce three things: a product feature document with a structure diagram, a replica page that closely matches the original in UI and functionality, and a new version optimized based on its own experience. It is also required to clear memory, skills, and external tools, then execute directly.
- The second round provides the API key, allowing the solution to connect to the interface and enter the integration phase.
This split of “design first, integrate later” effectively separates “planning capability” from “engineering closure capability.” Unified operations are key: all solutions use the same environment, the same requirements, and the same acceptance script to avoid variable contamination.
It is recommended to fix the acceptance criteria into a table:
| Dimension | Weight | Acceptance Points |
|---|---|---|
| Documentation quality | 20% | Completeness of the feature list, readability of the structure diagram, boundary descriptions |
| Fidelity | 40% | Layout, control dimensions, mobile adaptation, interaction details |
| Improved version | 25% | Reasonableness of new features, information architecture, usability |
| Engineering closure | 15% | Whether it can self-test, find defects, and fix them |
3. Observed Strategy Differences: Shallow Testing vs. Deep Testing
In the second round after receiving the API key, clear divergence appeared among solutions: one type only ran the minimal path and declared completion; another proactively constructed abnormal inputs, switched network states, and verified the visibility of share links in another browser, thereby exposing defects and iterating. This shows that the framework’s “default behavior strategy” has a major impact on final quality, so selection should not rely solely on model leaderboards.
4. Why Fidelity Is Hard: A Detail Checklist
High fidelity often fails on details. It is recommended to list a machine-checkable checklist:
- Input box position, border radius, and padding on desktop and mobile- Maximum width and line-wrapping strategy of message bubbles- Scrollbar behavior and long-message collapsing- Empty state, loading state, and error state copy- Cross-browser visibility of share links
Illustrative validation code (pseudocode):
def check(page, selector, expect):box = page.locator(selector).bounding_box()assert abs(box["x"] - expect["x"]) < 2assert abs(box["width"] - expect["width"]) < 2
5. From Replication to Redesign: Methodology for the Improved Version
The improved version is not about piling on features, but about addressing three types of problems: first, lowering the barrier to first use (templates, guidance); second, improving controllability (parameter panels, historical version comparison); third, enhancing trustworthiness (citation sources, retry prompts on failure). Solutions are required to “search the web and selectively adopt” but must provide reasons for trade-offs to avoid feature bloat.
6. Engineering Recommendations
- Use a container platform to fix the environment, and use logging services and monitoring alerts to record the duration and failure rate of each round.
- Use object storage to archive artifacts, and use a message queue to decouple “generation—acceptance—scoring.”
- Script the scoring to output a regression baseline, and automatically run the gate after model or framework upgrades.
7. Conclusion
The value of multi-solution replication evaluation lies not in “ranking” but in establishing a reproducible quality gate: two rounds of prompts separate planning from integration, unified operations eliminate variables, a fine-grained checklist quantifies fidelity, and redesign examines product judgment. Only by precipitating this methodology into the environment and pipeline of Baidu AI Cloud can engineering certainty be maintained as models iterate rapidly.
