Chinese-Language LLM Evaluation: From Leaderboard Rankings to Engineering Selection
Leaderboards are useful for ranking models, but they are not sufficient for engineering selection. This article explains how to interpret aggregate scores and tie bands, compare model versions consistently, and break evaluation into general, specialized, hallucination-control, complex-reasoning, engineering-development, multimodal, and agentic dimensions. It also covers agentic coding metrics such as pass rate, timeout rate, resource consumption, and failure distribution, provides formulas and code for timeout and token-cost accounting, and presents a weighted selection process, common pitfalls, and a deployment checklist.
Leaderboards provide a quick signal, but engineering selection requires more than a single ranking. This article examines how to interpret Chinese-language LLM evaluations from aggregate rankings to dimension-level evidence, agentic coding metrics, token cost, and a practical decision process.
1. Limitations of Leaderboard Total Scores
Leaderboards often aggregate scores from multiple subtasks into one number. A total score is convenient for sorting, but it can hide differences in model capabilities. Two models with similar total scores may perform very differently: one may be stronger at long-context understanding, while the other may be stronger at code generation. During selection, teams should first identify which capabilities the business depends on most, and then return to the subtask data for comparison.
Many evaluation rules also define tie bands. For example, models whose score differences fall within a configured threshold may be treated as tied. This means the distinction between first and second place may have limited meaning, and the actual gap may fall within the evaluation error range. When interpreting such results, check the tie rules first, and then judge whether the ranking is useful.
Cross-version comparison also requires caution. When comparing old and new versions of the same model, confirm whether the evaluation set, scoring criteria, test time, and runtime parameters are consistent. If the evaluation set has been updated, a higher score may come from easier questions rather than from improved model capability.
2. Decomposing Evaluation Dimensions
2.1 General and Specialized Capabilities
General capability refers to a model’s overall performance across a broad range of tasks, such as comprehension, question answering, summarization, and reasoning. Specialized capability refers to performance in specific scenarios, such as code generation, mathematical derivation, and information extraction. General capability determines the model’s lower bound, while specialized capability determines its upper bound in a specific business context.
Teams should map business tasks to evaluation dimensions. For example, customer service question answering focuses on factual accuracy and tone stability; a coding assistant focuses on unit test pass rate and whether the scope of modifications is reasonable; document processing focuses on information recall under long contexts.
2.2 Hallucination Control
Hallucination refers to content generated by a model that is inconsistent with facts or with the input material. In knowledge question answering and enterprise document scenarios, hallucination is a key factor affecting usability. Common measurement approaches include:
- Factual consistency: whether claims in the answer can be supported by reference materials.
- Abstention appropriateness: whether the model states uncertainty when it cannot determine an answer, rather than fabricating one.
- Citation verifiability: whether the sources provided by the model can be located and checked.
When measuring, distinguish between “incorrect” and “fabricated.” An incorrect answer may stem from missing knowledge, while fabrication means the model gives a confident response without supporting evidence. The latter carries higher risk in business contexts and should be tracked separately.
2.3 Complex Reasoning and Engineering Development
Complex reasoning is usually evaluated through multi-step math problems, logical-chain problems, or planning problems that require decomposition. Engineering development capability is closer to real projects, and a common format is reading existing code, locating defects, writing patches, and passing tests. Evaluation should focus on the final result and also record whether intermediate steps are reasonable, because a reasonable decomposition makes human review easier.
2.4 Multimodal and Agent Capabilities
As models begin to process image input and operate graphical interfaces, evaluation also extends to visual understanding and interface operation. The focus of such tasks is task completion rate and number of operation steps. Too many steps usually indicate low efficiency and also increase the probability of errors.
3. Evaluation Points for Agentic Coding Scenarios
A typical agentic coding task flow is: receive a requirement, read the code repository, plan modifications, execute commands, run tests, and iterate based on results. Evaluation should track the following metrics:
- Task pass rate: the proportion of tasks that pass all test cases.
- Timeout rate: the proportion of tasks that do not produce a valid result within the time limit.
- Average latency and per-task resource consumption.
- Failure type distribution: the share of syntax errors, logic errors, environment errors, and timeouts.
The timeout counting convention directly affects conclusions. If timed-out tasks are counted as failures, the timeout rate will lower the total score. If they are excluded from the sample, model performance may be overestimated. A reasonable approach is to report both conventions and explain the basis for the timeout threshold.
The following example shows how to set timeout control for a single task. In production, if a task may consume resources or produce side effects, prefer process isolation and perform explicit cancellation and cleanup after a timeout.
import concurrent.futuresdef run_with_timeout(task, timeout_s: float) -> dict:"""Execute a single evaluation task; return a timeout marker for timeout-rate tracking."""executor = concurrent.futures.ThreadPoolExecutor(max_workers=1)future = executor.submit(task)try:result = future.result(timeout=timeout_s)return {"status": "ok", "result": result}except concurrent.futures.TimeoutError:return {"status": "timeout", "result": None}finally:# Threads cannot be forcibly terminated; this only releases the executor, and the actual task may still be runningexecutor.shutdown(wait=False, cancel_futures=True)def timeout_rate(records: list[dict]) -> float:"""Calculate timeout rate: timeout tasks divided by total tasks."""if not records:return 0.0timeouts = sum(1 for r in records if r["status"] == "timeout")return timeouts / len(records)
4. From Token Usage to Cost per Task
LLM services are usually billed by the number of input and output tokens, and the unit prices may differ. Cost per task can be calculated as follows:
Cost per task = input tokens ÷ 1,000,000 × input unit price + output tokens ÷ 1,000,000 × output unit price
The average cost per task for an entire evaluation set equals the sum of all task costs divided by the number of tasks. Two points require attention. First, reasoning models may produce more intermediate reasoning content, which is usually counted as output tokens and is easy to overlook. Second, retry calls after failures also incur costs and should be included in the total cost.
The reduction between versions can be calculated as follows:
Reduction = (old version cost per task − new version cost per task) ÷ old version cost per task × 100%
The following code shows the basic cost-accounting flow:
def average_cost_per_item(usage_records: list[dict],price_in_per_m: float,price_out_per_m: float) -> float:"""usage_records: per-task records containing input_tokens and output_tokens (including retry calls)price_in_per_m / price_out_per_m: input and output unit prices per million tokens"""if not usage_records:return 0.0total = 0.0for r in usage_records:total += r["input_tokens"] / 1_000_000 * price_in_per_mtotal += r["output_tokens"] / 1_000_000 * price_out_per_mreturn total / len(usage_records)
Cost results should be interpreted together with other metrics. A model with a lower unit price may not have a lower actual cost if it needs more tokens to complete the same task. Likewise, a cost reduction accompanied by an accuracy drop should not be treated as an improvement.
5. Turning Evaluation Results into Selection Decisions
The value of evaluation results lies in supporting decisions. A recommended process is:
- Define business constraints, including the minimum accuracy, maximum response time, and per-call budget.
- Set weights for each dimension. Weights should come from business priorities, not leaderboard order.
- Build an internal evaluation set using real business samples, covering high-frequency and high-risk scenarios.
- Run candidate models under the same conditions, and record dimension scores, timeout rates, and cost per task.
- Validate whether online behavior matches offline evaluation through small canary or shadow traffic.
The following is a simplified weighted scoring table for comparing candidate options. The weights and scores are illustrative only; teams should determine them based on business data.
| Dimension | Weight | Description |
|---|---|---|
| Factual accuracy | 0.30 | Primary metric for core question-answering scenarios |
| Agentic task pass rate | 0.25 | Determines whether automated workflows can close the loop |
| Timeout rate | 0.15 | Affects user waiting time and system throughput |
| Cost per task | 0.20 | Determines operating expenses at scale |
| Compliance and safety | 0.10 | Meets internal review and data requirements |
The weighted score equals the sum of each dimension’s normalized score multiplied by its weight. Normalization should unify the scale, for example by mapping each dimension to the 0–1 range before calculation.
6. Common Pitfalls
First, looking only at total score rankings. A total score cannot reflect the specific capabilities required by the business, so teams should return to dimension-level data.
Second, ignoring statistical conventions. Different treatments of timeouts, abstentions, and retries can change conclusions. Reports should state the conventions used.
Third, ignoring the link between cost and effectiveness. Lowering unit price and lowering total cost are different things, and both should be judged together with completion rate and retry count.
Fourth, treating external promotional data as independent validation. Leaderboards and vendor-published data can serve as references, but teams still need to retest with their own samples.
7. Deployment Checklist
- Does the evaluation set cover high-frequency and high-risk scenarios in the real business?
- Are timeout thresholds and scoring criteria documented and kept consistent across multiple runs?
- Does cost per task include reasoning tokens, retry calls, and failed requests?
- Are the evaluation set and runtime parameters unchanged during version comparison?
- Have offline conclusions been validated through small canary traffic?
Evaluation is not a one-time action. Models, business data, and user requirements all change. Regular retesting and updates to the internal evaluation set are necessary to keep selection conclusions reliable.
