Evaluating General-Purpose LLMs: From Capability Testing to Production Use

    General-purpose LLM evaluation cannot be reduced to a single leaderboard score. This article presents a practical framework for connecting evaluation to real work: breaking broad capability into observable dimensions such as instruction following, factual reliability, reasoning, long-context use, and multimodal handling; defining acceptance criteria by scenario; building reproducible test sets from real tasks; measuring cost and latency per successful task; and placing models behind validation, human review, and operational controls. It also explains how individual developers and enterprise teams can move from subjective impressions to repeatable engineering validation of production value.

    1. First Define the Work the Model Must Do

    When discussing LLM capabilities, the most common mistake is to compress performance across different tasks into a single conclusion about which model is stronger. In practice, a model is not a software component with a fixed level of productivity. Its performance depends on task type, input quality, context length, output constraints, available external tools, and other factors.

    A model may be good at organizing long-form text but unreliable at fixing defects across multiple files. It may perform well on short reasoning questions but fail to handle business documents that contain large amounts of irrelevant information. It may generate visually plausible images but not follow exact requirements for dimensions, text content, and layout.

    A more useful set of questions is therefore:

    • Which specific tasks must the current business solve?
    • Which errors can people correct, and which errors must never occur?
    • How much response time and cost are acceptable for each task?
    • Can the model’s output be verified automatically?
    • Are the data allowed to enter the current usage environment?

    These questions determine both the direction of evaluation and whether a model can enter the actual workflow.

    For developers, the main benefit is usually not generating more code, but shortening the time from a requirement to a verifiable result. For enterprise users, the main benefit is not more fluent answers, but less repetitive work, more consistent delivery, and risk that remains manageable.

    2. Decompose General Capability into Observable Technical Dimensions

    2.1 Instruction Following and Output Constraints

    Instruction following refers to whether a model completes a task according to requirements, including content scope, format, length, tone, and prohibited items.

    In everyday conversation, a small deviation may only affect the experience. In a programmatic call, however, a missing output field, an incorrect type, or an extra explanation can cause the workflow to fail directly.

    For example, if a model is asked to extract payment dates, amounts, and responsible parties from a contract, the evaluation should separately verify:

    • Whether any required field is missing;
    • Whether information not provided in the source text is added;
    • Whether explicit facts are distinguished from speculation;
    • Whether missing information is handled according to the agreed rules;
    • Whether the output follows the parsing rules of downstream systems.

    When evaluating this capability, evaluations should include both simple instructions and tasks with multiple constraints. Testing only “write an introduction” cannot establish whether a model is reliable in real business use.

    2.2 Knowledge Accuracy and Expression of Uncertainty

    Fluency does not equal factual correctness. A model may provide a well-structured and confident explanation that is insufficiently supported.

    Knowledge-related tasks should focus on whether facts are valid, whether answers are time-sensitive, and whether the model recognizes information gaps. For information that changes easily, such as policies, prices, versions, and current rules, relying only on internal model knowledge is usually not enough. Authorized, traceable reference material should be included.

    More reliable behavior means answering clearly when evidence is available and stating limitations when evidence is insufficient, rather than filling gaps with language that sounds professional.

    2.3 Reasoning and Problem Decomposition

    Complex tasks often contain multiple constraints. A model needs to identify the goal, break the task into steps, compare options, and check whether the final result satisfies the conditions.

    Reasoning ability should not be evaluated by explanation length alone. A longer explanation does not mean a more reliable conclusion. What matters more is whether the answer can be independently verified, for example, whether the calculation is correct, whether the plan satisfies resource limits, and whether the logical judgment is consistent with known conditions.

    For open-ended questions, check whether the model identifies key assumptions. For deterministic problems, verifiable reference answers or rule-based validation should be preferred.

    2.4 Long-Context Use

    Being able to accept a large amount of text is different from being able to use that text effectively.

    Long-document tasks involve at least three questions: whether the model can find the relevant information, whether it correctly understands the relationships among pieces of information, and whether it avoids confusing different sources when generating an answer.

    During testing, key facts can be placed at the beginning, middle, and end of the material, with similar but irrelevant content added. This makes it possible to observe omissions, entity confusion, or failure to account for later revisions.

    For enterprise knowledge processing, long-context capability should be evaluated together with retrieval, document chunking, and source attribution, rather than comparing only the amount of text that can be accepted.

    2.5 Multimodal and Generative Capabilities

    Image understanding, text recognition, chart analysis, and image generation are different tasks and should not be combined into a single metric.

    For example, a model may explain the scene in a photograph but not accurately read small numbers in a table. It may generate an image that fits a theme but not reliably satisfy precise layout requirements.

    Evaluation should distinguish recognition accuracy, understanding of spatial relationships, content consistency, and constraint adherence. For images or charts involving critical numbers, human review or another verification mechanism should also be arranged.

    3. Establish Evaluation Criteria by Work Scenario

    3.1 Programming: Whether the Code Can Enter the Engineering Workflow, Not Just Whether It Can Be Generated

    Evaluation of programming tasks should cover requirement understanding, code generation, defect repair, test addition, and maintainability analysis.

    A useful test sample should provide clear inputs, expected behavior, and acceptance conditions. For example, if the task is to implement a business function that handles repeated requests, the test should cover normal paths, duplicate inputs, exceptional cases, and concurrency boundaries, rather than checking only whether the sample runs.

    The following metrics should be considered:

    • Automated test results;
    • Whether unnecessary dependencies are introduced;
    • Whether existing behavior is broken;
    • Whether project conventions are followed;
    • Whether the scope of change is reasonable;
    • Whether security risks are introduced;
    • The time required for human review and rework.

    Generated code should still be reviewed. This is especially important for sensitive logic such as authentication, access control, file access, and database operations. Code should not be put into use simply because it looks concise.

    3.2 Writing: Information Quality, Not Just Language Polishing

    Writing capability usually includes organizing source material, structuring arguments, controlling tone, and adapting to format.

    When evaluating technical writing, check whether terminology is accurate, claims are supported, paragraphs have logical relationships, and readers can take action based on the content. For business materials, also verify that numbers, dates, and responsible parties have not changed.

    A writing task can be divided into three stages: first extract facts, then generate structure, and finally complete the expression. This reduces the risk of missing information or adding unconfirmed content when the model generates a long document directly.

    3.3 Document Analysis: Whether Conclusions Are Traceable

    When working with meeting notes, requirement descriptions, or policy documents, the model is usually expected to produce a faithful summary rather than free-form content.

    A good output should distinguish source facts, analytical conclusions, and items that still need confirmation. Important conclusions should include the corresponding section, paragraph, or other source location so they can be reviewed.

    If multiple documents conflict, the differences should be listed explicitly rather than merged without explanation into a single “unified answer.” This is particularly important for requirement changes, contract review, and internal knowledge queries.

    3.4 Open-Ended Research: Evidence Organization and Awareness of Boundaries

    Open-ended questions often do not have a single answer, such as trade-offs between technical approaches, system architecture analysis, and business risk assessment.

    For these tasks, evaluate whether the model covers key constraints, proposes reasonable alternatives, explains applicable conditions, and distinguishes facts from assumptions.

    A mature response does not always have to provide a definitive recommendation. When information is insufficient, asking for the additional conditions needed is often more valuable than making an immediate conclusion.

    4. Build a Reproducible Testing Process

    4.1 Use Real Tasks to Build the Test Set

    The test set should come from daily work, not only from generic questions. Samples can be drawn from historical requirements, common defects, document-processing tasks, and human handling records. Before testing, remove personal information, credentials, and commercially sensitive content.

    Each sample should record at least:

    • The task description;
    • The input material;
    • The acceptance conditions;
    • Allowed external capabilities;
    • Error severity;
    • The human reference result or scoring basis.

    Also keep a set of test samples that are not used for prompt tuning. Otherwise, after repeated optimization for certain cases, local improvements may be mistaken for overall improvement.

    4.2 Keep Test Conditions Comparable

    When comparing different models, keep task inputs, output requirements, tool permissions, and evaluation rules as consistent as possible.

    If one test environment can retrieve information and execute code while another can only generate text, the results reflect differences between complete systems, not only differences between models. Both types of evaluation are valuable, but they should be reported separately.

    Test records should also include the model version, test date, prompt content, and configuration conditions so that they can be reviewed later. Models and service environments can change, and old conclusions should not be used indefinitely.

    4.3 Repeat Tests to Observe Stability

    Single generations involve randomness, especially in complex reasoning and long-text tasks. A model that answers a question correctly once has not necessarily demonstrated the stable ability to complete that task.

    For critical tasks, run the test repeatedly and record the success rate, error types, and variation in results. Business use requires consistently meeting an acceptable standard more than it requires an occasional excellent answer.

    4.4 Combine Automated and Human Evaluation

    Deterministic tasks are suitable for automated validation, such as calculation results, field completeness, and test results. Open-ended tasks require human scoring, with attention to factual consistency, logical structure, and executability.

    A scoring framework such as the following can be used:

    Dimension Main checks
    Correctness Whether facts, calculations, and business logic are valid
    Completeness Whether required conditions and exceptional cases are covered
    Compliance Whether format and content constraints are met
    Usability Whether the output can enter the next step of work
    Stability Whether quality remains similar across repeated runs
    Risk Whether information is leaked or dangerous operations are proposed

    If a model is used to assist scoring, sample its judgments for review. This helps prevent the scoring process from favoring long answers, polished language, or specific wording.

    5. Calculate Cost and Latency Around “Successful Task Completion”

    A low price per call does not mean low actual cost. Insufficient output quality can lead to more retries, manual corrections, and downstream failures.

    A more practical calculation is:

    Cost per successful task = call cost + retrieval and execution cost + retry cost + human review cost.

    Here, “successful” should be defined by the acceptance conditions. For a coding task, this may mean passing tests and completing review. For a document task, it may mean accurate extraction with verifiable sources.

    Response time should also be measured across the end-to-end process. A model may generate faster but require three follow-up prompts to complete the task, so its actual efficiency may not be higher. Scenarios that require immediate interaction should focus on waiting experience. Tasks that allow background processing can include additional validation steps.

    6. Embed the Model in the Workflow Rather Than Giving It Full Decision Authority

    Reliable applications usually add deterministic controls around the model. A general workflow can be represented as:

    Input checks -> resource retrieval -> model processing -> format and rule validation -> required human confirmation -> execution or delivery.

    Input checks limit task scope and filter sensitive information. Resource retrieval provides traceable evidence. Rule validation checks fields, permissions, and business conditions. Human confirmation is responsible for high-impact operations.

    A model can propose database changes, but before execution the impact should be checked and rollback measures prepared. It can draft external communications, but facts and authorization should be verified before publication. It can suggest code changes, but testing should be completed in a controlled environment.

    Text in external materials may also contain instructions designed to steer the model away from its task. Retrieved results and uploaded documents should therefore be treated as data to be analyzed, not as sources that automatically receive the same authority as system rules.

    7. Enterprise Adoption Also Requires Attention to Data and Operational Boundaries

    In addition to model quality, enterprises need to examine the scope of data processing, access control, logging, retention policies, and failure recovery.

    Sensitive data should follow the principle of minimization: fields that do not need to be transmitted should not be transmitted, content that can be redacted should be redacted first, and tasks that can be completed with local fragments should avoid submitting entire documents.

    Model calls should include appropriate timeouts, retry limits, and resource budgets. When failures continue, the system needs a clear fallback path, such as switching to human handling or returning an explainable failure state, rather than retrying indefinitely.

    Logs should support problem diagnosis but should not indiscriminately store raw sensitive content. For outputs that affect business decisions, the necessary sources and review records should also be retained.

    8. Conclusion: From “Evaluating a Model” to “Validating Work Benefits”

    There is no absolute ranking of large models apart from their tasks. A meaningful evaluation should answer whether the model can complete the work reliably under specific conditions, and how much cost and risk are required to achieve that.

    For individual developers, a reasonable starting point is to begin with a small number of high-frequency tasks and record quality, time spent, and rework. For enterprise teams, the goal should be to establish test sets, acceptance criteria, version records, and continuous regression mechanisms.

    If one model is intended to serve as the main entry point for work, teams should balance common-task coverage, stability, and integration complexity rather than assuming that it leads across all tasks. For very different types of work, tasks can be routed to different models, but the maintenance cost of doing so must also be considered.

    The ultimate goal is not the most impressive demonstration, but reproducible results, verifiable evidence, and controllable execution boundaries. When evaluation moves from impressions to engineering validation, general-purpose LLMs can become reliable productivity components.