Evaluating LLM Coding Capability: From First-Pass Success Rate to Human-AI Collaboration Cost
This article argues that the most dangerous evaluation conclusion is "it doesn't really feel different." It shows why subjective impressions fail as a selection criterion, lays out three common evaluation pitfalls, and proposes a layered task suite (L1–L5) covering everything from single-function correctness to cross-file refactoring, domain-specific tasks, and open-ended self-critique. It defines three core metrics—first-pass success rate, average rework rounds, and cost per delivery—plus two diagnostic signals, ambiguity-clarification rate and overconfidence rate. It distinguishes mechanical execution from intent discovery, offers a sober reading of the "scale determines intelligence" claim, and formalizes when to automate versus fall back to human work. Finally, it turns the method into a daily regression pipeline and an actionable checklist, with a lightweight Python framework skeleton included.
1. Introduction: The Most Dangerous Evaluation Result Is “I Don’t Really Feel Anything”
One long-time heavy user described his daily experience with a mainstream large language model this way: its coding performance is clearly better than competing products in the same price range. When requirements are described clearly, it can usually deliver usable code in one pass with almost no rework. But “it isn’t smart enough”—it can’t dig implicit constraints out of a single sentence on its own, its execution is mechanical, and it won’t proactively refine, correct, or evolve a better solution, so it needs continuous human course-correction. In strongly specialized fields like financial modeling and narrative content creation, it often takes a fair amount of direction-tuning to get it on track. And asking it to guide the human in return is simply out of reach.
The part of this feedback that engineering teams should care about most is not the praise or criticism of any particular model, but that phrase “I don’t really feel anything.” When a model produces “no feeling” in your daily work, it usually means one of two things: either it has stably cleared your requirements bar, or its performance sits right in the “usable but unreliable” gray zone—no obvious weakness to put you on alert, and no obvious gain to make you excited. The second case is the most dangerous, because it leads teams to quietly book a large amount of hidden cost—rework, course-correction, acceptance review—under “normal human workload,” where it never enters the cost ledger.
So instead of arguing over “is model X intelligent,” it’s better to reframe the question as: How do we use a reproducible evaluation system to quantify a large model’s real productivity on coding and professional-text tasks, and decide where to invest and where to withdraw on that basis? This article follows that line of thinking.
2. Three Common Evaluation Pitfalls
Pitfall 1: Substituting subjective feel for measurement. “It feels stronger than the other one” can’t support a selection decision, because subjective feel is heavily influenced by the day’s task difficulty, prompt quality, and the user’s own expectations. The genuinely stable approach is to fix the task set, fix the prompts, and fix the judging criteria, then sample multiple times and look at the distribution rather than the single best output.
Pitfall 2: Only evaluating “writing code,” not “changing code.” Generating an algorithm snippet from scratch is not in the same league as locating a performance bottleneck inside an existing project of tens of thousands of lines and completing a fix that doesn’t break the contract. The former tests knowledge recall; the latter tests context understanding, dependency reasoning, and regression-risk control. Testing only the former will badly overestimate the model’s value in a production environment.
Pitfall 3: Mistaking a prompt-engineering limitation for a model limitation—or vice versa. When users complain that they have to “hold its hand and fine-tune one step at a time to get a result,” they are actually conflating two things. Prompt engineering can fill gaps in the expression layer (format, boundaries, terminology, acceptance criteria), but it cannot fill gaps in the intent layer (the implicit constraints the user never made explicit). The former is an engineering problem that can be systematically solved with templates and context engineering; the latter is the true boundary of model capability. Evaluation must measure these two layers separately, or the conclusion will necessarily be distorted.
3. Building a Layered Task Suite: Turning “Is It Usable?” into Measurable Sub-Problems
I recommend organizing the task set into four to six layers, each with a few dozen items. The point is to cover the real distribution, not to chase sheer volume.
L1 Syntax and single-point correctness: Given explicit inputs, outputs, and boundary conditions, implement a function. This measures baseline correctness.
L2 Local engineering modification: Add a feature or change logic under a given interface contract and existing type definitions, without breaking existing signatures. This measures contract adherence.
L3 Cross-file refactoring and defect localization: Provide several modules that reference each other, plant a cross-module semantic defect (for example, a cache key that omits the version, an async race condition, or improper handling of monetary precision), and require the model to locate and fix it. This is the layer that separates “usable” from “trustworthy.”
L4 Domain-specific tasks: Implementing financial-basis calculations and compliance constraints, maintaining long-form narrative structure and character consistency, and producing derivations and layout for professional documents. These domains demand heavy implicit domain knowledge and are where “syntactically perfect, semantically wrong” output most often appears.
L5 Open-ended problems and self-critique: Give an incomplete proposition, require the model to first list the ambiguities and the information it needs, then provide a conclusion and a way to verify it. This tests whether it will “stop and ask” rather than unconditionally fabricate a self-consistent but wrong answer.
Every item must ship in advance with both a human and a machine reference answer and an automated acceptance script. A task without an acceptance script does not belong in the suite.
4. Metrics Design: Three Metrics Decide Everything
| Metric | Definition | Notes |
|---|---|---|
| First-pass success rate | Percentage of tasks that pass all acceptance cases without any manual modification | Best reflects the degree to which “friction is reduced” |
| Average rework rounds | Number of human feedback rounds required from the first output to all cases passing | Reflects interaction friction, directly convertible to human labor hours |
| Cost per delivery | Token volume and human minutes consumed by a single task that passes acceptance | Puts model call cost and human review cost on the same ledger |
Add two diagnostic metrics: ambiguity-clarification rate (the share of cases where the model proactively asks questions when information is insufficient) and overconfidence rate (the share of outputs that claim completion but fail acceptance). A higher ambiguity-clarification rate usually saves human effort; a higher overconfidence rate is more dangerous, because it hides errors inside a shell that “looks finished.”
A reference implementation can be very lightweight. Below is the skeleton of the evaluation framework. Model calls are injected through a unified adapter, which makes it easy to swap models laterally for comparison:
from dataclasses import dataclassfrom typing import Protocolclass LLM(Protocol):def complete(self, prompt: str, **kw) -> str: ...@dataclassclass Case:id: strlayer: str # L1 ~ L5prompt: strverify: object # callable(str) -> tuple[bool, str]rubric: str # human review checkpointsdef run(cases, llm: LLM, samples: int = 3) -> dict:stat = {}for c in cases:rounds, ok_first = [], 0for _ in range(samples):out = llm.complete(c.prompt)passed, reason = c.verify(out)rounds.append(1 if passed else 0)if passed:ok_first += 1# if it fails, record the failure reason, retry after one round of# human intervention, and track it for rework-round statisticsstat[c.id] = {"layer": c.layer,"first_pass": round(ok_first / samples, 3),"avg_rounds": round(sum(rounds) / len(rounds), 2),}return aggregate(stat) # aggregate by layer, output a regression report
There are three key design points: first, multiple sampling, so you don’t mistake an occasional good output for a capability; second, automated acceptance first, where the acceptance script can be unit tests, type checks, static rules, or structured-field validation; third, aggregation by layer, so the shape of the report directly tells you which layer is the bottleneck, rather than giving you a single overall score.
5. Distinguishing Two Capabilities: Mechanical Execution vs. Intent Discovery
This is the most valuable and most easily overlooked insight in the original account. Model capability can be roughly split into two layers:
Execution layer: Turning an already clearly specified task into a correct artifact. The original user’s observation—“requirements are clear, so it lands it in one pass”—suggests that today’s mainstream models are already quite mature at this layer, especially in domains like code with tight feedback loops and dense training data.
Intent layer: Inferring implicit constraints from a vague statement, proactively filling in context, spotting that the task itself is wrongly defined, and correcting course during execution. The original user’s fatigue from “tuning the direction bit by bit” is essentially paying the bill for the missing capability at this layer.
The same task set can measure both layers. In L5, deliberately pose problems with insufficient or self-contradictory information (for example, “compute the annualized return of this transaction” without saying whether fees are included, what the accrual basis is, or whether it compounds), and record three behaviors: giving a result directly (dangerous), listing ambiguities before solving (ideal), and explicitly stating that it can’t be solved and requesting information (acceptable). Then build another batch where “the problem itself is wrong” (for example, the given formula conflicts with the text description), and see whether the model just runs self-consistently along the error.
A common empirical pattern is this: models almost never err on language fluency and formatting; errors cluster on unstated domain premises. In a financial scenario, one difference in cash-flow basis, one precision-handling choice, or one time basis is enough to make a block of syntactically perfect code produce a completely unusable conclusion. This isn’t something a longer prompt can fix. It requires the model to have an awareness of “what I don’t know to ask”—and that is precisely the core of intent-layer capability.
6. A Sober Understanding of “Scale Determines Intelligence”
The original user made a fairly aggressive claim: gaps of this kind can’t be closed by post-training, architectural adjustments, agent orchestration, or external toolchains. They belong to differences in base-model scale and emergence, and would take an order-of-magnitude improvement to cross the threshold.
As a technical viewpoint, this claim needs to be handled carefully. A more defensible statement is: the capability ceiling is mainly determined jointly by the data scale and quality in the pre-training stage, the training compute, and model capacity; post-training alignment, chain-of-thought reinforcement, tool calling, and multi-agent orchestration can significantly improve usability and task success within that existing ceiling, but they cannot conjure reasoning ability the model never learned. In other words, engineering-side techniques can get you closer to the ceiling, but they don’t raise the ceiling itself. This is also why “just add another layer of agent orchestration” often brings a surge in process complexity with diminishing marginal returns—orchestration amplifies the model’s existing capabilities and, in the same proportion, amplifies its systematic biases.
The practical implication for users is: don’t expect to make up for a deficit in underlying capability by endlessly stacking frameworks. When evaluating a new model, look first at its performance on L3 and L5. These two layers are the hardest to gloss over with engineering tricks.
7. Human-AI Collaboration Cost: Why “Simplicity Is the Ultimate Sophistication” Is a Rational Choice
The original user mentioned that he once poured enormous effort into building sprawling systems, fine-tuning every step, and running multi-round retraining iterations, only to burn out. His current strategy is: when a new model arrives, use it for a while; once he’s mapped its boundaries and those boundaries still don’t exceed his own requirements ceiling, simply shelve it.
This strategy is economically sound and can be formalized into a simple decision rule:
- Let the task’s requirement difficulty be D, the model’s capability boundary be B, and the human guidance cost be C(D, B).
- When B ≥ D, automate directly, and C approaches zero.
- When B is slightly less than D, C grows superlinearly as (D − B) increases, because every additional bit of gap adds more steps that need human decomposition, constraint, and acceptance review.
- When B is clearly less than D, the human guidance cost exceeds writing it all by hand, and “fine-grained tuning” becomes a negative-return investment.
So the rational engineering strategy is: set up a cheap boundary-probing process, quickly measure which region B falls into relative to your D, and then either automate fully or fall back to human work explicitly—don’t make long-term investments in the gray zone. It’s worth stressing that both B and D are relative to a specific task set. For the same model, B may be far greater than D on code generation and far less than D on long-document narrative consistency. Evaluation must be done per domain; you can’t make a decision from a single overall score.
For content-creation tasks specifically, the original account notes that script and plot capabilities are relatively weak, with a clear gap from the top tier. These tasks are characterized by having value judgments but lacking objective acceptance criteria, which makes quantification hard. That’s exactly why they call for “sample-based human scoring with explicit scoring dimensions” (such as structural completeness, character consistency, conflict design, and language rhythm) rather than a vague overall score.
8. Engineering the Evaluation System into Production
Solidifying the above method into a pipeline that runs daily is the key to whether the whole approach can produce lasting value:
- Dataset management: Store task sets, reference answers, and past output artifacts in object storage, organized by version, to keep results traceable and comparable.
- Task scheduling: Distribute evaluation tasks asynchronously via a message queue, isolated from the business environment, so they don’t consume production resources.
- Sandboxed execution: The acceptance scripts for L1–L3 involve compilation and execution and must run inside containerized sandboxes with restricted network and filesystem permissions, to prevent untrusted code from affecting the host.
- Observability: Use logging and monitoring/alerting services to build a quality-regression dashboard that tracks the time series of first-pass success rate and rework rounds, and triggers alerts automatically when a new model version or a new prompt template pushes a metric below its threshold.
- Human review loop: Feed the sampled L4–L5 results back into the dataset, forming a positive cycle of “discover a new failure mode → add a task → bring it into regression.”
On the prompt side, the most effective order of investment is: first fix the output contract (format, fields, acceptance conditions), then add a domain glossary and definitions of terms, and only then add few-shot examples. Investing in the reverse order often yields little, because you may be repeatedly patching for capability the model lacks at the intent layer.
9. Conclusion and Action Checklist
Back to the original question: how do you evaluate a model? Replace it with a list of executable questions:
- Build an L1–L5 layered task set from your own task distribution, with automated acceptance for every item.
- Track only three metrics: first-pass success rate, average rework rounds, and cost per delivery; supplement them with ambiguity-clarification rate and overconfidence rate.
- Probe boundaries per domain, especially for the three categories: code refactoring, domain-specific computation, and long-text consistency.
- Judge the relative position of your requirement difficulty D against the model’s boundary B: automate when B ≥ D, and fall back to human work decisively when B ≪ D—don’t invest long-term in the gray zone.
- Turn evaluation into a daily regression pipeline, so that every model upgrade or prompt change has a quantified point of comparison.
The ultimate judgment criterion isn’t whether the model is “smart,” but whether it stably turns your hidden costs into visible ones and pushes that number low enough. If it does, it deserves to enter your production workflow. If it doesn’t, no amount of frameworks or orchestration will save it.
