Hands-On Evaluation of Long-Horizon Coding Capability and Its Safety Boundaries

    This article reports a hands-on evaluation of a new-generation open-source coding model, focusing on long-horizon coding rather than benchmark rankings. Two contrasting tasks were tested: adding secure user image asset import to a legacy project, and building a completable learning game from scratch using only study material and a product requirements document. The model pushed the coding ceiling of domestic open-source models higher, reduced wasted rework, and reliably reached a runnable, testable state. However, manual acceptance exposed a P1 permission-isolation flaw in asset access, showing that passing tests is not the same as being ready to ship. The article also explains how the upgrade came from scaled post-training rather than a new base model, and proposes four evaluation gates—runnable, testable, secure, and maintainable—along with practical guidance for keeping humans in charge of architecture, security constraints, and final acceptance.

    1. The Conclusion First

    Judging a new-generation open-source coding model by leaderboard position alone is not enough. A more useful dimension is how it sustains and converges on long tasks: whether it can read a large, messy context, keep making cross-module changes, and carry the work to a state that is runnable and testable.

    My hands-on conclusion is that this generation has pushed the coding ceiling of domestic open-source models noticeably higher. It is worth putting into real projects for stress testing, especially for long-horizon coding. Even so, humans cannot let go at the permission, security, and final acceptance stages. Both test projects ran end to end, and one exposed a P1-level permission-isolation defect during manual acceptance—exactly the gap that still exists between “all tests green” and “ready to deliver.”

    2. Evaluation Design: Why These Two Very Different Tasks

    Generating a single function says little about real engineering ability, so I designed two complementary tasks.

    Task one was to add “secure user image asset import, with references in an HTML animation scenario” to a project with a large body of legacy code. It tests three things: understanding the implicit conventions of an old system, making minimally invasive extensions within the existing architecture, and delivering under security constraints.

    Task two provided only a piece of study material and a product requirements document, and asked for a knowledge-learning game that can actually be completed, built from zero. It tests the full chain from material analysis and requirement breakdown to a complete product.

    One task leans toward maintaining existing code, the other toward incremental creation. Together they cover the main pressure points of long-horizon coding.

    3. Generational Difference: The Upgrade Came from Post-Training, Not a New Base

    This generation did not change the base model; it still uses a base of the same scale as the previous generation. The improvement comes mainly from scaling up post-training: the long-horizon task environment was expanded to dozens of times its previous size, environment types became more varied, and training time increased significantly.

    The official summary groups the changes into three directions:

    • Coding: positioned as the strongest open-source version in this series for code, staying open-source-leading in terminal and software-engineering evaluations, with more emphasis on long-horizon tasks and production-grade engineering;
    • Cybersecurity: capability extended from “generating code” to white-box code review and vulnerability reasoning, with basic security tasks approaching frontier closed-source levels, though still behind on complete exploitation chains;
    • Agents and tool use: more stable planning and self-correction in multi-step tasks.

    Seen against the baseline the previous generation already proved—it worked continuously across a full chain including a contract layer, database, task state, interfaces, a background executor, frontend, and renderer, with the first implementation taking about seventy-plus minutes and browser verification and fixes taking about another hour—this generation’s progress shows mainly in reducing wasted rework rather than simply going faster.

    4. Hands-On Result One: Secure Asset Import in a Legacy Project

    In the old project, the difficulty was not writing new code but identifying existing constraints: the directory convention for file uploads, the metadata table structure, cache invalidation strategy, and how the frontend references assets.

    The model’s performance breaks into three layers:

    1. Accurate context location. It first scanned directories and contract definitions to infer which layer the asset entity should attach to, instead of inventing a parallel structure.
    2. Restrained changes. The new capability was wired in as adapters and hooks, without rewriting existing modules on a large scale, keeping regression risk controllable.
    3. Basically sound but incomplete security. File type validation, size limits, name normalization, access paths, and content isolation were all covered, but final acceptance found that asset resources could be accessed without proper authorization—a P1-level permission-isolation issue.

    A schematic validation skeleton looks roughly like this (showing only the general approach):

    1. public ImportResult importAsset(MultipartFile file, Actor actor) {
    2. if (!policy.isAllowed(file.getContentType(), file.getSize())) {
    3. return ImportResult.rejected("UNSUPPORTED_ASSET");
    4. }
    5. String key = storage.putNormalized(actor.tenantId(), file); // normalized naming + tenant prefix
    6. return ImportResult.ok(metaService.register(actor, key)); // bind metadata to authorization
    7. }

    The problem was exactly where things “looked correct”: the write path was isolated, but the read path still used the old public prefix, so authorization checked only the metadata and not object ownership.

    5. Hands-On Result Two: Building a Completable Learning Game from Scratch

    The second task started from zero with only material and a requirements document. The model first organized a knowledge-point graph on its own, then broke out level structure, scoring and unlock rules, and save and rollback mechanisms, and finally filled in the interface and interaction feedback to close the loop.

    The highlight was the hard metric of “completable”: it did not stop at static pages but wired the state machine, failure retries, and progress persistence into a runnable chain, and added a round of end-to-end self-testing on its own.

    The shortcomings were concentrated in product details: the difficulty curve was flat in the middle, hint text was inconsistent in boundary states, and some states lacked idempotency protection, so repeated submissions produced dirty data. These do not block completion but affect experience and data trustworthiness.

    6. A Reusable Evaluation Method: Four Gates

    Drawing on both tests, I suggest evaluating long-horizon coding with four gates:

    • Runnable gate: can it bring up the full chain in one go, with dependencies and configuration self-consistent;
    • Testable gate: does it add tests proactively, and can it locate failures to its own changes;
    • Security gate: are permissions, tenant isolation, and input validation systematic rather than point coverage;
    • Maintainable gate: do changes follow existing layering and naming, and is the diff readable.

    This generation basically passes the first two gates; the last two still need deep human involvement.

    7. Engineering Adoption Advice

    • Treat the model as a high-intensity executor, while humans keep architecture decisions and acceptance authority;
    • State security constraints and an acceptance checklist explicitly in prompts, especially resource ownership and unauthorized access;
    • For integration with common cloud capabilities such as object storage, logging services, and monitoring and alerting, require the model to output configuration and rollback plans;
    • Set up a two-layer mechanism of automated regression and manual spot checks, with all P0/P1 issues reviewed manually;
    • Split long tasks into milestones, each of which must be runnable and testable.

    8. Summary

    The value of this open-source coding generation is that it turns “sustained progress” on long-horizon tasks into a stable capability, suitable for real projects, especially cross-module changes. But security and final acceptance remain the human responsibility boundary. Putting it into the workflow, rather than handing authority to it, is the most reasonable approach at this stage.