How to Evaluate Multi-Model Replications of a Chat Application

    This article presents a neutral evaluation method for comparing multiple models and execution frameworks by asking them to replicate a mature chat web application. It defines three deliverables, a two-round prompting design with unified inputs, key observation points on verification depth, a four-layer scoring system with suggested weights, a reproducibility record template, common pitfalls, and advice for embedding the evaluation into a selection pipeline. Readers can adapt the method to their own engineering scenarios and turn model selection from intuition into auditable evidence.

    1. Why Replicating a Chat Web Page Is a Good Evaluation Task

    With open-source models and agent frameworks iterating quickly, the core question for teams is no longer “can we call a model,” but “how do we make an explainable, reproducible selection decision across multiple candidate models and execution frameworks.” Traditional leaderboard scores usually reflect single-turn question answering and rarely show how a model performs on real engineering work.

    Replicating a mature conversational web application is a high-density task. It involves interface restoration, interaction state management, streaming output handling, session persistence, API integration, and documentation. Such a task demands several capabilities at once: understanding requirements, planning steps, and self-checking within a limited number of turns.

    This article uses that task as the background and proposes a neutral evaluation scheme. The scheme targets no specific product. Instead, it is abstracted into a comparison method for “multiple models plus execution frameworks,” so readers can transfer it to their own scenarios.

    2. Evaluation Goals and Deliverables

    Before the evaluation starts, “done” must be defined clearly. A vague goal lets each executor improvise, which makes horizontal comparison impossible. Split the deliverables into three types:

    1. Functional and structural specification: a feature list, information architecture, and page structure outline, used to assess requirement understanding and abstraction.
    2. Runnable frontend implementation: a web page that opens in a browser and supports basic conversational interaction.
    3. Improved implementation: an optimized version built on the replication, based on the executor’s own experience, used to observe initiative and engineering judgment.

    The three deliverables map to “understanding,” “implementation,” and “optimization,” which form the three baseline dimensions of the evaluation.

    3. Experiment Design: Unified Inputs and Two Prompt Rounds

    For fairness, every combination receives exactly the same input materials: the public URL of the target site, the public URL of the API documentation, and an automated browser tool that can browse pages in a logged-in state. No specific names appear here; the tool is referred to uniformly as the “automated browsing tool.”

    The prompts use a two-round design:

    • Round 1: requirement injection. The executor is asked to act as a senior product manager, produce the three deliverables above, and is allowed to use the browsing tool to inspect pages and documentation.
    • Round 2: capability injection. The executor is given calling credentials, and its subsequent behavior is observed.

    The key point of this design is that Round 1 assesses “planning and implementation without credentials,” while Round 2 assesses “verification strategy after gaining a capability.” The credential itself is represented by a placeholder:

    1. Credential ready: API_KEY=<your_key>
    2. Continue the task and decide how to verify it yourself.

    4. Key Observation Points: From “Submit After Editing” to “Digging Out Defects”

    In practice, combinations diverge noticeably in Round 2, and this is the most valuable part of the evaluation.

    • Shallow verification: after receiving the credential, the executor makes only one minimal call and stops once the response looks normal. The output is usable, but potential problems remain.
    • Deep verification: after receiving the credential, the executor designs multiple test cases covering abnormal inputs, extra-long contexts, concurrent requests, and interrupted streams, then finds and fixes defects.

    This difference comes more from the strategy settings of the execution framework than from raw model capability. Under unified operation, strategy differences are amplified, and that is exactly the signal the evaluation aims to capture.

    5. Scoring System: Four Layers and Suggested Weights

    To avoid subjective “looks fine” judgments, use four layers of metrics:

    Layer Metric Focus Suggested weight
    L1 Requirement coverage Completeness of the feature list, accuracy of the structure diagram 25%
    L2 Implementation quality Runnability, interaction smoothness, correctness of streaming output 30%
    L3 Verification depth Number of test cases and scenario coverage, number of defects found 25%
    L4 Optimization gain Reasonableness of improvements, maintainability gains 20%

    When scoring, add “defect density” as a supporting metric: the number of defects per feature point, used to normalize results horizontally.

    6. Reproducibility: An Experiment Record Template

    If the process is not recorded, the conclusions cannot be audited. Save the following fields for each run:

    1. {
    2. "run_id": "exp-001",
    3. "model_profile": "general-purpose chat model, long context",
    4. "harness_profile": "standard agent framework",
    5. "round1_prompt_hash": "sha256:...",
    6. "round2_action_log": ["browse", "invoke", "test"],
    7. "artifacts": ["spec.md", "index.html", "improved.html"],
    8. "defects_found": 3,
    9. "score": {"L1": 22, "L2": 26, "L3": 20, "L4": 15}
    10. }

    round2_action_log is the core evidence for distinguishing shallow from deep verification. Keep the full call sequence and failing cases.

    7. Common Pitfalls and How to Avoid Them

    1. Goal drift: unclear Round 1 requirements lead to deliverables of varying shapes. Provide a deliverable template.
    2. Inconsistent environment: an expired login state in the browsing tool causes misjudgment. Validate the environment before each round.
    3. Subjective scoring: no anchor samples. Manually label two or three baseline samples first as scoring references.
    4. Over-attribution: mistaking framework strategy differences for model capability differences. Explicitly separate the “model” and “framework” variables in the report.

    8. Implementation Advice: Embed the Evaluation into the Development Workflow

    For enterprise teams, turn this method into a selection pipeline: when a new model or framework is onboarded, automatically run the standard task set, output a structured report, and archive it. The report should contain at least three parts: the deliverable list, evidence of verification depth, and the defect density trend.

    For cloud implementation, use a container platform to host stateless execution environments, object storage to keep artifacts and logs, a message queue to smooth peaks and chain multi-round tasks, and logging and monitoring with alerting to track failure rates and latency. These are all generic capability categories and are not tied to any specific vendor.

    9. Conclusion

    Comparing multiple models and agent frameworks is essentially turning “feel” into “evidence.” With unified inputs, two-round prompts, layered scoring, and complete records, teams can reach explainable conclusions on real engineering tasks. Replicating a chat web page is only a carrier; what remains is a reusable evaluation method. It moves selection from experience-based judgment to engineering decisions, and makes every iteration traceable.