A Reproducible Evaluation Method for Multi-Model Chat App Replication
This article presents a reproducible method for comparing LLMs and execution frameworks on a single, well-defined task: replicating a conversational AI web app. It covers unifying inputs and deliverables, running a two-round prompting process where API credentials are injected only in the second round, a five-dimension scoring rubric that emphasizes verification depth, sample acceptance pseudocode, and common pitfalls such as requirement drift, inconsistent credential injection, and excessive manual patching. The goal is to turn vague impressions of model quality into data-driven engineering conclusions and a reusable baseline.
1. Why a Reproducible Comparison Method Matters
In real engineering selection work, developers often run into an awkward situation: demos from different models and execution frameworks all look impressive, but as soon as those options are compared side by side on the same task, the results are hard to reproduce. The cause is usually not the models themselves, but a lack of constraints in the evaluation design: inconsistent requirement descriptions, fuzzy deliverable boundaries, and inconsistent timing for injecting external credentials. As a result, each sample is effectively solving a different problem.
This article uses “replicate a conversational AI web application” as a shared task background and lays out a practical evaluation method. The task has three advantages: the requirement boundary is clear, the deliverables can be accepted automatically or semi-automatically, and it exercises three capabilities at once: comprehension, implementation, and self-correction. Note that this is a discussion of evaluation methodology, not a comparison of specific products; all models and execution frameworks appear in a neutral role.
2. Evaluation Design: Unified Input, Unified Deliverables, Round-Based Prompting
2.1 Shared Task and Deliverables
Fix the deliverables into three categories so that samples are not each doing their own thing:
- Product feature documentation and structure diagram: information architecture, page inventory, state transitions, and a draft API contract.
- High-fidelity page reproduction: layout, interaction states, empty states, and error states all included.
- Self-improved version: optimizations may be proposed and implemented on top of the reproduction, but a change description must be attached.
The three deliverable categories map to “comprehension,” “implementation,” and “judgment.” Record scores separately so a total score does not hide weak areas.
2.2 Two Rounds of Prompting: Requirements First, Credentials Second
The first round provides only the requirements and entry points to public resources, so you can observe how the model plans and implements without credentials. The second round injects the call credentials, so you can observe how behavior changes once external capability is available. The point here is not “who gets it running,” but “whether sufficient regression verification was done after receiving the credentials.”
A clear split shows up in practice: some samples do only a minimal connectivity check after credential injection and then declare completion; others proactively construct boundary cases and check exception branches, then find and fix defects. This suggests the evaluation focus should shift from “was output generated” to “was verification depth sufficient.”
2.3 Consistent Operations and Recording
For comparability, every sample uses the same operation script and the same acceptance checklist. Recorded items include: task duration, number of failures, number of fix rounds, verification coverage, and points of human intervention. Any human intervention must leave a trace; otherwise the data loses its cross-sample meaning.
3. Scoring Dimensions: Turning “Feel” into Quantifiable Metrics
Use a five-dimension scoring sheet, 0–5 points per dimension:
| Dimension | What to Observe | Evidence Source |
|---|---|---|
| Requirement comprehension | Feature coverage, state completeness | Comparison against the feature doc |
| UI fidelity | Layout consistency, responsive behavior | Screenshots and interaction recordings |
| Engineering quality | Component decomposition, maintainability | Code structure review |
| Verification depth | Number of cases, exception branch coverage | Test records |
| Self-improvement | Value of changes and regression safety | Change description and diff comparison |
“Verification depth” is the most easily overlooked dimension, yet it separates sample quality best. A sample that only verifies “the page opens” and a sample that covers empty data, extremely long input, network failures, and concurrent requests differ enormously in engineering value.
4. Sample Acceptance Code
A piece of pseudocode can lock down the acceptance flow and remove subjective judgment:
def evaluate(sample):report = {}report["doc_coverage"] = compare_features(sample.doc, SPEC_FEATURES)report["ui_fidelity"] = visual_diff(sample.screenshots, BASELINE_SHOTS)report["test_depth"] = count_branches(sample.test_cases) # exception branches carry more weightreport["fix_safety"] = regression_pass(sample.diff, BASELINE_CASES)report["improvement"] = human_review(sample.change_log)return weighted_score(report, weights=(0.2, 0.2, 0.25, 0.2, 0.15))
The key point: exception branches and regression pass rate should carry higher weight, because they directly reflect how stable a sample is in a real environment.
5. Common Pitfalls and How to Avoid Them
- Requirement drift: adding undocumented requirements midway makes samples incomparable. Freeze requirements into a versioned document.
- Inconsistent credential injection: some samples get credentials before planning, others after. Fix this as a strict two-round process.
- Looking only at results, not the process: ignoring failure and retry counts overestimates sample capability.
- Ignoring security: once credentials enter a prompt or a log, there is leakage risk. Use temporary, restricted credentials with least privilege, destroy them after use, and redact them in logs.
- Excessive manual fallback: problems fixed by hand without being recorded distort the evaluation conclusion.
6. From Evaluation to Engineering Practice
The endpoint of evaluation is not a ranking but a reusable baseline. Deposit samples that pass acceptance as an internal scaffold: a unified directory structure, unified state management conventions, and unified error handling and logging standards. Then plug in common cloud capabilities such as monitoring and alerting, log services, and containerized deployment to form a closed loop of “evaluate, consolidate, ship, observe.” If model service calls are involved, place them behind a controlled gateway with quotas, rate limiting, and auditing to avoid runaway cost and credential leakage.
7. Conclusion
The value of multi-model comparison lies in using a shared task, unified deliverables, round-based credentials, and quantitative scoring to convert fuzzy “perceived differences” into reproducible engineering conclusions. What deserves attention is not a one-off impressive showing from a single sample, but whether it is willing to verify more deeply after gaining external capability and whether it can guarantee regression safety while improving. Make this method part of the team process, and selection decisions move from subjective debate to data-driven.
