Evaluating Long-Horizon Coding Capabilities of New-Generation Open-Source LLMs
This article evaluates how new-generation open-source LLMs perform on long-horizon coding tasks, focusing on behavior quality rather than benchmark scores. Based on two hands-on tasks—extending a legacy project with security constraints and building a complete learning game from scratch—it finds that the upper bound of long-horizon coding keeps rising, yet human acceptance remains essential, as a P1 object-level authorization flaw surfaced in the legacy project. The article also explains how the upgrades come from post-training scaling, outlines a reusable acceptance framework, and argues for shifting evaluation from scores to task closure and from testing to threat modeling.
1. Key Takeaway: Long-Horizon Coding Is Improving, but Humans Still Own Acceptance
Evaluating the coding ability of new-generation open-source LLMs cannot rely on benchmark scores alone. A more valuable dimension is the quality of their behavior during long tasks: whether they can understand complex context, keep making progress on cross-module changes, and bring a task to a runnable, testable state.
From this hands-on practice, the upper bound of long-horizon coding in new-generation open-source models keeps rising, making them worth testing in real projects. However, they have not yet reached the point where “all tests green means safe to deliver.” A legacy project with historical code and security constraints did run end to end, but manual acceptance still exposed a P1-level permission isolation issue. A more reliable positioning is therefore: long-horizon coding can be handed to the model to advance, while permissions, security, and final acceptance must be gated by humans.
2. Where the Upgrade Comes From: Post-Training Scaling, Not a New Base
This generation does not replace the base model; it keeps a base of the same scale as the previous generation. The upgrade mainly comes from scaling the post-training stage: the scale of long-horizon task environments expanded by roughly tens of times, environment types became more diverse, and training duration increased significantly.
The official summary groups the changes into three directions:
- Coding: emphasis on long-horizon tasks and production-grade software engineering, staying open-source leading in terminal and software engineering evaluations;
- Cybersecurity: extending from code generation to white-box code review and vulnerability reasoning, with foundational security tasks approaching frontier closed-source levels, while complete exploitation scenarios still lag;
- Open source: full weights will be released after security evaluation and model hardening are complete, making self-deployment, verification, and further improvement easier.
For engineering teams, this means the evaluation focus should shift from “can it write a function” to “can it work continuously in an existing system for hours while maintaining constraints.”
3. Evaluation Design: Two Task Types, Two Capabilities
To distinguish capability boundaries, two clearly different tasks were prepared.
Task A: In a project with a large amount of historical code, add a “secure user image asset import and animation scenario reference” capability. The focus is legacy system understanding, data validation, permission boundaries, and backward compatibility.
Task B: Given only one learning resource and one requirements document, implement from scratch a knowledge-learning game that can be fully completed. The focus is resource analysis, requirement breakdown, product closure, and playable delivery.
Both projects eventually ran end to end, but only Task B reached a completion level ready for direct delivery; Task A was judged to contain a high-risk defect during manual acceptance.
4. Legacy Project Refactoring: Running Is Not the Same as Secure
In Task A, the model completed the full-chain changes across interfaces, storage, task state, and frontend references, and the feature demo worked normally. However, manual review found that the asset read path lacked object-level authorization, creating an unauthorized access risk—a P1-level issue.
Original request: GET /assets/{id}Defect: only login state is checked, resource ownership is notFix requirement: add object-level permission checks and a default-deny policy
The retrospective shows three points. First, the model tends to satisfy functional requirements and lacks proactive coverage of security constraints such as “default deny” and “least privilege.” Second, passing tests only covered the normal path, not unauthorized access or abnormal input. Third, cross-module changes lacked a unified security baseline description. A practical approach is to write security constraints as an explicit acceptance checklist and require the model to output threat modeling and test cases.
5. Building From Scratch: More Mature Long-Task Closure
In Task B, the model first summarized the resource structure, then broke down levels, question banks, feedback, and saves to form a playable loop, and kept fixing issues until the game could be completed. Its strengths are no drift during long-horizon progress, natural module integration, and self-verification.
What still needs human input is content accuracy and the difficulty curve: some generated questions have imprecise wording, and level pacing is somewhat flat. A collaboration model of “model output, expert spot checks, data-driven tuning” is recommended.
6. A Reusable Acceptance Framework
- Task completion: runnable, testable, and reproducible;
- Cross-module consistency: contracts, state, and interfaces are self-consistent;
- Security baseline: authorization, input validation, and default deny are implemented;
- Maintainability: logging, monitoring alerts, and rollback plans are in place.
For engineering adoption, general cloud capabilities such as object storage, message queues, container platforms, log services, and monitoring alerts can fill the runtime and observability gaps, while humans remain responsible for final sign-off.
7. Conclusion
New-generation open-source models have pushed long-horizon coding above the threshold of being worth trying, but security properties and delivery responsibility still belong to humans. Shifting evaluation from scores to task closure, and acceptance from testing to threat modeling, is the right way to reliably adopt this class of models.
