How to Evaluate the Engineering Capabilities of the New Generation of Chinese Code LLMs

    Evaluating a code model requires more than checking whether it can generate correct code in a single interaction. The more meaningful questions are whether it can understand an evolving codebase, coordinate changes across modules, sustain a complex task over time, and deliver software that runs, can be tested, and remains maintainable. This article examines the engineering capabilities of the latest generation of Chinese code models, their strengths in long-horizon development, and the security and quality risks that still require human oversight.

    A code LLM should not be judged solely by whether it produces correct code in a single interaction or by its score on a benchmark. In real-world development, more important questions include whether the model can understand a codebase that evolves over time, maintain consistent designs across multiple modules, make steady progress on a complex task, and ultimately deliver a runnable, testable, and maintainable result.

    From this perspective, the latest generation of Chinese code LLMs has pushed software engineering capabilities to a new stage. These models are no longer limited to completing functions, explaining errors, or generating simple scripts. They are beginning to handle complete feature workflows involving databases, APIs, task scheduling, frontend pages, rendering pipelines, and test validation.

    However, improved capabilities do not mean that software engineering can be delegated to a model without supervision. In areas such as authorization, security, and business boundaries, passing automated tests only shows that the system meets the conditions covered by those tests. It does not prove that the system is free of high-risk defects.

    1. The Evaluation Focus Should Shift from “Can It Write Code?” to “Can It Complete a Task?”

    Traditional code generation can often be measured using local indicators such as syntax accuracy, unit test pass rates, or function-level implementation accuracy. In a real project, however, a feature usually requires several stages:

    1. Understand the product requirements.
    2. Identify the existing code structure.
    3. Design data and API changes.
    4. Modify the backend and frontend.
    5. Handle asynchronous tasks and exceptional states.
    6. Write or extend tests.
    7. Start the system and perform end-to-end validation.
    8. Continue fixing problems based on runtime results.

    The model is therefore dealing with an engineering task that may take hours or longer, rather than generating a few code fragments in one interaction.

    When evaluating a model, it is important to examine whether it can:

    • Build an overall understanding of the repository structure, module responsibilities, and dependencies;
    • Update related contracts and callers after modifying a module;
    • Remember earlier decisions and avoid repeatedly overturning its approach during a long workflow;
    • Repair issues autonomously based on compilation errors, test failures, and runtime logs;
    • Identify security constraints that are not explicitly stated in the requirements but are essential in engineering practice;
    • Perform regression validation after completing a task instead of stopping once the code has been written.

    These capabilities can be described as long-horizon software engineering ability. They are closer to real development than one-shot code generation and better reflect a model’s value in production environments.

    2. Complex Legacy Projects Provide a Better Test of Model Capability

    Building a small demonstration project from scratch can easily lead to an overestimation of a model’s capabilities. A simple project has little historical baggage, clear dependencies, and a straightforward structure. Even a relatively direct solution may work.

    Legacy codebases are more effective for exposing a model’s actual engineering ability. They commonly have the following characteristics:

    • Directory structures and module names are not fully consistent;
    • Some logic is poorly documented and must be inferred from call relationships;
    • The database schema is already depended on by multiple features;
    • The frontend and backend rely on implicit data-format conventions;
    • Some error-handling patterns are the result of historical decisions;
    • Test coverage is incomplete and may not include critical security paths.

    In such a codebase, the model should not immediately start modifying files. It should first conduct a repository investigation. An ideal process includes:

    1. Reading the project documentation, build configuration, and startup scripts;
    2. Identifying core directories, entry modules, and data flows;
    3. Locating APIs, models, and task-processing logic related to the target feature;
    4. Reviewing existing tests and their coverage;
    5. Mapping the boundaries that the new feature may affect;
    6. Creating an implementation plan before making changes in stages.

    For example, a requirement to support user image imports for use in web animation scenes may appear to involve only an upload feature. In practice, it may require file-type validation, size limits, storage paths, access control, database records, task status tracking, frontend previews, renderer integration, and failure rollback.

    If a model modifies only the upload API without addressing access control and the rendering pipeline, it may produce a result that is functional but insecure.

    3. Cross-Module Changes Reveal a Model’s Engineering Coordination Skills

    Complex features are rarely limited to changes in one file. They usually require an entire workflow to be updated. For a media asset import feature, a sound implementation should consider the following layers.

    1. Data Layer

    The database should record asset ownership, storage location, media type, file size, creation time, and status. It should not simply store a filename supplied by the client, because filenames may collide or contain special characters.

    A more reliable design generates a unique server-side identifier for each asset and separates the business identity from the physical storage location. When a user or project is deleted, the implementation must also consider whether database records and physical files remain consistent.

    2. API Layer

    The API should clearly define the input format, authentication requirements, error responses, and idempotency behavior. The design should determine whether failed uploads can be retried, whether repeated submissions create multiple assets, and whether the API returns a temporary URL or a controlled-access URL.

    For file uploads, checking only the file extension is insufficient. Extensions can be changed. The server should also validate the actual file characteristics, enforce size limits, and perform content checks where necessary.

    3. Task Layer

    If imported assets require transcoding, thumbnail generation, or scene preprocessing, the request should not wait for every operation to finish. An asynchronous task mechanism is usually more appropriate, with clearly defined queued, running, successful, failed, and retrying states.

    The model must update the task producer, consumer, status-query API, and frontend display logic together. Otherwise, the backend may complete the work while the frontend still shows a processing state, or a failed task may have no recovery path.

    4. Frontend and Rendering Layers

    The frontend needs to handle upload progress, failure messages, asset selection, and previews. The rendering module must determine whether an asset exists, whether it belongs to the current user or project, and how to degrade when the asset is unavailable.

    If the model verifies only that an upload succeeds and a page can display the result, without checking access boundaries between users, the feature should not be considered complete.

    4. Turning Source Material into a Complete Product Tests Requirement Transformation

    Another representative task is to provide a set of learning materials and a product specification, then ask the model to build a fully runnable educational game from scratch.

    The challenge is not merely writing code. The model must transform unstructured material into executable product rules. At a minimum, it needs to:

    • Extract the core concepts from the source material;
    • Distinguish foundational knowledge, advanced knowledge, and easily confused concepts;
    • Design questions, feedback, and progress mechanisms;
    • Establish game objectives, failure conditions, and completion conditions;
    • Map knowledge content to levels, tasks, or interactive events;
    • Make the learning process engaging without deviating from the source material.

    Generating several static pages or converting the material into a basic quiz may demonstrate an interface, but it does not necessarily constitute a complete product. A playable learning system should at least include a clear state machine, such as:

    1. Start
    2. ├─ Load level configuration
    3. ├─ Display task objective
    4. ├─ Receive user action
    5. ├─ Evaluate the answer or action
    6. │ ├─ Correct: update progress and move to the next stage
    7. │ └─ Incorrect: provide an explanation and record the failure reason
    8. ├─ Check whether the current level is complete
    9. └─ Check whether the final completion conditions are satisfied

    This type of task tests whether the model understands the product loop. A complete loop includes not only pages and code, but also objectives, rules, feedback, progress persistence, exception handling, and a final outcome.

    5. Passing Tests Does Not Mean the Software Is Ready for Delivery

    Automated testing is essential to a model-assisted development process, but it has clear limitations.

    Tests cover only the scenarios that have been designed. If they do not check cross-user access, unauthorized reads, malicious files, repeated requests, or state tampering, those issues may exist without affecting the test results.

    A real project should include at least the following types of validation.

    Functional Testing

    Verify that normal user workflows can be completed, including uploading, querying, editing, deleting, rendering, and final presentation.

    Boundary Testing

    Test empty input, oversized files, unsupported formats, repeated operations, network interruptions, and task timeouts.

    Authorization Testing

    Verify whether different users, projects, and roles can access one another’s resources. In particular, check that the API does not rely solely on a resource identifier supplied by the frontend and that the server independently confirms resource ownership.

    Regression Testing

    Verify that the new feature does not break existing functionality. Examples include checking whether database migrations affect historical data, whether API field changes break older clients, and whether task-state changes disrupt existing workflows.

    Manual Acceptance

    Manual acceptance can reveal business problems that are difficult for automated tests to cover. A page may appear to work while a resource identifier can be replaced to access another asset. A workflow may complete while an error message exposes an internal path. A regular user may complete a normal operation while also accessing data intended only for administrators.

    These issues are not necessarily syntax errors, and they may not cause tests to fail, but they can still represent serious security risks.

    6. Authorization Isolation Is Often Underestimated in Model Deployment

    A common dangerous pattern in resource access looks like this:

    1. The client submits a resource ID.
    2. The server directly queries and returns the resource based on that ID.

    If the server does not also validate the current user, project ownership, and resource status, an attacker may only need to change the resource ID to access another user’s content.

    A safer approach is:

    1. Resource = query(
    2. resource_id = request parameter,
    3. owner = current identity,
    4. project = current project,
    5. status = accessible
    6. )

    Authorization must therefore be enforced on the server. It cannot depend on hidden frontend buttons or on the assumption that users will not modify request parameters.

    When generating this type of code, a model can often implement explicit requirements but overlook implicit security requirements. Any feature involving accounts, files, orders, projects, organizations, or administrative operations should receive an independent authorization review.

    A security checklist can be integrated into the development process:

    • Is server-side ownership validation performed for every resource?
    • Are resource identifiers predictable or enumerable?
    • Can a user read files that do not belong to them?
    • Are regular users and administrative roles properly separated?
    • Are uploaded contents validated for type, size, and content?
    • Are internal paths, stack traces, and sensitive fields kept out of client responses?
    • Do high-risk actions such as deletion, export, and bulk operations require additional confirmation or audit records?

    7. How to Design a More Reliable Model Evaluation

    For an objective evaluation of a code model, use a combination of task complexity, process quality, and result quality instead of focusing only on the final demonstration.

    The tasks should cover different categories:

    • Legacy project modernization, to assess code understanding and compatibility;
    • Cross-frontend/backend feature development, to assess coordination across modules;
    • End-to-end implementation from source material to product, to assess requirement transformation;
    • Security review and vulnerability remediation, to assess awareness of boundaries;
    • Long-running autonomous execution, to assess context retention and error recovery.

    Process metrics should also be recorded, including:

    • The time required to reach the first runnable version;
    • The number and success rate of automatically repaired errors;
    • Whether the model repeatedly modifies the same issue;
    • Whether it proactively runs tests and checks logs;
    • Whether it can explain its design trade-offs;
    • Whether it expands the validation scope after discovering a risk.

    Finally, evaluate the delivered result:

    • Is the functionality complete?
    • Is the code maintainable?
    • Do tests cover critical paths?
    • Is exception handling sufficient?
    • Are authorization and data isolation reliable?
    • Are there hidden defects that are difficult to detect?

    8. Overall Assessment

    The main progress of the new generation of Chinese code LLMs is not simply faster code generation. These models are beginning to handle complex software engineering tasks over an extended period. They can read relatively large codebases, understand cross-module dependencies, perform consecutive modifications, and iterate by running tests and examining logs.

    This makes them suitable for trial use in real projects, particularly for prototyping, feature extensions, test completion, documentation generation, and engineering troubleshooting.

    However, these models are still not unsupervised autonomous programmers. Human oversight remains indispensable for authorization controls, security boundaries, data consistency, and final business acceptance.

    A more reliable working model is to let the LLM handle analysis, implementation, testing, and initial fixes, while developers remain responsible for confirming objectives, reviewing risks, making critical design decisions, and signing off on the final result. Long-horizon code generation can move from “appears to work” to “reliably deliverable” only when model capabilities are combined with code review, automated testing, manual acceptance, and security auditing.