Evaluating Long-Horizon Coding Capabilities of New-Generation Open-Source LLMs
This article examines why public leaderboard rankings fall short when assessing coding models, and argues that long-horizon task performance is a more reliable signal. Based on a real evaluation with two contrasting tasks—adding secure user image import to a legacy system and building a complete learning application from scratch—it shows that a new-generation open-source model can sustain cross-module changes and reach a runnable, testable state, while permission isolation and security acceptance remain weak points. The article also explains how the upgrade came from scaling post-training environments rather than changing the base model, and offers practical recommendations for model-based delivery workflows.
1. Why Leaderboard Scores Are Not Enough
When evaluating a coding model, many teams start with public benchmark rankings. However, real development scenarios differ significantly from benchmark environments: real projects carry legacy baggage, implicit conventions, and permission and security constraints. Tasks often span multiple modules, require continuous progress over several hours, and are ultimately judged by whether the result is runnable, testable, and acceptable.
A more effective way to assess coding ability is therefore to observe how a model performs on long-horizon tasks: whether it can understand complex context, sustain cross-module changes, and bring a task to a runnable and testable state.
This article follows a real evaluation. The evaluation was designed around two very different types of tasks. The first was to add a “secure user image asset import and animation scene reference” capability to a project with a large amount of legacy code. The second was to implement a knowledge-learning application that can be fully completed from scratch, given only a learning resource and a requirements document. The former tests understanding of a legacy system and handling of security constraints; the latter tests completeness, from analyzing materials to delivering a working product.
2. Where the Upgrade Comes From: Same Base Model, Scaled Post-Training Environments
This generation of the model does not replace the base model. It still uses a base model of the same parameter scale as the previous generation. The upgrade comes mainly from scaling in the post-training stage: the number of long-horizon task environments was expanded to dozens of times the original, the environment types became more diverse, and training time increased significantly.
The engineering implication of this path is clear: the model is better adapted to multi-step, long-chain tasks that require self-correction, rather than simply improving the fluency of single-turn question answering.
The official summary groups the changes into three directions:
- Coding: positioned as an open-source model with leading code capabilities, maintaining an open-source lead in terminal and software engineering evaluations, with more emphasis on long-horizon tasks and production-grade software engineering;
- Security: capabilities extend from code generation to white-box code review and vulnerability reasoning, approaching frontier closed-source models on basic security tasks, but still lagging in complete vulnerability exploitation scenarios;
- Open source: full weights will be released after security assessment and model hardening are completed, making it easier to self-deploy, verify, and continue improving.
It is worth emphasizing that evaluation data can only serve as a reference coordinate. Different evaluations cover different capability dimensions. Terminal tasks, software engineering tasks, tool-calling tasks, and general knowledge tasks do not measure the same thing, and combining them into a single overall score can easily lead to misjudgment.
3. Evaluation Design: Two Task Types, Two Kinds of Pressure
Effective model evaluation should stay close to real engineering constraints. This design followed three principles: tasks must be verifiable, constraints must be explicit, and acceptance must be done by humans.
Task A (legacy system modification): In a project with a long evolution history, add a capability for secure import of user image assets and allow animation scenes to reference these assets. Constraints included file type and size validation, path traversal protection, access isolation, failure rollback, and audit logging.
Task B (build from scratch): Given only learning materials and a requirements document, implement a knowledge-learning application that can be fully completed, including level progression, state persistence, error feedback, and completion判定 logic.
The complementarity of the two tasks lies in this: A tests making incremental changes within existing constraints, while B tests building a system in a blank environment. The former easily exposes a model’s neglect of implicit conventions; the latter easily exposes weaknesses in requirement decomposition and prioritization.
4. Observations: Long Tasks Progress Smoothly, Security Acceptance Remains a Weak Point
In the legacy system project, the model was able to locate relevant modules, understand the existing layering and data flow, complete coordinated changes to interfaces, storage, task state, and frontend references according to plan, and proactively add validation and exception handling. The feature ended up runnable and the tests passed. However, during manual acceptance, a high-priority issue surfaced: asset access between different users was not strictly isolated, creating the possibility of unauthorized reads.
This result has general significance. Models are good at making a feature work, whereas permission isolation is a typical non-functional requirement: it does not raise errors in functional testing, but can cause data leakage in real multi-tenant environments. Similar risks include input validation bypass, sensitive information written to logs, and error messages exposing too much internal detail.
A simplified validation sketch:
if not (allowed_ext(file) and size_ok(file) and magic_ok(file)):reject()name = sanitize(file.name)path = join(base_dir, user_id, name)if not within(path, base_dir):reject() # prevent path traversalstore(path, mode=private)audit_log(user_id, action="import", result="ok")
The key point is that the ownership dimension must be incorporated into the path and access control, rather than filtered only at the presentation layer.
In the build-from-scratch task, the model handled the conversion from requirements to prototype relatively well, and level and state management were runnable, but human effort was still needed to supplement test cases for whether completion conditions were rigorous and whether boundary states were reproducible.
5. Conclusions and Practical Recommendations
The conclusion can be summarized as follows: the new-generation open-source model has pushed the coding ceiling of domestic models further and is worth testing on real projects, especially for long-horizon coding. However, when it comes to permissions, security, and final acceptance, humans cannot step back.
Practical recommendations:
- Evaluate with long tasks rather than single-turn question answering, and record time to first runnable state and human rework time;
- Write security and non-functional requirements as explicit acceptance items and include them in checklist-based reviews;
- Adopt a three-stage workflow of “model implementation + automated testing + manual acceptance”;
- Enforce mandatory human review for high-risk points such as permissions, keys, and log redaction;
- If cloud execution is involved, combine common capabilities such as object storage, container platforms, logging services, and monitoring alerts to build an observable and rollback-capable delivery environment.
