How to Evaluate Large Language Models on Real Engineering Tasks: Lessons from Chinese Models Approaching the Global Frontier
A practical framework for assessing how well large language models turn requirement documents into runnable applications. Based on a hands-on frontend build, this article breaks evaluation into four layers, shows where models still fall short on implicit constraints, and explains why reproducibility, private deployment, and fine-tuning make open weights valuable for AI engineering teams. It closes with concrete recommendations for building layered evaluation sets and automating regression testing.
Recently, a new version of a Chinese large language model triggered a wave of community discussion claiming its capabilities now match the world’s top models. Setting the hype aside, developers face one question that actually matters: when you hand it a real, complete engineering requirement with constraints, how much of it can it faithfully deliver?
This article strips away product specifics and frames the issue as a general technical problem: how to evaluate a model’s true capability along the path from a requirement document to a runnable project, and what the trend of Chinese models closing in on the global frontier means for the open-source ecosystem and AI engineering practice.
1. Define the Standard Before Looking at the Verdict
Most model comparisons go wrong because they treat “generating a nice-looking piece of code” as the ceiling of capability. Real engineering capability should be broken into at least four layers:
- Instruction coverage: how many explicitly stated items in the requirement document are actually implemented;
- Structural correctness: whether the skeleton of pages, modules, and data flows matches the requirements;
- Detail fidelity: whether field relationships, validation rules, state transitions, and boundary conditions are carried through;
- Deliverable usability: whether the output is accessible, runnable, and ready for further iteration.
A sample evaluation record can be organized like this:
{"requirement_id": "list-page-filter","explicit_items": 8,"implemented_items": 5,"structure_score": 0.9,"detail_score": 0.55,"deliverable": "runnable_url","latency_minutes": 32}
With a table like this, subjective impressions turn into comparable data.
2. Hands-On Observations: The Skeleton Holds, Semantic Understanding Slows Down
In a full implementation of a real frontend requirement, a fairly typical pattern of “layered decay” shows up.
Login-type pages had the highest completion. Explicit requirements such as carousels, forms, and basic validation were largely covered, putting them at a “tweak it and ship” level. The reason is that requirement descriptions for these pages overlap heavily with common industry patterns, so the model can rely on prior knowledge to get them done.
List-type pages started showing clear gaps. Filter options and linked interactions explicitly written in the requirement document were not implemented, and this was not a one-off: multiple list pages showed the same pattern. The page skeleton was correct, which means the model understood “what kind of page this is” but did not fully understand “what conditions this page must satisfy.”
Form-type pages had the most concentrated problems. Details such as the field set, dependencies between fields, when validation is triggered, and where error messages appear deviated from the document. These requirements are characterized by high rule density and many implicit constraints, which is exactly where generative models are currently weakest.
On styling, the results were middling: better than a rough prototype, but still short of a mature design system, generally engineering-oriented and lacking consistency in design language.
Efficiency is also worth recording: full generation took tens of minutes, with queuing during peak hours, while leading international solutions typically need only a few minutes for similar tasks. It is worth stressing that a single experience is heavily affected by version, quota, and load, and should not be treated as fixed performance data, but it is enough to suggest that “end-to-end delivery efficiency” should be included as an evaluation dimension.
3. The Root of the Gap: From Shape Imitation to Constraint Satisfaction
Abstracting the observations above leads to a clear conclusion: the current gap is not in the surface quality of code generation, but in depth of understanding, meaning the ability to convert natural-language requirements into a structured set of constraints.
What is genuinely hard in engineering requirements is the implicit constraints: mutual exclusion and dependencies among filter conditions, show/hide linkage of form fields, asynchronous validation and debouncing, and rollback after failure. In a document these often take up just one sentence, but in implementation they become a set of state machines. If a model only imitates the shape, it will reliably miss them.
On the engineering side, “front-loading the constraint list” can mitigate this:
requirements → extract explicit items → annotate implicit constraints → generate acceptance cases → then generate code
Having the model first output structured items and acceptance cases before entering the coding phase can significantly improve instruction coverage and make omissions measurable.
4. What It Means for Open Source: Verifiability Is the Core Dividend
As Chinese models approach the international frontier in public evaluations, the value of open source is no longer “free to use,” but three engineering dividends:
- Reproducibility: fixed weights and a fixed inference configuration make evaluation results repeatable, avoiding version drift that invalidates conclusions;
- Private deployment: sensitive code and data can stay in your own environment, meeting compliance and audit requirements;
- Fine-tuning: you can adapt to your domain using internal requirement documents, explicitly injecting implicit constraints into the model.
Combined with general cloud capabilities, this pipeline can be fully realized: object storage holds datasets and artifacts, a container platform hosts inference services and elastic scaling, a message queue smooths out task spikes, and logging, monitoring, and alerting handle queuing and failure tracking for long-running tasks. Open-source models plus a closed engineering loop are the real source of lower cost and higher efficiency.
5. Practical Recommendations for Teams
- Build a layered evaluation set: split by login, list, form, and complex interaction, and measure instruction coverage rather than appearance;
- Structure the requirements: number explicit items in the document and put implicit constraints in a separate table;
- Divide work between humans and models: leave skeletons and boilerplate to the model, and have humans review state machines and validation rules;
- Automate evaluation: wire acceptance cases into continuous integration and run a regression pass on every model or prompt change;
- Make cost observable: bring queue time, retry counts, and human rework rates into the metrics, instead of only looking at generation speed.
The overall judgment is this: Chinese models have entered the first tier in general generation quality, but on high-constraint, detail-heavy engineering tasks they still need humans as a backstop. Looking at the hype rationally and replacing emotional comparisons with a verifiable evaluation system is the path to turning model capability into real productivity.
