Evaluating Long-Horizon AI Coding Capabilities: Real-World Tests and Limitations

    This article evaluates a new-generation AI coding model through two contrasting real-world tasks: adding a secure image import and HTML animation feature to a legacy project, and building a complete learning app from scratch. It examines how post-training scaling improves long-horizon engineering execution while leaving gaps in security reasoning and acceptance, and offers a reusable checklist for permissions, input validation, failure paths, observability, and delivery evidence.

    1. Why Benchmark Scores Are Not Enough

    When evaluating a new generation of AI coding tools, the easiest mistake is to treat public benchmark scores as the final verdict. Scores reflect average performance on a specific task distribution, whereas the core challenge in real engineering is stability across long chains of work: whether the model understands the context, whether it can keep cross-module changes moving, and whether the output reaches a runnable and testable state. A more reliable approach is to construct two very different real-world tasks and observe performance across the full lifecycle, rather than judging a single question-answer round.

    The two tasks used here are complementary. The first adds a “secure user image import + HTML animation scene reference” capability to a legacy project with historical code and security constraints, testing understanding of the existing system and adherence to constraints. The second provides only a learning resource and a product requirements document, requiring a complete, fully playable knowledge-learning application built from scratch, testing the full path from material analysis to product delivery.

    2. Evolution Logic: Same Base Model, Gains Amplified by Post-Training

    This generation shares the same base model as the previous one, at roughly 753B parameters. The upgrade comes mainly from scaling in the post-training stage: the scale of long-horizon task environments expanded by tens of times, environment types became more diverse, and training time increased significantly. A direct consequence is uneven improvement. Engineering areas covered by the training environments—terminal operations, repository-level retrieval, dependency installation, and test execution—improved markedly, while security reasoning and delivery acceptance, which were less covered, remain weak.

    The official summary points to three directions, useful as a capability profile for selection:

    • Code and software engineering: emphasis on long-horizon tasks and production-grade engineering, keeping an open-source lead in terminal and repository-level evaluations;
    • Security: extending from “generating code” to white-box code review and vulnerability reasoning, with basic security tasks approaching leading closed-source levels, though full exploit-chain scenarios still lag;
    • Open strategy: weights released after security evaluation and model hardening, making self-deployment, verification, and further improvement easier.

    Note that these are directional descriptions; specific figures should follow each public evaluation methodology, and engineering decisions should not rest on a single leaderboard.

    3. Experiment Design: The Value of Two Contrasting Tasks

    Task A (legacy system modification) has three key constraints: existing interface contracts must not be broken; asset import must pass three checks—type, size, and content; and animation scene references must be decoupled from the existing rendering pipeline. Task B (delivery from scratch) takes only materials and a requirements document as input, with acceptance defined as full playability, including a state machine, progress persistence, error recovery, and final settlement.

    Both tasks exposed the same pattern: the model succeeds at “making the feature work” but still needs human backstopping on “thinking through all the risks.”

    4. Test Observations: How It Drives Long Tasks Forward

    In the legacy project, the model autonomously completed repository retrieval, contract comparison, database migration, task state extension, API-layer and frontend integration, and actually got the service running. The time structure was also healthier: retrieval and implementation took a smaller share while verification and fixes took a larger one, indicating behavior closer to that of an experienced engineer. In the from-scratch project, it split materials into knowledge points, designed levels and judgment logic, and produced a complete, playable closed loop.

    However, during manual acceptance, the legacy project revealed a P1-level permission isolation flaw: the asset read path lacked ownership checks, allowing possible unauthorized access. Such issues usually do not surface when “all tests are green,” because the test cases themselves do not cover unauthorized paths.

    5. A Reusable Acceptance Checklist

    • Permission and tenant isolation: every resource access must verify ownership, not just login state;
    • Input boundaries: type, size, content, and path-traversal checks are all required;
    • Failure paths: whether timeout, retry, idempotency, and rollback form a closed loop;
    • Observability: whether key paths have logging, metrics, and alerting;
    • Delivery evidence: runnable, testable, and rollback-ready as the delivery bar.

    Illustrative validation logic:

    1. public void importAsset(ImportRequest req, Actor actor) {
    2. if (!ownershipService.canWrite(actor, req.getProjectId())) {
    3. throw new ForbiddenException("asset scope denied");
    4. }
    5. AssetValidator.validate(req); // type / size / content / path
    6. assetService.persist(req, actor);
    7. }

    6. Conclusion and Division of Labor

    This generation has pushed the ceiling of open-source coding capability higher, especially for long-horizon, cross-module coding tasks, and is worth putting directly into real-project validation. But when it comes to permissions, security, and final acceptance, humans cannot step back. If you use a cloud platform such as Baidu AI Cloud to carry the related engineering pipeline, it is advisable to use common capabilities like object storage, container platforms, logging services, and monitoring and alerting to complete the observability and isolation foundation, and to put model output through both CI and human review, forming a sustainable collaboration model where “the model drives progress and engineering standards provide the backstop.”