Why Coding-Strong LLMs Score Low on Overall Benchmarks: A Breakdown

    This article explains why some large language models rank low on aggregate benchmark leaderboards yet perform well on coding and AI agent tasks in daily development work. It breaks down how composite scores are weighted, examines three common score-dragging categories—knowledge Q&A and hallucination rate, long-document integration, and domain-specific reasoning—and explains why code and agent evaluations favor execution ability. It closes with a practical model-selection methodology for developers.

    1. The Phenomenon: Why Overall Rankings Often Diverge from Hands-On Experience

    During model selection, developers frequently run into a contradiction: a model ranks poorly on a third-party composite benchmark, yet handles code completion, script refactoring, and AI agent workflow orchestration smoothly in day-to-day team use. This gap between a low leaderboard score and a strong hands-on impression is not a usage illusion. It is the result of a structural mismatch between how composite scores are calculated and how real business workloads are distributed.

    Understanding this requires one premise: a composite leaderboard is not a single exam but an aggregate of multiple capability dimensions with assigned weights. Changing the weight of any single dimension can significantly alter the final ranking. Treating the total score as the sole purchasing criterion often leads to decisions that conflict with actual business goals.

    2. What Composite Scores Are Made Of: Why the “Total Score” Is Losing Reference Value

    Mainstream composite evaluations are typically built from several sub-items. Common dimensions include:

    • World knowledge Q&A and factuality (including hallucination rate statistics)
    • Long-document, table, and cross-page information integration
    • Deep reasoning in specialized domains (such as physics, chemistry, and medicine)
    • Code generation and engineering tasks
    • Tool calling and AI agent task execution
    • General conversation and instruction following

    The problem is that the evaluators set the weight of each sub-item themselves, and those weights change across versions. This means a model’s “total score” at different points in time cannot be directly compared side by side. A more reliable approach is to treat the total score as a coarse filter and the sub-scores as the basis for decisions.

    3. Score Drag #1: Knowledge Q&A and Hallucination Rate

    Knowledge Q&A evaluations are usually very strict: no internet access, no tool calls, and questions that demand exact names, dates, or values, with short answers scored as binary right or wrong.

    The scoring rule is often “add points for correct answers, subtract points for wrong answers, and give zero for admitting you don’t know.” Expressed in pseudocode:

    1. def score(answer, ground_truth):
    2. if answer == "unknown":
    3. return 0
    4. return 1 if answer == ground_truth else -1

    This rule produces a counterintuitive conclusion: a minimal service that always answers “I don’t know” has an expected score of 0, while a model that answers confidently may score negative if its error rate is too high. This creates a sharp contrast between two types of models:

    • High-confidence type: average knowledge coverage but a tendency to force an answer, high hallucination rate, a negative score on this item that heavily drags down the total;
    • Conservative type: answers only when confident and admits ignorance otherwise, extremely low hallucination rate, a positive but not high score on this item.

    For models positioned around small parameter counts and low latency, limited world knowledge reserves are expected. The real problem is insufficient calibration—that is, the model’s judgment of its own confidence is unreliable.

    4. Score Drag #2: Long Documents and Cross-Page Information Integration

    Long-document evaluations focus on very long PDFs, complex tables, and information alignment across pages and chapters. The model must complete the full chain of “locate—extract—correlate—deliver in the required format,” and a break at any stage fails the entire question. Common failure modes include loss of mid-document information, tables broken across pages, inconsistent units and measurement conventions, and mismatched citation locations.

    Engineering approaches such as segmented retrieval, structured table parsing, citation tracing, and result validation can mitigate these issues, but these are application-layer optimizations and are not equivalent to improvements in the model itself.

    5. Score Drag #3: Deep Domain Reasoning

    Domain reasoning evaluations place extremely high demands on subject knowledge and multi-step deduction, and questions often require rigorous formula derivation and dimensional analysis. General-purpose models commonly struggle with such tasks, which usually require domain fine-tuning, retrieval augmentation, or dedicated toolchains rather than simply enlarging the context window.

    6. The Strong Side: Why Code and Agent Tasks Stand Out

    In contrast to knowledge Q&A, coding and agent evaluations are closer to real workflows: read requirements, modify code, run tests, organize materials, and deliver results. These tasks allow the model to use context, call tools, and iterate with validation. They offer many fault-tolerant paths, and the evaluation standard is closer to “was the task completed.” As a result, a model with average knowledge reserves but strong reasoning and execution ability is more likely to take first place in a single category.

    This also explains where the hands-on impression comes from: developers’ daily usage happens to fall squarely in the strong zone.

    7. A Selection Methodology for Developers

    1. Set weights by business distribution: rank your team’s real tasks by frequency and cost, and build a small-scale evaluation set of your own.
    2. Look at sub-scores, not the total: focus on the relative strengths and weaknesses across the five areas of knowledge, long documents, reasoning, code, and agents.
    3. Treat hallucination rate as a risk indicator: for factuality-critical scenarios, prefer low-hallucination models that can decline to answer, and add retrieval and validation.
    4. Fill gaps with engineering: retrieval augmentation, structured parsing, result self-checking, and human review.
    5. Pay attention to calibration and refusal ability: allowing a model to say “I don’t know” is often more reliable than forcing an answer.
    1. # Example: a call wrapper with refusal and validation
    2. def ask(model, question, retriever=None, threshold=0.7):
    3. ctx = retriever.search(question) if retriever else ""
    4. resp = model.generate(question, context=ctx)
    5. if resp.confidence < threshold:
    6. return "unknown", resp.evidence
    7. return resp.answer, resp.evidence

    8. Conclusion

    The reference value of composite leaderboard rankings is declining, while the informational value of sub-scores is rising. The rational approach is to use the total score for initial screening, sub-scores for judgment, and your own evaluation set for the final decision. For teams focused mainly on code and agent tasks, it makes more sense to pay attention to the strong categories and engineering support than to be swayed by a single total score. If you need elastic compute and general cloud capabilities such as data, storage, and monitoring and alerting to support evaluation and deployment, you can combine the general product offerings of Baidu AI Cloud as needed.