Evaluating Multi-Model End-to-End Delivery: A Benchmark for Rebuilding a Chat App UI
This article presents a practical evaluation method for comparing how different LLMs and coding toolchains handle an end-to-end task: rebuilding the web interface of a conversational AI product. It covers the evaluation setup, a unified acceptance framework, a two-round prompting strategy, a weighted scoring table, a reusable reference architecture, and common edge-case defects with debugging tips. Readers will learn how to turn subjective impressions into measurable metrics and why self-testing depth after API access matters more than the first screenshot.
1. Background: Why Rebuilding a Web Page Is a Strong End-to-End Test
As open-source models and AI coding tools iterate quickly, single-point leaderboards no longer reflect real engineering experience. A more production-relevant approach is to set a closed but complete goal: rebuild the web frontend of a conversational AI product. This task covers requirement understanding, information extraction, UI reproduction, interaction implementation, integration, and self-testing—a typical end-to-end workflow.
The original test setup was straightforward: six “model + toolchain” groups ran in parallel and produced three fixed deliverables—a product feature document with a structure diagram, a high-fidelity replica page, and an improved new version based on their own judgment. Prompts were issued in two rounds: the first round provided only requirements, and the second round provided API credentials. The key design point is that the first round assesses planning and reproduction, while the second round assesses real usability and self-verification.
Note that this article does not evaluate any specific product. Instead, it abstracts the case into a “multi-model end-to-end delivery evaluation” and provides a more rigorous reproduction and extension plan.
2. Evaluation Design: Turning Subjective Feelings into Quantifiable Metrics
2.1 Unified Input and Unified Acceptance
The first principle is controlling variables. All groups use the same requirement description, the same reference page description, and the same API documentation description. Preloaded memory, skills, or external extensions are prohibited to ensure that the comparison focuses on the model and toolchain themselves.
Acceptance must also be unified. It is recommended to split acceptance into three layers:
- Static reproduction: layout grid, component position, spacing, font size, color, and responsive breakpoints.
- Interaction completeness: session creation, streaming message rendering, stop generation, rename, delete, share, attachment entry, and keyboard shortcuts.
- Engineering usability: error handling, empty states, loading states, authentication failure messages, and mobile input positioning.
2.2 The Purpose of Two-Round Prompting
In the first round, without credentials, the model can only perform an “offline replica” based on documents and page structure. This often produces a shell that looks complete but cannot be integrated. In the second round, after credentials are provided, differences appear immediately: some implementations perform only the most basic connectivity check; others construct multi-turn conversations, extremely long contexts, interrupted requests, and concurrent requests, thereby exposing defects and iterating on fixes.
This shows that the evaluation cannot rely only on first-round screenshots. The depth of self-testing after obtaining credentials must be treated as an independent scoring item.
2.3 Recommended Scoring Table
| Dimension | Weight | Key Observations |
|---|---|---|
| Fidelity | 30% | Desktop and mobile consistency, detail dimensions |
| Feature Completeness | 25% | Whether the core flow forms a closed loop |
| Self-Test Depth | 20% | Whether defects are proactively found and fixed |
| Documentation Quality | 15% | Whether the structure diagram is actionable and boundaries are clear |
| Improvement Reasonableness | 10% | Whether new features serve real scenarios |
3. Implementation Essentials: A Reusable Reference Architecture
To make the replica closer to production-ready, it is recommended to adopt a minimal closed loop with separated frontend and backend. The frontend handles session state and streaming rendering; the backend handles authentication, rate limiting, and credential isolation. Credentials must never appear in frontend code.
A sample structure is as follows:
web/components/ # message list, input box, sidebarhooks/ # streaming request, cancellation, retrystate/ # session and message modelsserver/auth/ # session authenticationproxy/ # credential proxy and rate limitinglogs/ # structured logs
The key to streaming rendering is being “cancellable, resumable, and fault-tolerant.” A concise implementation idea:
async function streamChat(payload, onDelta, signal) {const resp = await fetch('/api/chat', {method: 'POST',headers: { 'Content-Type': 'application/json' },body: JSON.stringify(payload),signal,});if (!resp.ok) throw new Error(`upstream ${resp.status}`);const reader = resp.body.getReader();const decoder = new TextDecoder();while (true) {const { done, value } = await reader.read();if (done) break;onDelta(decoder.decode(value, { stream: true }));}}
4. Common Defects and How to Locate Them
In practice, the main flow is rarely the problem; edge cases are. Typical defects include: the mobile input box being pushed up by the keyboard and misaligned, share links being invisible in a logged-out environment, long messages causing scroll jumping, failed requests without retry or notification, and session list state being out of sync with message state.
The recommended approach is to layer the investigation: first use static comparison to confirm layout differences, then use scripted interactions to confirm whether the state machine is complete, and finally use fault injection to confirm fault tolerance. Only when all three layers pass can you claim “high fidelity.”
5. Conclusion
Using “rebuilding a conversational app” as an evaluation vehicle is valuable because it naturally includes five perspectives: product, design, frontend, backend, and testing. What truly separates the results is often not the first-screen screenshot, but whether the team is willing to perform deeper verification after obtaining credentials. For teams, the reusable practice is simple: unify input, unify acceptance, and write self-test depth into the scoring table.
