Benchmarking Multimodel Replication of a Conversational Web App
This article presents an end-to-end evaluation design for comparing different model-plus-harness combinations on a conversational web app replication task. It covers six configurations, three deliverables, a two-round prompt design, quantifiable fidelity scoring, credential-injection security practices, and recommendations for turning delivery-oriented tasks into reproducible engineering benchmarks.
Benchmarking Multimodel Replication of a Conversational Web App
1. Evaluation Background and Problem Definition
As agent capabilities evolve rapidly, single-point question-answering evaluations no longer reflect real engineering proficiency. A more valuable approach is to define an end-to-end delivery task: let different “model + harness” combinations complete a small product delivery under unified constraints. This article uses “replicating a conversational web app” as the evaluation vehicle and abstracts a reusable evaluation design method.
The core question is not “which model writes code faster,” but three more fundamental capabilities:
- Information acquisition: Can the system autonomously browse the target page and API documentation, extract the real feature list, and avoid inventing features from imagination?
- Engineering restoration: Can it achieve high-fidelity replication in structure, styling, and interaction states?
- Self-verification: After receiving real call credentials, is it willing to perform deep testing and proactively fix defects?
2. Variable Control: Six “Model + Harness” Combinations
The evaluation uses six configurations. Each pairs a large model with an execution framework—a client, a command-line tool, or an agent orchestration layer—covering three typical forms:
- Long-context + agent-team collaboration: suitable for understanding large codebases and coordinating multi-file changes.
- High-reasoning tier + coding-specific executor: suitable for complex logic and debugging loops.
- Ultra-long context (on the order of ~960K tokens) + standard-context tool combination: used to ingest a large amount of page structure and documentation at once.
- General flagship model + official client: examines out-of-the-box capability.
Unified variables include the same prompt, the same target site, the same browser automation tool, and the same acceptance criteria. The only difference is the model and harness themselves. This allows conclusions to be attributed to capability differences rather than environment differences.
3. Deliverable Breakdown: Three Artifacts Define the Evaluation Target
Each group is required to produce three items, forming a progressive chain of “understanding—replication—innovation”:
- Product feature document and functional structure diagram: Examines abstraction and structuring ability. The output must cover functional modules, hierarchy, and key interaction paths.
- High-fidelity replica page: UI, layout, and interactions must match the original site, examining detail restoration.
- Improved page: Optimizes experience based on understanding. Public information may be consulted to introduce reasonable features, examining design judgment rather than feature stacking.
The recommended weighting for the three deliverables is 3
3, preventing “innovation points” from masking insufficient fidelity.
4. Prompt Design: Two Rounds of Interaction Are the Key Experimental Design
The first round provides only requirements, not credentials. Key prompt elements include: set the role as a senior product manager; provide the target site and API documentation addresses; state that a browsing tool is available and the login state is ready; specify the three deliverables; and finally require the model to “clear existing memory, skills, and external extensions, and execute directly.”
The value of the first round is observing the model’s completion strategy without credentials: does it first organize the information architecture, or directly pile up pages? Does it proactively state that “some capabilities require credentials for acceptance”?
The second round supplies call credentials. This round is the real dividing line. In practice, two types of behavior emerge:
- Shallow-validation type: After changing the configuration, it performs only one minimal call and ends once it confirms that “a response can be returned.”
- Deep-validation type: It constructs multi-turn conversations, abnormal inputs, ultra-long contexts, concurrency, and stream-interruption scenarios, proactively discovers defects, and revises the code.
It is important to emphasize that the operating procedures are completely identical; the differences come from the default strategies of the models and harnesses. Therefore, evaluation conclusions should be framed as “strategy differences,” not “environment differences.”
5. Quantifiable Dimensions for Fidelity Evaluation
The following tabular dimensions are recommended, each scored from 1 to 5:
| Dimension | Observation Points |
|---|---|
| Structural fidelity | Page skeleton, block hierarchy, navigation placement |
| Visual fidelity | Spacing, font size, border radius, color values, dark mode |
| Responsive fidelity | Mobile input-box position and size, breakpoint behavior |
| Functional completeness | Session management, history, parameter settings, sharing |
| Streaming interaction | Token-by-token output, generation interruption, retry |
| Documentation quality | Feature-list completeness, structure-diagram accuracy |
| Self-testing depth | Whether boundary and abnormal cases are constructed |
In practice, the most stable overall group showed outstanding behavior: it proactively noted verifiability hints in the documentation, such as “the share link needs to be accepted in another browser”; its replica matched the original site closely in mobile input-box position and size; and its core features were fully restored. This indicates that metacognition and detail sensitivity predict delivery quality better than code volume alone.
6. Security Practices for Credential Injection
Supplying credentials in the second round is necessary for the evaluation, but the principle of least exposure must be followed:
# Inject only via environment variables; do not write to source code or logsexport APP_API_KEY="<redacted>"export APP_BASE_URL="<redacted>"
Supporting requirements: use least-privilege, temporarily revocable credentials; prohibit printing plaintext in prompt echoes and terminal output; and rotate credentials immediately after the evaluation. Any implementation that “hardcodes keys into the frontend” should be judged directly as failing, because exposing keys on the browser side is a typical security defect.
7. Conclusions and Implementation Recommendations
- Delivery-oriented tasks distinguish model engineering capability better than question-answering tasks and should be adopted as a regular evaluation item.
- The two-round prompt design—requirements first, credentials second—efficiently exposes differences in self-testing depth and should be fixed as a standard process.
- Evaluation reports must distinguish “capability differences” from “harness strategy differences” to avoid incorrect attribution.
- For replication tasks, responsive details, streaming interactions, and credential security should be treated as veto items.
- For large-scale execution, container platforms can isolate environments, object storage can archive artifacts, and logging services with monitoring alerts can track each round’s execution trace, ensuring the evaluation is reproducible and auditable.
