Long-Horizon Coding with a Chinese Open-Source Model: Hands-On Evaluation and Practical Lessons

    This article evaluates a new-generation Chinese open-source model on long-horizon coding tasks. It presents two deliberately orthogonal hands-on tests—adding secure image-import capabilities to a legacy project and building a completable learning game from scratch—and analyzes what improved, where risks remain, and how teams should assess such models. The main finding is that long-task persistence has improved substantially, but permission handling, security, and final acceptance still require human review.

    Long-Horizon Coding with a Chinese Open-Source Model: Hands-On Evaluation and Practical Lessons

    1. Conclusion First

    When a new generation of Chinese open-source large models is released, community discussion often centers on leaderboard scores. From an engineering practice perspective, however, benchmark scores reflect only “point capabilities.” Real development depends more on “long-task performance”: whether the model can understand complex context, sustain cross-module changes, and bring a task to a runnable and testable state.

    Based on two very different hands-on tasks, my conclusion is:

    • The upper bound has improved clearly: the model’s persistence and stability in long-horizon coding tasks have increased significantly, and it is worth testing on real projects.
    • But it is not safe to let go completely: in areas involving permissions, security, and final acceptance, human intervention remains irreplaceable.

    2. Test Design: Why These Two Projects?

    To evaluate a model’s coding ability, task design matters more than benchmark scores. I deliberately chose two tasks that test orthogonal capabilities.

    Task 1: Add security capabilities to a legacy project

    In a project with a substantial amount of historical code, add the ability to “securely import user image assets and reference them in HTML animation scenes.” This task tests:

    • Understanding the old system: historical code often contains implicit conventions, legacy interfaces, and non-standard implementations. The model must understand them before making changes.
    • Handling security constraints: image import involves upload validation, path isolation, content-type whitelists, XSS protection in rendering contexts, and more. Any missed link can introduce a vulnerability.

    Task 2: Build a completable learning application from scratch

    Provide only a technical learning material and a PRD, and ask the model to build an Agent knowledge learning game that can actually be completed from start to finish. This task tests:

    • Completeness from material analysis to product delivery: extracting knowledge points from unstructured learning materials, designing level logic, and implementing a progress system is a complete product chain.
    • End-to-end delivery capability: not just writing a demo, but reaching an acceptable state that can be fully completed.

    One task tests “modification under constraints,” and the other tests “creation from nothing.” Together, they expose the model’s capability boundaries more comprehensively.

    3. The Nature of This Upgrade: Same Base, Deeper Post-Training

    The key to understanding this iteration is to distinguish between “base model capability” and “post-training capability.”

    3.1 The base model is unchanged

    This upgrade did not replace the base model. It still uses the same large-parameter MoE base as the previous generation. This means inference cost and deployment form remain basically unchanged, and all improvements come from deeper training-side work.

    3.2 Post-training scaling is the core source

    The changes mainly come from scaled investment in post-training:

    • Long-horizon task environments expanded dozens of times: the model was exposed to far more task environments involving “multiple steps, cross-file work, and continuous decision-making,” directly corresponding to real software engineering work.
    • More diverse environment types: coverage includes build-failure repair, test iteration, dependency conflict handling, and other richer scenarios.
    • Longer training time: this translates into less “giving up halfway” and less “direction drift” during task execution.

    3.3 Three official evolution directions

    The developers summarize the capability improvements into three directions, which can be understood as a progressive main line:

    1. Coding: positioned as a leading open-source model for code capability, maintaining an open-source lead in terminal task execution, software engineering benchmarks, and other evaluations, with focus shifting from “single-point coding” to “long-horizon and production-grade software engineering.”
    2. Cybersecurity: capabilities extend from “generating code” to “white-box code review and vulnerability reasoning.” On basic security tasks, it is close to frontier closed-source models, but there is still a gap in full exploit scenarios. This gap is reflected in the hands-on tests below.
    3. Open-source strategy: full weights will be released after security evaluation and model hardening, making it easier for developers to deploy, validate, and continue improving the model themselves.

    4. Hands-On Results Analysis

    4.1 Task 1: It worked, but exposed a P1-level issue

    In the task of adding secure asset import to a legacy project, the model’s overall performance was acceptable:

    • It could work continuously within a Monorepo structure and correctly handle linked changes across contracts, the database, task state, API, Worker, Web, rendering layer, and other modules.
    • The implementation chain was complete, and it ultimately delivered runnable, testable code.

    But the problem appeared during manual acceptance: after the code worked at the functional level and passed tests, human review still found a P1-level permission isolation issue. Resource access boundaries between different users were not strictly constrained. This shows that:

    “All tests green” does not mean “safe to deliver.” Functional correctness and security correctness are two dimensions, and the model’s consistency assurance on the latter is still insufficient.

    This mutually corroborates the official admission that “there is still a gap in full exploit scenarios”: the model can write functionally correct code, but from an adversarial perspective—who can bypass what—humans still need to gatekeep.

    4.2 Task 2: Completeness from material to product exceeded expectations

    In the task of building a learning game from scratch, the model demonstrated a “product engineer” style of working:

    • It could autonomously decompose the knowledge system from the learning materials and map it into game levels and question structures.
    • It implemented core mechanisms such as progress saving and completion checks according to the PRD.
    • The final application could be truly completed end to end, reaching an “acceptable” state.

    This validates the value of expanding long-horizon task environments: the model no longer relies on frequent human correction and can maintain task goals, decompose subtasks, and drive to the endpoint on its own.

    5. How to Evaluate a New Model Rationally: Three-Point Methodology

    Based on this hands-on evaluation, I recommend that developers follow these methods when evaluating any new generation of coding models.

    5.1 Use real projects, not just leaderboards

    Prepare two “orthogonal” tasks: one that modifies a system with legacy baggage, and one that delivers a complete product from scratch. The former exposes context understanding and constraint handling; the latter exposes end-to-end completeness.

    5.2 Separate security acceptance from model responsibility

    Security properties such as permission checks, resource isolation, and injection protection should have an independent manual review checklist. White-box code review tools can assist, but the final judgment must be made by humans. Example checkpoints:

    1. [ ] Does resource access verify ownership (consistency between owner_id and requester)?
    2. [ ] Does file upload enforce a type whitelist + size limit + storage path isolation?
    3. [ ] Is dynamically rendered content escaped in a context-aware way?
    4. [ ] Do tests cover negative cases for unauthorized access?

    5.3 Focus on “long-horizon stability” rather than “single-turn cleverness”

    The metric is not single-response quality, but whether direction drifts in multi-step tasks, whether cross-module changes remain consistent, and whether the model can proactively run tests and fix issues. Teams can combine general infrastructure such as container platforms, task orchestration, and monitoring/alerting to build automated long-task evaluation pipelines and accumulate their own evaluation data.

    6. Summary

    This iteration shows that progress in long-horizon coding is substantive: the base model is unchanged, but large-scale environment expansion on the post-training side has given the model the ability to “sustain task progress in real engineering.” The rational way to use it is to treat it as a trustworthy engineering collaborator and leave permissions, security, and final acceptance to humans. All tests green is a necessary condition, not a sufficient one. For the foreseeable stage, “the model does the work + humans perform security acceptance” remains the safest collaboration model. For teams, now is the best window to put real projects into hands-on testing and build their own evaluation systems.