Practical Evaluation and Multi-Scenario Workflow Guide for Large Language Models

    This guide provides a practical framework for evaluating large language models across various scenarios, including code development, document drafting, web research, and precise calculations. It emphasizes defining "correct" deliverables, setting strict acceptance rules, and building repeatable evaluation sets to ensure reliable integration and deployment in real-world workflows.

    1. Define “Correct” Before Comparing Model Capabilities

    Large language models can assist with writing code, organizing information, and explaining complex issues, but the success criteria for these tasks vary. Meeting minutes should avoid recording discussions as formal decisions; code modifications should not reference non-existent APIs or introduce new bugs while fixing others; research reports are unsuitable for decision-making if key claims lack source support. Scoring these tasks with a single “comprehensive score” often masks the differences that truly impact delivery.

    A more valuable question is: Given specific inputs, permissions, and time budgets, can the output pass acceptance? For example, evaluating a code modification should not focus on how many lines were generated, but whether the change meets requirements, runs in the current environment, and passes regression tests. Evaluating a policy summary should check whether it retains the scope of application, exception conditions, and effective date. Only by framing tasks as verifiable deliverables can we distinguish whether a model actually solved the problem or merely provided a fluent response.

    Evaluation must also separate the model from its operating environment. The same model may yield different results depending on whether it operates in a pure chat mode, with attached documents, or with retrieval capabilities. You should record visible inputs, available tools, and output constraints simultaneously to avoid attributing missing materials to the model or crediting the model for results found via tools.

    2. Set Acceptance Rules Based on Deliverables

    1. Code Development: Verify API Existence Before Implementation Correctness

    When generating code, a common issue is that models hallucinate seemingly reasonable but non-existent methods based on naming conventions. Taking image watermarking as an example, overlaying text is only part of the requirement; actual implementation involves font loading, transparency channel handling, and output format expectations. Even if the model writes a reasonable process flow, the code will fail if the called methods do not exist in the current dependency version; even if it runs, it might produce unexpected results on transparent or small-sized images.

    In practice, you can first provide dependency versions, relevant API definitions, existing call examples, and expected behavior. Ask the model to list the APIs it intends to reuse and their basis, then generate minimal changes. For APIs that cannot be confirmed from the materials, require the model to mark them as “to be verified” rather than guessing a method name. During acceptance, confirm dependencies and calling methods first, then execute type checks or builds, target use cases, and necessary regression tests. The watermarking task can cover conditions like transparent backgrounds, extremely long text, missing fonts, and unchanged output dimensions, depending on business agreements.

    If the first run fails, preserve the error information and reproduction conditions before deciding whether to let the model revise it or hand it over to humans. Do not just record whether it was eventually fixed: passing on the first try versus passing after multiple rounds of rework has entirely different implications for development efficiency.

    2. Daily Documents: Separate Factual Fidelity from Presentation Quality

    Summaries, requirement outlines, and documentation usually yield readable first drafts easily, but readability cannot replace fact-checking. For meeting minutes, you can first ask the model to organize content into “confirmed items, items to be confirmed, and action items.” If owners or deadlines are not explicitly stated in the original text, mark them as “to be supplemented” rather than inferring them from context. Perform language polishing afterward to avoid combining fact organization and wording optimization simultaneously, which can lead to unnoticed new commitments.

    Long-form tasks also require checking cross-paragraph consistency. Instead of asking the model to read a large amount of material at once and draw conclusions, extract key facts and constraints chapter by chapter first, then summarize. For amounts, deadlines, exception clauses, and terminology definitions that must be retained, create a constraint checklist to compare against before delivery. During evaluation, intentionally include samples where restrictions are given early and exceptions are introduced later, checking whether the output retains both, rather than just repeating the last paragraph seen.

    3. Web Search and Research: Trace Key Claims Back to Evidence

    Web search can find new materials, but it cannot guarantee their validity or that citations support the answer. For regulations, industry statistics, or technical specifications, verify the publication date, applicable region, version, and original context. Summaries in search results are suitable for locating materials but should not be directly used as the basis for key conclusions. When encountering situations where only paraphrases exist and the original text is inaccessible, explicitly state that evidence is insufficient, rather than treating multiple repeated paraphrases as mutual corroboration.

    Research reports can be broken down into four steps: problem definition, data collection, evidence organization, and final drafting. First, clarify the objects of comparison, time range, and inclusion criteria, then record the source, original key points, and applicable limitations for each key claim. For contradictory data, prioritize checking statistical caliber, sample scope, and collection time, rather than simply taking the latest value or averaging. The final report should distinguish between verifiable facts, fact-based inferences, and unresolved issues. This way, even with limited length, readers can judge which conclusions are solid enough to support action.

    4. Precise Calculation: Let the Model Explain Methodology, Let the Program Generate Numbers

    Language models can help explain formulas, identify missing inputs, and write test cases, but numbers directly generated by them should not be used as the final basis for bills, reports, or resource allocation. Such deviations often stem not just from arithmetic, but from inconsistent unit conversions, grouping orders, and rounding rules.

    Taking expense summarization as an example, “rounding each item and then summing” and “summing and then rounding uniformly” may yield different results; which is correct depends on business agreements. A reasonable process is to first clarify units of measurement, missing value handling, and rounding rules, then generate results through reproducible calculation logic. The model can assist in explaining the calculation process, but the deliverable should retain inputs, rules, and results for review. For amounts, use fixed-point decimals or integer minimum currency units as required by the business, and test the implementation with boundary cases like zero values, refunds, or cross-period records.

    3. Build a Repeatable Evaluation Set with Real Tasks

    Samples do not need to cover all scenarios initially; prioritize high-frequency tasks and those where post-error rework is costly. For each sample, record at least the input materials, allowed tools, expected deliverables, acceptance criteria, and unacceptable errors. In addition to regular samples, include cases of missing information, conflicting sources, and ambiguous requirements. In these cases, acceptable behavior might be asking clarifying questions or explicitly stating which parts cannot be completed, rather than reluctantly generating a seemingly complete answer.

    Scoring can be divided into two layers. The first is a hard threshold: for example, whether the code runs, whether key citations support claims, and whether calculation results match the baseline. If the threshold is not met, no matter how fluent the language is, it fails. The second layer records the first-pass rate, manual modification time, end-to-end time consumption, and API costs. Open-ended writing does not need to align word-for-word with reference text; it can be reviewed along dimensions like fact retention, structural soundness, and audience appropriateness.

    When comparing, keep input and tool conditions consistent, and distinguish between single-pass delivery and delivery after follow-up questions. Key samples should be run repeatedly to confirm whether the same type of error is consistently triggered. After evaluation, besides total scores, retain failure types: if most failures stem from incomplete materials, improve inputs first; if outputs often reference unverified APIs, strengthen API verification; if facts are correct but manual editing takes too long, optimize the output structure rather than blindly increasing API calls.

    4. The Value of Multi-Model Collaboration Lies in Task Routing, Not Mutual Voting

    Low-risk tasks like outlining, rewriting, and routine summarization can be handled by fast, cost-effective routing paths; multi-constraint code troubleshooting or information synthesis should go through paths with verification steps. Routing criteria should ideally come from actual evaluations: daily summaries focus on information omission rates, code modifications on testing and rework costs, and time-sensitive Q&A on whether fact retrieval is needed. This way, even if the integration method changes, the same acceptance logic can be reused.

    Multiple models giving the same answer does not mean the answer is true. They might make the same misjudgment based on similar materials, or collectively ignore exception conditions in the input. Cross-verification is better suited for finding omissions and raising counterexamples: you can ask another processing path to list the claims most worth verifying, but the final decision must rely on original materials, test results, or deterministic calculations. For structured tasks, outputs that fail validation can be routed to manual processing instead of endlessly retrying to force a seemingly acceptable result.

    Whether it is worth subscribing to multiple endpoints should also depend on the total cost per accepted deliverable. In addition to API costs, factor in configuration maintenance, context migration, waiting, manual review, and failure rework. A unified endpoint might reduce switching, but organizations still need to confirm where data flows, how it is retained, whether permissions are controllable, and whether it can be audited. If adding a processing path does not significantly reduce rework or supplement critical capabilities, there is no need to expand access just to cover more models.

    5. Tool Integration: Generating Suggestions Does Not Mean Executing Actions

    After integrating a model with document retrieval, file read/write, or task execution capabilities, a single misjudgment can turn a text issue into an operational problem. By default, start with read-only permissions, separating proposing plans, confirming plans, and executing actions. Actions that modify files, commit changes, send messages, or affect business state should first display their scope and potential impact to the user, then be confirmed by authorized personnel. For tasks involving production data, credentials, or undisclosed source code, restrict input scope and access targets.

    External documents, web pages, and search results should only be treated as pending data; instructional text within them should not alter task objectives or expand calling permissions. Restrictions should be enforced at the system level, such as constraining accessible data ranges, auditing outbound content, and logging tool calls and their results, rather than merely asking the model to be cautious in the prompt text. For high-impact operations, there should be clear stop conditions and recovery plans; when these guarantees cannot be provided, maintaining manual execution is safer.

    6. Form a Delivery Loop Through Small-Scale Pilots

    During implementation, start by selecting one high-frequency task, such as meeting minute organization or small-scale code modifications for existing features. First, record the time consumption and common errors of the existing manual process, then test the assisted process with the same batch of samples. Retain manual acceptance during the pilot to observe whether the model actually reduces drafting work or merely shifts the original work to review and rework. Only expand coverage when delivery quality meets standards, total costs are acceptable, and failures can be detected promptly.

    After changes to the model, prompt templates, data sources, or tool permissions, re-run core samples, especially historical cases with severe errors. What is ultimately worth retaining is not a static ranking, but a repeatable working methodology: determine acceptance criteria by task, judge output reliability by evidence, and then decide which steps to delegate to the model and which to retain under human control based on actual delivery costs.