How to Evaluate LLMs and AI Coding Tools by Rebuilding a Chat App

    This article presents a reproducible evaluation method for comparing large language models and AI coding tools on a single realistic task: rebuilding a conversational web application on top of openly available model APIs. It explains why a unified two-round prompt design is required to keep variables under control, what to look for once API credentials are provided, how to score the three required deliverables, and which engineering practices make results reproducible. Readers will find acceptance criteria, a weighted scoring table, and deployment recommendations they can reuse when selecting a technical stack for their own chat products.

    1. Background: From Opening Up Capabilities to Rebuilding the Product

    A pattern worth watching has recently emerged in the industry. A model provider opened up interfaces for conversation, deep retrieval, file input, speech synthesis, and speech recognition, while explicitly encouraging developers to build complete conversational applications on top of them, including interfaces and interactions that closely match the official web client. The provider later introduced limits such as a daily conversation quota and a maximum input length per request, which sparked a debate about whether opening up capabilities is the same as opening up a product.

    Setting aside the operational interpretation, the part that is genuinely useful to developers is this: once the underlying model capabilities are available as standard APIs, the frontend application layer is no longer a technical barrier. A web client with multi-turn conversation, context management, file parsing, and voice interaction is complex mainly in interaction design, state management, and error handling, and those are exactly the areas where current AI coding tools perform best. Rebuilding a model product with a model is therefore a natural side-by-side evaluation scenario: the task boundary is clear, the acceptance criteria are objective, and the output is runnable.

    This article makes no recommendation or assessment of any specific product. Instead, it abstracts the scenario into a general technical question: how to design a fair and reproducible evaluation process that measures the real ability of different models and AI coding tools along the path from requirements to a running application.

    2. Evaluation Design: Why the Prompt Must Be Unified Across Two Rounds

    Evaluations fail most often not because the model is not capable enough, but because the variables are not controlled. For conclusions to be credible, the input, the operations, and the acceptance criteria must all be fixed.

    The unified test design has three elements. First, a fixed set of model and tool combinations, where each group pairs one large language model with one AI coding execution framework, covering different context-length tiers and different reasoning-effort tiers to avoid the randomness of a single configuration. Second, a unified two-round prompt: the first round provides only the requirements and the role definition, asking the model to act as both a senior product manager and an architect, to research first and then produce output; the second round supplies the execution prerequisites such as API credentials, so the difference in behavior once real calling becomes possible can be observed. Third, a unified deliverables list: every combination must deliver the same three types of results.

    The first-round prompt can be abstracted into the following form:

    1. Role: Senior product manager + frontend architect
    2. Goal: Rebuild a conversational web app (multi-turn chat, file upload, voice input and output)
    3. Input: Target site URL, API documentation URL, available browsing and debugging tools
    4. Deliverables:
    5. 1) Product feature specification + feature structure diagram
    6. 2) A high-fidelity reproduction of the interface
    7. 3) An improved version based on personal experience
    8. Constraints: No preset skill packs or external plugins; execute directly

    The second round adds a single sentence: “The credentials are ready, you can start making real calls.” That sentence looks trivial, but it carries the most information of any step in the entire evaluation.

    3. Key Observation: What the Model Does Once It Has the Credentials

    Under identical operations, the combinations diverged noticeably in the second round, and that divergence reveals the difference in engineering maturity between models and execution frameworks.

    The first type is shallow verification. After receiving the credentials, the model performs only the most basic connectivity check, for example sending one short message to confirm a normal return code, and then declares the work complete. The risk is that problems in a real application, such as interrupted streaming output, truncated ultra-long context, failed file parsing, and out-of-order voice chunks, are never exposed. The deliverable works in a demo but is fragile under real traffic.

    The second type is deep verification. The model proactively constructs boundary cases: extremely long input, prompts containing special characters and multiple languages, oversized or corrupted files, rapid consecutive voice chunks, and reconnection under network jitter. Through these cases it identifies typical defects such as broken scroll positioning in the message list, the input box being covered by the keyboard on mobile, and stale responses from the previous session being written into a newly switched session, then goes back and fixes them in the code.

    The difference should not be attributed simply to one model being “smarter.” It comes mostly from the testing strategy and iteration budget built into the execution framework. When selecting tools, the ability to autonomously construct boundary cases and close the fix loop should be treated as an independent metric rather than being scored together with interface fidelity.

    4. Acceptance Criteria for the Three Deliverables

    To make the evaluation quantifiable, acceptance should be split into three dimensions, each with checkable items.

    For the product document and structure diagram dimension, check whether the feature list fully covers session management, context and attachment handling, the voice pipeline, and settings and account modules; whether the diagram shows hierarchy rather than a flat list; and whether it notes acceptance prerequisites that require cross-environment verification, such as the easily overlooked detail that a share link is inaccessible when logged out. A model that proactively writes down acceptance prerequisites usually has more realistic engineering experience.

    For the fidelity dimension, check layout grid, spacing, corner radius, font-size hierarchy, light and dark modes, and responsive breakpoints, especially high-precision details such as the position and size of the input box on mobile. Also check whether the core flows actually run end to end rather than consisting of a static shell.

    For the improvement dimension, check whether changes are clearly problem-driven, for example conversation grouping and retrieval, message-level retry and editing, structured preview of attachment content, real-time feedback for voice input, and accessibility support such as keyboard navigation, contrast, and semantic labels. Improvements that merely pile on visual effects should be scored low.

    5. A Reusable Scorecard and Implementation Recommendations

    A weighted 100-point scale is recommended: fidelity 40, completeness 25, improvement 20, verification depth 15. Verification depth is scored separately so that deliverables that merely “look right” cannot earn a high score.

    1. weights = {"fidelity": 0.40, "completeness": 0.25,
    2. "improvement": 0.20, "verification": 0.15}
    3. def score(r):
    4. return sum(weights[k] * r[k] for k in weights)

    Three practices are worth standardizing in implementation. First, keep credentials and other sensitive configuration in environment variables or local configuration, and never hardcode them into frontend artifacts, so the rebuilt app does not carry credentials into the browser. Second, add observability to the rebuilt app by connecting a general-purpose logging service and monitoring alerts, and establish baselines for time to first token, failure rate, and truncation rate. Third, fix the runtime environment with a container platform and use object storage for attachments, so results can be reproduced on different machines.

    6. Conclusion

    The value of rebuilding a model application with a model is not in copying an interface. It is that the task provides a high-fidelity capability stress test: requirement understanding, long-context utilization, real API calls, boundary-case construction, and closed-loop fixing, with none of the five dispensable. Keeping the input, the operations, and the acceptance criteria unified, and scoring verification depth separately, is what separates an accidental demo from stable engineering capability. For teams, the method transfers directly to selection and iteration evaluation for their own conversational products, helping them find a technical combination that can actually deliver a running system at a controlled cost.