Evaluating LLM Coding Ability: Six Dimensions That Matter More Than Reputation

    This article breaks down the subjective, often contradictory feedback that follows a general-purpose LLM release into six measurable and reproducible evaluation dimensions: long-task autonomy, code execution and modification, code review, architecture design, stability and quota efficiency, and response speed. For each dimension, it explains what to measure, how to build a repeatable test set, and where human judgment still needs to stay in the loop. It closes with practical steps for building a small in-house benchmark tied to your own codebase, so model selection and fallback decisions rest on reproducible data rather than impressions.

    Introduction: Why Reputation Cannot Replace Evaluation

    When a general-purpose LLM ships a new version, the community usually produces two kinds of feedback at the same time. One group highlights breakthroughs on a handful of very hard problems; another complains that the model has become “dumber” in everyday engineering work. Both experiences can be genuine, because they sample different task distributions. After heavy use, the practical impression is this: the new version does improve at driving long tasks forward autonomously, but code execution, code review, and architecture design have not improved at the same pace, and quota consumption has increased while responses have slowed down. This article evaluates no specific product. Instead, it decomposes that kind of experience into six measurable, reproducible dimensions and outlines a method for building your own evaluation benchmark.

    Dimension 1: Long-Task Autonomy

    Autonomy here means whether the model can complete a medium-sized task that spans multiple files and multiple steps in a single pass, without external goal constraints and without several rounds of correction. A common failure mode in older versions is “quitting early”: the model finishes one function, declares the task complete, and ignores caller changes, configuration updates, and missing tests.

    A reproducible way to evaluate this is to prepare a fixed set of tasks, use one unified prompt, and track only three metrics: first-pass rate, the number of additional human prompts, and the share of tasks abandoned midway. The gains from better autonomy are real, but they only address “whether the model is willing to finish the job,” not “whether the job is done correctly.” Autonomy must therefore be scored separately from the dimensions that follow.

    Dimension 2: Code Execution and Modification

    Code execution ability should be tested in three layers: locating (can the model find the place that actually needs to change), modifying (is the change minimal and consistent with the existing style), and verifying (does it proactively run builds and tests and understand the errors). Many failures are not syntax errors. The model patches a surface symptom, leaves the root cause in place, or even introduces a regression into logic that was previously working.

    The suggested evaluation set contains four kinds of samples: single-point defect fixes, cross-module interface changes, boundary-condition completion, and migration of legacy code. For each kind, record the “first-pass success rate” and the “new-problem introduction rate.” The second metric is especially important, because in a real repository the cost of breaking a simple defect is far higher than the cost of failing to fix it.

    1. First-pass success rate = number of tasks that pass all tests without human rework / total number of tasks
    2. New-problem introduction rate = number of tasks that add failing test cases after the change / total number of tasks

    Dimension 3: Code Review

    Review ability is where the gap between current models is most visible, and also where misjudgment happens most easily. Two problems are typical. The first is missed defects: the model fails to identify deep issues such as concurrency races, unreleased resources, swallowed exceptions, and null propagation. The second is false positives: without reading the full call chain, the model raises incorrect objections to correct code.

    One evaluation method is an “injection benchmark”: manually inject known defects into an open-source or in-house repository to form a change set with ground-truth answers, then measure recall and false-positive rate. A more reliable engineering practice is to layer the work: let the model handle deterministic checks such as style, naming, missing tests, and obvious null values, and leave cross-module consistency and concurrency safety to humans or dedicated static analysis. Also require the model to list the files it has read before giving any conclusion, which suppresses “concluding without finishing the read.”

    Dimension 4: Architecture Design

    Architecture design requires trade-offs across business boundaries, data consistency, failure domains, and evolution cost. These constraints often live not in the code but in team context, so handing architecture design entirely to a model is unrealistic. A workable division of labor is: humans define the boundaries and key trade-offs, while the model generates candidate designs, drafts interfaces, and fills in non-functional requirements that were overlooked.

    A practical technique is to ask the model for a “comparison table of options” that spells out the cost of each option in terms of consistency, availability, and operational complexity, and then let a human decide. If a design from the model has an obvious flaw, classify the flaw as a “missing constraint” or a “wrong trade-off.” The former can be fixed by supplying more context; the latter requires changing the approach.

    Dimension 5: Stability and Quota Efficiency

    Performance differences in the same model across different time windows can directly contaminate evaluation results. Benchmark runs should therefore fix the time window, fix the prompts, repeat multiple rounds and take averages, and record the input and output volume consumed per task. Quota efficiency can be measured by “the number of session turns and the share of resources needed to complete one standard task,” rather than by unit price alone.

    Where cost is under control, tiered routing works well: deterministic batch tasks go to a lightweight model or rule-based processing, and complex reasoning tasks are escalated to a higher-capability model. Reuse repeated context through caching, and use logging services and monitoring alerts to track resource consumption per task type, forming a cost baseline that can be optimized continuously.

    Dimension 6: Response Speed and Human-AI Collaboration Rhythm

    Speed affects collaboration density. When a single response stretches from tens of seconds to several minutes, developers unconsciously ask fewer questions and bundle multiple questions into one large request, which lowers overall efficiency. Evaluation should record time to first token and full response duration, bucketed by task type: for example, completion tasks should be in the seconds range, while review tasks can accept minutes.

    Implementation: Build Your Own Model Benchmark

    Hype and reputation carry heavy sampling bias. The only reliable basis is a small benchmark set that fits your own codebase. The recommended steps: pick twenty to thirty real historical tasks and freeze the ground-truth answers; define metrics for each of the six dimensions; rerun and archive results after every model or prompt-strategy change; and set alerts on any regression. Once evaluation results are reproducible and comparable, selection and fallback strategies no longer depend on emotional judgment. If you need to run large-scale evaluations and archive them, object storage can hold the datasets, a container platform can run the evaluation jobs, and a logging and monitoring stack can track metric changes. These general-purpose capabilities are enough to support an evaluation pipeline that runs over the long term.