Chinese LLM Capability Evaluation: A Practical Guide to Capability Matrices and Engineering Workflows

    Public benchmarks are often used as a reference for model selection, but total scores and rankings rarely support real business decisions. This article presents a reproducible method for evaluating general-purpose Chinese LLMs: define tasks and scoring rules, decompose capabilities into a matrix, and validate cost, stability, and observability through an engineering pipeline. It covers statistical tie determination, contamination control, repository-level coding tasks, multimodal and GUI operations, agent planning, hallucination controls, timeout and cost governance, and canary deployment.

    Chinese LLM Capability Evaluation: A Practical Guide to Capability Matrices and Engineering Workflows

    As Chinese large language models move into engineering deployment, public evaluation results are often used as a reference for model selection. However, looking only at total scores and rankings is not enough to support real business decisions. The same model can have very different capability structures across tasks, and programming, long-text handling, visual understanding, computer operation, agent planning, hallucination control, and usage cost often do not improve in sync. A more reliable approach is to turn evaluation results into a reproducible capability assessment method: first define tasks and scoring rules, then decompose key capabilities, and finally validate cost, stability, and observability through an engineering pipeline. This article does not focus on any specific model or institution; it discusses the methodology and practical implementation of general capability evaluation for Chinese LLMs.

    1. Define the Problem First: Evaluation Is a Capability Matrix, Not a Leaderboard

    The first step in evaluation is not to run benchmarks, but to clarify the business problem. General Chinese capabilities can be divided into several capability domains: language understanding and generation, complex reasoning, knowledge question answering, long-text processing, code development and engineering tasks, multimodal understanding, GUI/computer operation, agent planning and tool use, hallucination control, safety and compliance, and cost and latency. Each capability domain should then have task tiers: basic tasks, comprehensive tasks, long-chain tasks, real engineering tasks, and adversarial or boundary tasks. The result is a capability matrix rather than a single total score.

    The value of the capability matrix is that it prevents total scores from hiding weaknesses. For example, one model may perform well on knowledge QA but have a high timeout rate on agentic coding tasks; another model may be stable at coding but lack citation consistency in long-text tasks. For enterprise model selection, weights should be determined by business scenarios. Customer service QA cares more about hallucination and response cost, R&D assistants care more about repository-level task completion and unit test pass rates, and office automation cares more about screen understanding, planning, and operation success rates. Tie decisions in public evaluations should also be understood within this framework: a common rule treats results within 1 point as tied because the gap may fall within sample noise. Engineering selection should further examine confidence intervals, task coverage, and sub-scores.

    2. Scoring Rules: Tie Determination Requires Statistics and Contamination Prevention

    The common public-evaluation rule that “results within 1 point are considered tied” is a simplification. In engineering practice, it is better to consider three types of information at the same time: sample size, confidence intervals, and task difficulty distribution. When the sample size is insufficient, small score gaps should not be overinterpreted. When the task difficulty distribution is skewed, total scores may be inflated by a small number of easy tasks. A more rigorous approach is to calculate the mean, quantiles, and confidence intervals for each capability domain, mark results as tie candidates when total scores are close, and then use sub-scores, timeout rates, cost, and error types for secondary differentiation.

    Contamination prevention is equally important. Evaluation samples should be updated regularly to avoid training-data leakage. Task environments should use fixed versions, fixed dependencies, and fixed initial states. Code tasks should retain hidden tests and regression tests. Open-ended QA should combine citation consistency, fact verification, and manual spot checks. Scoring rules should be automated where possible, but key tasks require manual review, especially long-chain agent tasks and multimodal operation tasks. Only when rules are reproducible can evaluation conclusions have engineering reference value.

    3. Decompose Key Capabilities: From Complex Reasoning to Computer Operation

    Complex reasoning and engineering development should not be judged only by the final answer. Complex reasoning should be decomposed into problem understanding, constraint identification, plan generation, intermediate verification, and conclusion expression. Engineering development should be decomposed into code reading, modification localization, patch generation, unit testing, build checks, and regression verification. Evaluation can use repository-level tasks: given a code repository, failing tests, and a requirement description, the model must locate the problem, generate a patch, and make the tests pass. Scoring should consider not only whether tests pass, but also change scope, maintainability, whether new dependencies are introduced, and whether existing behavior is broken.

    Multimodal understanding and computer operation are closer to real office scenarios. Native visual understanding requires the model to read screenshots, tables, forms, and interface elements. Computer operation requires the model to plan clicks, input, scrolling, and verification based on screen state. Such tasks should include state snapshots, action traces, and failure recovery mechanisms to avoid irreversible task failure caused by a single incorrect operation. Long-text processing should focus on cross-paragraph citations, long-document summarization, information extraction, and multi-turn consistency. Agent planning should focus on task decomposition, tool selection, budget control, and exception recovery.

    These capabilities are coupled. Agentic coding requires both code development ability and planning and tool-use ability. Computer operation requires visual understanding as well as long-text and state management. Evaluation should record failure types, not just scores, such as “localization error,” “test failure,” “timeout,” “tool call parameter error,” and “unfaithful citation.” The distribution of failure types is often more useful for optimization than a single score.

    4. Agentic Coding: Timeout Rate and Cost Are Hard Metrics

    A common problem in agentic coding tasks is timeout and cost control failure. Long task chains, many tool calls, and uncontrolled retries can all increase timeout rates. Engineering governance should start with task budgets, isolated sandboxes, idempotent retries, timeout interruption, and trace logs: set a time budget and token budget for each task; execute code and commands in an isolated sandbox; set idempotency keys for retryable steps; save intermediate artifacts after a timeout and support recovery; and fully record latency, tokens, cost, and error codes for each call.

    Cost evaluation should not look only at unit price. It should also consider average cost per task, cost quantiles, and failure-retry cost. Optimization methods include routing tasks of different difficulty to models of different sizes, caching repeated context, retrieving before generating for long documents, using lightweight models as a fallback for small tasks, and requiring human confirmation for high-cost tasks. The observation in public evaluations that “some tasks previously had high timeout rates and all completed after governance” shows that timeout rates are not only a model capability issue but also an engineering orchestration issue. Enterprises should include timeout rate, cost quantiles, and task completion rate together in acceptance metrics.

    5. Hallucination Control: Retrieval, Citation, Structure, and Refusal

    Hallucination control is one of the most underestimated sub-items in general Chinese capability evaluation. Effective solutions are usually not a single prompt but a combination of strategies: retrieval augmentation provides evidence; citation constraints require conclusions to be tied to retrieved snippets; structured output limits fields and enums; consistency checks verify numbers, dates, entities, and citations; and low-confidence cases trigger refusal or a request for additional materials. For high-risk scenarios, human review and audit logs should also be added.

    Example pseudocode:

    1. schema Answer = {
    2. conclusion: enum[yes, no, uncertain],
    3. evidence: list of citations,
    4. confidence: 0..1,
    5. uncertainties: list
    6. }
    7. answer = model_call(
    8. question,
    9. constraint = "Evidence must come from retrieved snippets; do not fabricate",
    10. output = schema
    11. )
    12. if answer.evidence not contained in retrieved_snippets:
    13. return "Insufficient information; additional materials required"
    14. if answer.confidence < threshold:
    15. route to human review

    Such constraints turn “free generation” into “verifiable output,” reducing unfaithful citations and overclaiming. Evaluation should measure citation accuracy, refusal appropriateness, and structured output validity rate, not only QA accuracy.

    6. Engineering Pipeline: Observable, Reproducible, and Canary-Ready

    The evaluation environment should be as close to production as possible. For example, Baidu AI Cloud can combine object storage, logging, monitoring and alerting, and a container platform: object storage stores fixed samples, version snapshots, and artifacts; logging captures the trace of each call; monitoring and alerting track timeout rates, cost quantiles, and error rates; and the container platform hosts isolated sandboxes and parallel tasks. Pipeline pseudocode:

    1. Input: capability matrix M, task set T, budget B, routing policy R
    2. for t in T:
    3. env = fixed_snapshot(t)
    4. plan = agent_plan(t)
    5. result = execute_in_isolated_sandbox(plan, timeout=t.budget, resources=limits)
    6. trace = {t.id, latency, token, cost, timeout, error_code, artifacts}
    7. score = automated_checks(t.assertions) + manual_sampling(t.sample)
    8. write_object_storage(trace)
    9. update_monitoring(timeout_rate, cost_quantile, hallucination_rate)
    10. if aggregate_score.confidence_intervals_overlap:
    11. mark_as_tie_candidate

    During model selection, scenario-weighted scoring and Pareto analysis are recommended: first filter out candidates that do not meet hard metrics, then find a balance among cost, latency, and capability. During launch, use A/B testing and canary release, and continuously monitor completion rate, timeout rate, cost, and hallucination rate. Public evaluations can serve as input, but they cannot replace real business validation.

    7. Conclusion

    The value of general capability evaluation for Chinese LLMs is not to create a single ranking, but to establish a reproducible capability matrix and engineering validation system. Tie decisions should combine statistical confidence with sub-score performance. Complex reasoning and engineering development should be assessed through repository-level tasks and test passes. Multimodal and computer operation should be assessed through state management and failure recovery. Agentic coding should treat timeout rate and cost as hard metrics. Hallucination control should use a combination of retrieval, citation, structured output, and refusal. Only by connecting evaluation, cost, observability, and canary deployment into a closed loop can “leaderboard scores” be transformed into reliable engineering selection evidence.