Hands-On Evaluation of a Long-Horizon Coding Model: From Legacy Refactoring to Greenfield Development
This article presents a hands-on evaluation of a newly upgraded open-source coding model, using two complementary real-world tasks—adding a secure image import feature to a legacy codebase and building a playable learning game from scratch. It analyzes the model's post-training scaling approach, its strengths in sustained cross-module work, a critical P1 permission-isolation flaw that automated tests missed, and practical recommendations for human-AI collaboration in production settings.
1. Background: Why Benchmark Scores Aren’t Enough
Benchmarks for LLM coding ability are multiplying, but for practicing developers there’s always a gap between leaderboard scores and real engineering value. A model that scores well on benchmarks won’t necessarily drive cross-module changes through a production codebase carrying historical baggage, nor will it necessarily bring a long task to a “runnable, testable, deliverable” state.
So the core idea of this evaluation is: use two very different real tasks to probe the model’s ceiling and limits on long-horizon work, rather than simply restating public benchmark results.
Conclusions up front:
- The ceiling has risen noticeably: compared with the previous generation, the new model shows substantive improvement in complex context understanding, cross-module change execution, and end-to-end task delivery. The coding ceiling of open-source models has been pushed further.
- The limits are equally clear: it’s far from the point where “all tests green” means safe to ship. During manual acceptance, a P1-level permission isolation issue surfaced—one that automated tests did not catch.
- Overall judgment: the model is worth validating on real projects, especially long-horizon coding scenarios. But for anything involving permissions, security, and final acceptance, humans must stay in the loop.
2. Test Design: Two Complementary Stress Tests
To make the conclusions as generalizable as possible, I deliberately designed two tasks pointing in completely opposite directions:
Task 1: Legacy system modification. In a project with a large amount of historical code, add a new capability for “secure user image asset import and HTML animation scene referencing.” This tests:
- Understanding of existing architecture, code style, and historical decisions;
- Handling of security constraints (upload validation, resource isolation, permission control);
- Incremental evolution without breaking existing functionality.
Task 2: Greenfield development. Given only an AI agent learning document and a PRD (product requirements document), build a fully playable, completable agent-knowledge learning game from scratch. This tests:
- The ability to extract a knowledge system from unstructured material;
- The complete pipeline from requirements to architecture to implementation to a playable, finishable product;
- The quality of autonomous design when there’s no existing code to reference.
One tests “reading an old system,” the other tests “creating something from nothing.” Together they cover the typical usage scenarios of current AI coding tools fairly comprehensively.
3. What Changed: From Base Model to Post-Training Scaling
Before analyzing the hands-on results, it’s worth clarifying the technical path of this version iteration, since it helps explain the capability changes.
3.1 Same Base, Heavier Post-Training
The new version doesn’t swap the base model—it still uses the same base with hundreds of billions of parameters as the previous generation. The gains come mainly from post-training scaling:
- Greatly expanded long-horizon task environments: the number of interactive long-task environments used in training grew by an order of magnitude, with more diverse environment types;
- Significantly longer training time: the model learns planning, trial-and-error, and repair across more rounds of task execution.
There’s broad industry consensus on this point: once base-model capability stabilizes, the richness of post-training environments and training duration often determine a model’s stability on real long tasks. Multi-turn interactive environments teach the model to “recover from mistakes”; diverse environments teach it to “transfer experience to unfamiliar architectures.”
3.2 Three Clear Capability Directions
The official summary groups this upgrade into three directions, each worth unpacking:
1. Coding: from “can write” to “can carry long tasks.” The model is positioned as one of the strongest open-source models for code, maintaining open-source leadership on terminal-operation and software-engineering benchmarks. But the more notable shift is in emphasis—from single-shot code generation toward long-horizon tasks and production-grade software engineering. This matches what I observed in testing: the ability to keep pushing cross-module changes forward.
2. Cybersecurity: from writing code to reviewing code. The capability extends from “writing code” to “white-box code review and vulnerability reasoning,” approaching frontier closed-source models on basic security tasks, though it still lags in full exploit-construction scenarios. This positioning is honest: spotting suspicious code patterns and constructing a complete attack chain differ in difficulty by orders of magnitude.
3. Open-source strategy: open weights, but security evaluation first. Full weights will be released after security evaluation and model hardening are complete. For enterprise users, this is a pragmatic signal—they can self-deploy, validate, and harden the model to meet data-residency compliance requirements.
4. Hands-On Results
4.1 Sustained Long-Horizon Work: The Biggest Surprise
The previous generation had already demonstrated similar capability: adding an HTML-animated-video generation pipeline in a monorepo, touching the contract layer, database, task states, API, worker, web frontend, and renderer. The first implementation took about an hour, with another hour of validation and fixes. In other words, the ability to sustain cross-frontend-and-backend work already existed in the previous generation.
The new model’s improvement should be understood on top of that foundation: across longer task chains it shows better state memory and goal anchoring—it’s less likely to drift from the original requirements after many rounds of edits, and it avoids introducing new regressions while fixing a problem.
4.2 Legacy Modification: Capable, but with a Critical Security Blind Spot
Task 1 ultimately worked end to end: the image asset import pipeline was complete, HTML animation scene referencing functioned, and automated tests passed. But during manual acceptance, I found a P1-level permission isolation issue—certain user-uploaded assets could potentially be accessed without authorization through specific referencing paths.
This case exposes a key fact:
Passing automated tests ≠ passing security acceptance
The model can write functionally correct code and pass test cases designed for functional correctness, but it still misses constraints like permission boundaries, resource isolation, and multi-tenant security, which require global threat modeling. This corroborates the official positioning: “close to the frontier on basic security tasks, but still lagging in full exploit scenarios.”
4.3 Greenfield Development: Completeness Beyond Expectations
Task 2 was even more surprising. The model was able to:
- Distill a structured knowledge graph from the learning material;
- Break the PRD down into an executable module design (level system, knowledge Q&A, progress state machine);
- Complete the frontend and backend implementation on its own, delivering a genuinely completable game.
The end-to-end completeness—from material analysis to shipped product—shows the model already has usable autonomous planning ability in “no-reference-frame” tasks.
5. Recommendations for Teams
Based on this evaluation, here are several actionable suggestions:
- It’s worth validating on real projects—prioritize long-horizon, cross-module coding tasks where the payoff is clearest;
- Establish a human-AI division of labor: hand feature implementation to the model, but keep permission design, security review, and final acceptance under human control;
- Make security acceptance independent of testing: include threat modeling and permission-matrix review in the acceptance checklist instead of relying on automated tests as a safety net;
- Watch the value of open-weight deployment: once weights are released, teams can deploy and harden the model themselves—especially important for data-sensitive scenarios.
6. Conclusion
This generation of open-source models pushes the coding ceiling of Chinese-developed models a meaningful step further, and long-horizon coding capability now has real production value. But a higher “ceiling” doesn’t raise the “floor”—in high-leverage areas like security and permissions, human acceptance remains irreplaceable. Let the model run faster; let humans guard more precisely. That’s the most reasonable collaboration paradigm at this stage.
