Evaluating Multi-Model Website Replication: A Practical Framework for AI Coding Agents
This article presents a practical evaluation methodology for testing how different large language models and AI coding toolchains replicate a publicly accessible conversational web application. It covers the evaluation design with controlled variables, three required deliverables, a two-round prompting mechanism, prompt engineering practices, differences in self-verification depth, a four-dimension scoring method, and reproducible engineering recommendations. Readers will learn how to turn subjective model selection into a quantifiable and repeatable process.
1. Background and Problem Definition
When an open-source project releases a complete toolchain covering training, inference, and deployment all at once, developers rarely want to read the documentation again. What they usually want to know is whether they can build an equivalent system themselves. This article examines a typical engineering validation scenario: using a publicly accessible conversational web application as the reference, multiple teams of “large model + AI coding toolchain” complete a replication task under semi-automated conditions, revealing the capability boundaries of different models on real deliverables.
The value of this kind of evaluation is not to score a particular product. It is to establish a reusable methodology: how to construct inputs, how to constrain the process, how to accept deliverables, and how to attribute differences. Once a team masters this method, it can replace any reference implementation with its own business system for model selection, toolchain assessment, and engineering productivity baselines.
2. Evaluation Design: Variable Control and Deliverable Definition
2.1 Combinations Under Test and Variables
This practice selected six “model + toolchain” combinations, covering different context length tiers, different reasoning intensity modes, and different client forms, including both command-line tools and graphical clients. To ensure comparability, all combinations shared the same runtime environment, the same network egress, and the same initial working directory. The only variable was the model and toolchain itself.
2.2 Three Categories of Deliverables
Each combination was required to produce a set of structured artifacts, not a piece of code that merely “looks runnable”:
- Product feature documentation and a feature structure diagram: describing which functional modules the reference system contains and the hierarchy and navigation relationships between modules.
- High-fidelity replicated pages: UI layout, interaction behavior, and state transitions must match the reference system.
- Improved pages: based on an understanding of the original design intent, optimizations for usability and information architecture are proposed, and retrieving public materials to add reasonable features is allowed.
2.3 Two-Round Prompting Mechanism
The first round provided only the requirements and the reference entry point, with no call credentials. The second round provided the keys, observing how model behavior changed once “real integration testing capability” became available. The key value of this design is to distinguish two capabilities: static restoration capability (looking and writing) and dynamic verification capability (running and testing).
3. Prompt Engineering Essentials
The core structure of the original instruction is worth abstracting into a general template:
Role: Senior product manager + front-end architectGoal: Replicate and improve a conversational web applicationInput: Reference page entry, API documentation entry, logged-in browser environmentConstraints: Ignore historical memory and existing plugins; execute directlyOutput: Feature documentation + structure diagram + replicated page + improved page
The “ignore historical memory and existing plugins” constraint is particularly important. AI coding toolchains load project memory, skill packs, and external connectors by default. In a replication task, this context introduces noise and makes the model tend to reuse existing templates rather than observe the reference system from scratch. Explicitly clearing the context significantly improves the consistency between the deliverables and the reference.
4. Key Differences During Execution
Under unified operating conditions, the combinations diverged markedly in the depth of self-verification in the second round, which can be summarized into three tiers:
- Shallow verification: after obtaining the keys, only one minimal connectivity call is made; once “it returns something,” the work is considered done, and remaining issues only surface during acceptance.
- Medium verification: covers major APIs and key states, and can detect problems such as missing fields and improper error code handling.
- Deep verification: actively constructs boundary inputs, abnormal network conditions, and concurrency scenarios, locating hidden defects such as layout misalignment and state desynchronization, and then revising the code.
This difference shows that a model’s “delivery completeness” depends not only on generation quality but also on its built-in verification strategy. In engineering practice, verification depth should be written into the prompt and the acceptance checklist, rather than left to the model’s own initiative.
5. Acceptance Dimensions and Scoring Method
A four-dimension weighted score is recommended, with 25 points per dimension and 100 points in total:
| Dimension | Observation Points | Judgment Method |
|---|---|---|
| Feature completeness | Whether modules are complete and navigation is correct | Checklist item by item |
| Visual fidelity | Spacing, font size, border radius, dark mode | Side-by-side screenshot comparison |
| Interaction consistency | Streaming output, stop generation, conversation history | Scripted click regression |
| Mobile adaptation | Input box position and size, safe area | Multi-viewport screenshots |
Mobile adaptation is the most easily overlooked dimension and the one that creates the widest gaps: some combinations precisely align the input box position and size, while others show occlusion and scroll jitter in narrow viewports.
6. Reproducible Engineering Recommendations
- Fix the environment snapshot: use a container platform to lock dependencies and avoid version drift affecting conclusions.
- Version the artifacts: output each run to a separate directory, with logging services and monitoring alerts to track failure points.
- Automate acceptance: turn the checklist into scripts, using a headless browser for batch screenshots and assertions.
- Make two-round prompting standard: adopt “replication without credentials + integration testing with credentials” as the standard evaluation process.
- De-brand the conclusions: when reporting externally, describe only capability dimensions and difference attribution, avoiding arguments over product superiority.
7. Conclusion
Replication tasks are a high-precision mirror: they simultaneously reflect a model’s product understanding, code organization, detail fidelity, and self-verification awareness. For developers, the asset worth accumulating is not a particular ranking, but this evaluation framework of “unified input, two-round prompting, four-dimension acceptance, and automated regression.” Integrating it into the daily development workflow turns model selection from a subjective impression into a quantifiable, trackable, and iterable engineering decision.
