Long-Range Coding Capabilities: Hands-On Testing and Boundary Thinking
This article evaluates the long-range coding capabilities of a leading open-source coding model through two contrasting real-world tasks: adding secure user image import to a legacy project with strict security constraints, and building a complete Agent learning game from scratch using only reference material and a PRD. It explains why benchmark scores are not enough, how to measure version upgrades against an engineering baseline, and what the model's improvements in coding, security, and open weights mean for engineering teams. Both projects ran successfully, but manual acceptance revealed a P1 permission isolation flaw in Task A, showing that runnable code is not the same as deliverable software. The article also covers four key engineering concerns in long-horizon tasks—context governance, state machines and recoverability, layered verification, and human-AI division of labor—and provides a reusable acceptance checklist for permissions, input security, data consistency, observability, and deliverables.
1. The Bottom Line First: What Long-Range Coding Capability Really Means
When evaluating whether an AI coding tool is truly production-ready, benchmark scores are only a reference. What matters more is its sustained working ability on long tasks: Can it understand complex context? Can it keep driving cross-module changes forward? Can it bring a task to a runnable, testable state?
My overall assessment is that the current leading open-source coding models have pushed the coding ceiling of Chinese models further forward. They are worth testing on real projects, especially for long-range coding. However, when it comes to permissions, security boundaries, and final acceptance, humans cannot step away yet. It has not reached the point where “all tests passing means it is safe to deliver.”
To verify this, I designed two very different types of tasks:
- Task A: In an older project with a large amount of legacy code and security constraints, add the capability to “securely import user image assets and reference them in HTML animation scenarios.”
- Task B: Given only a set of Agent learning materials and a PRD, implement an Agent knowledge learning game that can be fully completed from scratch.
One tests the ability to understand a legacy system and handle security constraints; the other tests completeness from material analysis to product delivery. Both projects ultimately ran through, but Task A exposed a P1-level permission isolation issue during manual acceptance—this is the main focus of this article.
2. The Right Way to View Version Evolution: Measure Improvements Against the Engineering Baseline
To evaluate an upgrade, you first need to establish a baseline. Previously, I used the previous-generation model for a fairly intensive development task: adding an HTML animation video generation capability to an existing animation generation pipeline, involving contract definitions, database, task state machine, API layer, backend Worker, web frontend, and renderer. The first round of implementation took about 1 hour and 11 minutes, followed by about 1 hour and 4 minutes for browser verification and fixes.
This shows that the previous-generation model could already work continuously in a Monorepo and handle cross-frontend-and-backend features. The new generation’s improvements must be viewed on top of this foundation, rather than comparing isolated single-point scores.
According to public information, this generation did not change the base model and still uses the same 753B base scale as the previous generation. The upgrade mainly comes from Scaling in the post-training stage: the scale of long-range task environments expanded to dozens of times the original, with more environment types and longer training time. The official summary groups the changes into three directions:
- Coding: Positioned as one of the strongest open-source models for code capability, maintaining open-source leadership in multiple terminal and software engineering evaluations, with more emphasis on long-range and production-grade software engineering;
- Security: Capability extends from code generation to white-box code review and vulnerability reasoning, approaching frontier closed-source levels 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 complete, making it easier to deploy, verify, and continue improving on your own.
For engineering teams, these three points mean: you can put the model into more realistic repositories and pipelines for stress testing, but the “first half” and “second half” of security capability must be managed separately.
3. Evaluation Design: Covering “Modification” and “From Scratch” with Two Task Types
A single task easily leads to one-sided conclusions, so I insisted on a dual-track evaluation.
3.1 Task A: Incremental Modification of a Legacy System with Security Constraints
The goal is to add secure import of user image assets to an old project and allow safe referencing in HTML animation scenarios. The difficulty is not “writing the feature” but “not breaking existing constraints”:
- Legacy code styles are inconsistent, with many implicit conventions;
- Security constraints are hard requirements, such as upload type validation, size limits, path traversal protection, and content isolation;
- Changes must span contracts, storage, APIs, frontend, and rendering layers.
3.2 Task B: From-Scratch Delivery from Materials to Product
Given only learning materials and a PRD, the requirement is to build a learning game that can truly be completed. It examines the complete chain: material structuring, knowledge point extraction, level design, state management, progress persistence, completion判定, and playability verification.
3.3 Why This Design
- Task A tests the ability to “move forward under constraints”;
- Task B tests the ability to go “from chaos to order”;
- Both require runnable, testable results, avoiding “looks complete.”
4. Task A Hands-On Test: Running Through Does Not Mean Secure
The model performed steadily in Task A: it could locate relevant modules, fill in contracts and APIs according to existing layering, complete upload validation, metadata persistence, scene referencing, and frontend interaction, and pass the build and basic tests.
But during manual acceptance, a P1-level issue was found: assets of different tenants/users had unauthorized access risk, and isolation was bypassed at the “reference path” level. It was not a compilation error, nor a unit test failure, but a defect at the security semantics level.
This exposes a common pattern: models are good at satisfying explicit requirements but tend to overlook implicit security boundaries. Between runnable code and a deliverable system lies an entire acceptance framework.
Illustrative validation snippet (only expressing the idea):
// Counter-example: only validates the file name, without binding ownershipif (!name.endsWith(".png")) throw new IllegalArgumentException();// Positive example: ownership check + normalized path + access subject bindingResource r = storage.resolve(tenantId, userId, normalizedPath);if (!r.belongsTo(currentPrincipal())) throw new AccessDeniedException();
5. Task B Hands-On Test: Completeness of From-Scratch Delivery
In Task B, the model could extract a knowledge graph skeleton from the materials, design levels and completion conditions, generate runnable frontend and backend with persistence logic, and fill in basic interactions. It demonstrated the ability to connect “requirements analysis” to a “playable product.”
But it still required human oversight: level difficulty curve, whether knowledge point coverage is complete, whether completion判定 can be “gamed,” and save consistency. None of these can be automatically covered by “all tests green”; they require acceptance from a product perspective.
6. Four Key Engineering Issues in Long-Range Tasks
6.1 Context Governance
The core of long tasks is not “writing a lot” but “remembering and finding.” Suggestions:
- Build a repository map and module contract index;
- Solidify key constraints into readable specification files injected with the task;
- Commit in stages, keeping each step rollback-able.
6.2 State Machine and Recoverability
Cross-module changes need clear states: to-do, in progress, pending verification, verified. Let both the model and humans advance based on the same state to avoid duplication and omission.
6.3 Layered Verification
- Compilation and static checks;
- Unit and integration tests;
- Browser/end-to-end verification;
- Security and permission-specific acceptance.
6.4 Human-AI Division of Labor
The model is responsible for “paving the road so cars can run”; humans are responsible for “confirming where the road leads and who can get on.” Permissions, security, and final acceptance must be closed-loop by humans.
7. Reusable Acceptance Checklist (Recommended to Include in the Pipeline)
- Permission isolation: resource ownership checks, unauthorized access cases, tenant boundary tests;
- Input security: type/size/content validation, path normalization, injection protection;
- Data consistency: transaction boundaries, idempotency, concurrency and retries;
- Observability: whether logs, metrics, and alerts cover key paths;
- Deliverables: change descriptions, rollback plans, acceptance records.
8. Conclusion: Treat the Model as a “Powerful Construction Crew,” Not a “Supervisor”
The value of this generation of models is that it significantly expands the feasible range of long-range coding: it can keep advancing in real repositories and bring tasks to a runnable, testable state. But between “runnable” and “deliverable,” humans still need to stand guard.
If your team is preparing to adopt AI coding tools, it is recommended to start with small-scale pilots on real projects, establish layered verification and security acceptance checklists, and then gradually expand the scope of automation. If you need general cloud capabilities such as elastic computing, object storage, log services, and monitoring alerts to support evaluation and pipelines, Baidu AI Cloud can provide corresponding product categories.
