Evaluating Chinese LLMs in Real Engineering Work: A Capability Matrix and Selection Framework
This article proposes a reproducible, extensible evaluation framework for comparing Chinese LLMs with leading closed-source models in real engineering scenarios. It covers repository-level bug fixing, web research retrieval, long-context and multi-file understanding, tool-call reliability, output stability, and cost and latency. It explains how to design benchmarks, align reasoning budgets, analyze failure modes, build scorecards, and run an engineering evaluation pipeline so teams can make scenario-specific model selection decisions rather than relying on a single leaderboard.
When discussing how far Chinese LLMs are from leading closed-source models in real engineering scenarios, a single aggregate score or a public comparison table is not enough. Item-by-item comparisons in public documentation are useful, but their real value is that they show model capability is shifting from “can answer” to “can act.” Tasks such as locating and fixing defects in code repositories and completing multi-hop research retrieval across open web pages are closer to enterprise production environments. They also expose differences in tool use, long-context understanding, evidence-chain organization, and stability. This article does not evaluate specific products. Instead, it provides a reproducible, extensible evaluation framework for breaking down capability gaps between candidate models and leading models dimension by dimension.
1. Define “close” as a capability matrix, not a single score
“Close” should not mean close on one leaderboard. It should be decomposed into a capability matrix. At minimum, cover six dimensions: repository-level defect repair, web research retrieval, long-context and multi-file understanding, tool-call reliability, output stability, and cost and latency. For R&D teams, the first two are especially important. Repository-level repair tests whether a model can read a problem statement, locate relevant files, understand dependencies, generate a patch, and pass hidden tests. Web research retrieval tests whether a model can decompose a question, retrieve evidence, cross-validate it, and provide a traceable conclusion. Together they form “action capability,” which is closer to real delivery than knowledge Q&A alone.
2. Repository-level defect repair: benchmark design should reflect real repositories
Repository-level repair evaluation cannot rely only on isolated function problems. Tasks should come from real repository snapshots and include problem statements, relevant context, hidden tests, and regression tests. The model should be allowed to operate in a multi-file, multi-dependency environment. Metrics should include at least problem resolution rate, first-pass rate, regression failure rate, average interaction rounds, number of tool calls, input/output budget, and end-to-end latency. Evaluation conditions must be aligned. When reasoning effort is set to its highest level, the budget must also be reported. Tool permissions, maximum steps, context window, retry count, and environment image should be fixed. Otherwise, a model’s apparent lead may come from differences in budget or tool permissions. A simplified evaluation loop can be expressed as:
for task in benchmark_tasks:env = reset_workspace(task.repo_snapshot)result = model.solve(problem=task.problem_statement,tools=allowed_tools,max_steps=task.max_steps,reasoning_budget=task.reasoning_budget)metrics.record(resolved=run_hidden_tests(env),regression=run_regression_tests(env),steps=result.steps,tokens=result.tokens,latency=result.latency)
In addition to averages, reports should show the distribution of failure cases: localization errors, incomplete patches, regression breakage, or tool-call failures. Only by understanding failure types can teams judge whether a model is suitable for production workflows.
3. Web research retrieval: a correct answer is not enough if the evidence is unreliable
Web research retrieval evaluation should cover multi-hop retrieval, time-sensitive information, conflicting information, and citation consistency. Metrics should not focus only on the final answer. They should include factual accuracy, key evidence coverage, citation traceability, hallucination rate, and time cost. To prevent data contamination, use dynamically constructed queries, time slices, private knowledge bases, and undisclosed question sets. For enterprise scenarios, add an evidence-chain completeness check: Are conclusions supported by verifiable sources? Are sources cross-validated? Is uncertainty clearly marked? Otherwise, a model may produce a fluent but unauditable conclusion.
4. Reasoning effort and comparability: budgets must be transparent
The highest reasoning tier often significantly changes cost, latency, and stability. Evaluation reports should specify the reasoning budget, maximum steps, tool-call limit, temperature, and retry strategy. Run each task multiple times and report the mean, variance, and worst-case performance. A more rigorous approach is to provide two sets of results: fixed-budget comparison and maximum-capability comparison. The former answers the question of output efficiency per unit cost; the latter answers the question of capability ceiling. Showing only the highest-tier results without disclosing the budget can easily lead readers to misinterpret the gap as a capability gap at equal cost.
5. Itemized breakdown and selection method: weight by scenario, not by brand
Enterprise selection should use a scorecard: dimensions, weights, admission thresholds, and observation items. For code-intensive scenarios, increase the weight of repository repair. For research and analysis scenarios, increase the weight of retrieval and evidence chains. For online services, also consider latency, concurrency, and stability. Multiple candidate models can be roughly grouped into “code-action-oriented” and “general-reasoning-oriented” categories, but they should not be labeled simplistically. A recommended process is offline evaluation first, then small-traffic gray release, and finally continuous monitoring with manual sampling and regression sets. A comparison table is for generating hypotheses, not for replacing validation.
6. Engineering evaluation pipeline: reproducibility is what makes decisions valuable
An evaluation pipeline should provide data versioning, environment isolation, traceable logs, and reproducible reports. For example, general capabilities such as Baidu AI Cloud’s object storage, container platform, logging service, and monitoring/alerting can be used to host evaluation data, isolate environments, collect call logs, and observe task latency. All evaluation samples should be de-identified, permissions should be minimized, and audit records should be retained. A report template should include task set version, model configuration, reasoning budget, tool permissions, number of runs, metric distribution, failure cases, and cost estimates.
7. Common pitfalls and conclusion
Common pitfalls include relying on a single leaderboard; failing to align reasoning budgets; ignoring data contamination; treating one run as a stable conclusion; comparing capability without comparing cost; and replacing only brand names without rebuilding evaluation logic. A more reasonable conclusion should be scenario-specific. Some models have a stronger action advantage in repository-level repair, while others are more stable in general reasoning. The final choice depends on task weights, budget constraints, and engineering governance. The gap between Chinese LLMs and leading models is changing quickly. What enterprises really need is a sustainable evaluation system, not a static ranking table.
