Judging Long-Horizon Coding Models on Real Project Capability Boundaries
This article tests recently upgraded long-horizon coding models on two real tasks: adding secure image asset import and HTML animation scene references to an existing codebase, and building a complete learning game from a study guide and a product requirements document. It explains why closed-loop delivery, security gates, and manual acceptance matter more than public benchmark scores when deciding whether these models fit real projects.
The short answer: recently upgraded long-horizon coding models are moving from “can write code” to “can keep a real project moving forward.” Evaluation should not stop at public leaderboard scores. The key question is whether a model can make cross-module changes in a complex context and bring a task to a state that runs, passes tests, and can be accepted. More precisely, this class of models is now worth putting into real projects for demanding validation, especially for long-horizon coding tasks. For permissions, security, and final acceptance, however, humans must stay in control.
Passing tests does not make work deliverable. This article observes two very different tasks. The first adds a “secure user image asset import and HTML animation scene reference” capability to a project with a large amount of existing code. The second provides only one study document and one product requirements document, and asks the model to build a fully completable knowledge-learning game from scratch. The first task tests the model’s understanding of an existing system and its handling of security constraints. The second tests how completely the model can carry work from material analysis to a working product. Both projects ran end to end. However, the first project exposed a P1-level permission isolation problem during manual acceptance. This shows that evaluating long-horizon coding models must include security gates and manual acceptance in the loop.
1. Judging Long-Horizon Coding Models by Closed Loops, Not Scores
Public benchmarks measure basic abilities such as code generation, completion, and repair. Real projects care more about closed-loop quality. The questions are whether the model can understand the implicit constraints in old code, keep contracts consistent across modules, bring changes to a state that can start, be tested, and be rolled back, and stop on its own at security boundaries. For developers, the most valuable question is not whether the model solved one problem correctly. It is whether the model stays stable as the task chain grows longer.
This article therefore observes the tested models on five dimensions: long-horizon stability, cross-module consistency, security reasoning, testability, and maintainability. Long-horizon stability asks whether the model stays on target across many rounds of changes. Cross-module consistency asks whether interfaces, data models, state machines, and frontend references stay in sync. Security reasoning asks whether the model identifies risks such as permissions, input validation, and tenant isolation. Testability asks whether the model proactively adds tests and verification scripts. Maintainability asks whether changes have clear contracts and boundaries, so that a human can take over easily.
2. Two Task Designs: Secure Changes to an Old System and Building from Scratch
The first task is not “build a new page.” It asks the model to add asset import and animation scene references to an existing codebase. Legacy projects usually have established permission models, database fields, task states, and frontend rendering paths. New capabilities must work within these old constraints. The key risks include file type and size validation, tenant isolation of object storage paths, asset ownership checks, short-lived signed URLs, permission inheritance when a scene references an asset, deletion and retention policies, and rollback on failure.
The second task provides only study materials and a product requirements document, and asks the model to build a completable learning game from scratch. It requires the model to extract content from the materials, design levels, create questions and answer validation, store progress, manage state transitions, determine completion, and write basic tests. The task looks like a product task, but it really tests whether the model can turn unstructured material into an executable structure. The model must decide how to divide knowledge points into chapters, how to write questions without ambiguity, how to persist progress, and how to cover exception paths.
3. What This Upgrade Improves Over the Previous Generation
Technically, this kind of upgrade usually does not replace the base model. Instead, it scales long-horizon task environments during post-training. The environments become more varied, training runs longer, and task chains resemble real engineering work more closely. The gains appear in three areas. Coding ability puts more weight on long-horizon, production-grade software engineering. Security ability extends from generating code to white-box code review and vulnerability reasoning. On basic security tasks, the model approaches frontier models, but it still falls short in reasoning about complete exploit chains.
This builds on the previous generation. The previous generation could already work persistently in multi-package repositories and handle features that span frontend and backend. The new generation must go further. It must not only make changes, but make them sustainably, stably, and verifiably. Engineering evaluation, however, cannot rely on capability claims alone. It must be tested against specific projects. The questions are whether the model understands the existing system, whether it can complete tasks within security constraints, and whether it leaves gaps in acceptance even after tests pass.
4. Project One: Performance and Problems in Old-System Import and Animation References
In this project, the tested model quickly mapped the asset tables, permission tables, scene configuration, and frontend reference paths in the existing code. It proposed a phased plan: first define the data contracts, then build the import interface, then add scene references, and finally write tests. It recognized key constraints such as “assets must be isolated by tenant” and “scene references must not bypass asset ownership,” and it kept field names and state transitions largely consistent across modules. The task ran end to end, which shows that the model has strong long-horizon execution.
Manual acceptance, however, exposed a P1-level permission isolation problem. One query path built an asset address without checking again whether the current user had permission to access that asset, which created a risk of unauthorized reads. The issue was not that the code failed to run. Rather, the tests passed while the security boundary was incomplete. The model can complete functional closure, but that does not mean it completes security closure. Changes that involve permissions need separate security acceptance. Passing functional tests is not enough.
A reusable permission check pseudocode looks like this:
function importImage(user, file, scene):assert user.authenticatedassert file.mime in ALLOWED_IMAGE_TYPESassert file.size <= MAX_SIZEif not policy.can(user, "asset:import", tenant=user.tenantId):raise ForbiddenobjectKey = buildTenantScopedKey(user.tenantId, user.id, hash(file))stored = storage.put(objectKey, file, acl="private")record = db.insertAsset(owner=user.id,tenant=user.tenantId,key=objectKey,scene=scene)return signedUrl(record, ttl=SHORT_TTL)function resolveSceneAsset(user, scene, assetId):asset = db.getAsset(assetId)assert asset.tenantId == user.tenantIdif not policy.can(user, "asset:read", asset=asset):raise Forbiddenreturn signedUrl(asset, ttl=SHORT_TTL)
The point of this pseudocode is not the interface names. It is three principles. Import uses tenant-scoped storage keys. Reads check ownership and policy again. Output addresses use short-lived signed URLs rather than public addresses. Manual acceptance should center on these principles and design negative test cases around them, such as cross-tenant reads, expired signatures, forged asset IDs, and unauthorized scene references.
5. Project Two: How Completely the Model Delivers a Learning Game from Materials
The second project is closer to building a product from zero. The tested model extracted chapters and knowledge points from the study materials. It then followed the product requirements document to break the work into levels, questions, answer validation, progress storage, and completion status. It also produced a basic frontend and backend structure. It did more than generate pages. It turned “completable” into a state machine: not started, in progress, submitted, evaluated, completed, and rolled back after an error. For answers, it also designed standardized validation and fault-tolerance strategies, which avoided a purely static display.
The value of this project lies in checking completeness. The questions are whether the material analysis is accurate, whether the questions can be solved, whether progress can be restored, and whether completion logic can be tested. In this kind of task, the model showed strong task decomposition. It converted unstructured material into executable modules and kept moving the project to a runnable state. Still, humans must check question ambiguity, answer boundaries, and exception paths. “Completable” cannot rest on the main flow alone. Automated tests must cover failed submissions, repeated submissions, corrupted progress, and revisits after completion.
6. Exposed Problems: Permission Isolation and Acceptance Gaps
The P1 problem in the first project shows that the main risk of long-horizon coding models is rarely “cannot write the code.” The bigger risk is that boundary conditions get hidden behind the main functional path. The model may implement import and reference correctly but miss a second authorization check on one query path. It may pass main-flow tests without covering negative scenarios such as cross-tenant access, unauthorized access, expiration, and replay. A fully green test suite shows only that the known cases pass. It does not show that the security constraints are complete.
Real projects should therefore move security gates earlier instead of leaving them to manual acceptance. At least four gates are recommended. A contract gate checks data models and permission fields in interfaces. A static gate checks whether sensitive queries lack policy checks. A test gate requires negative cases that cover unauthorized access and isolation. A manual gate has a person familiar with the business and its security make the final acceptance decision. The model can help generate checklists and test cases, but it cannot take over final responsibility.
7. An Engineering Method for Human-AI Collaboration
To let a long-horizon coding model take part reliably in real projects, use the approach “task slicing, contract first, security gates, and observable verification.” Task slicing breaks a large goal into small closed loops that can be verified. After each loop, run tests and record the differences. Contract first means fixing the data models, interface boundaries, and permission policies before the model fills in the implementation. Security gates make permissions, input validation, tenant isolation, and sensitive output mandatory checks. Observable verification requires the model to provide logs, error codes, and rollback notes that help humans locate problems.
For developers, the most practical question is not “Can the model finish everything in one pass?” It is “Can the model leave acceptance evidence at each step?” For example, require it to output a change summary, test commands, negative test cases, and a risk list together. Even if the model misses a security boundary, a human reviewer can then find the gap quickly during acceptance, rather than discovering it after release.
8. Evaluation Conclusion and Limits of Use
Taken together, the two projects support a balanced conclusion. This class of long-horizon coding models is already valuable for real-project testing. It is especially suited to cross-module, long-chain coding tasks that must keep moving until the result runs. It can read complex context, keep the task on course, fill gaps between frontend and backend and state transitions, and bring results to a testable state. Compared with leaderboard scores alone, performance on real projects gives a more useful reference.
Its limits are equally clear. Permissions, security, and final acceptance cannot be delegated. Passing tests is a necessary condition for delivery, not a sufficient one. A working feature is only part of engineering closure, not security closure. For projects involving permission isolation, sensitive data, asset references, and final delivery, human security review and acceptance responsibility must remain in place. A reasonable position is for the model to carry the main load of long-horizon coding, while humans own the security boundaries, acceptance criteria, and final responsibility. This approach improves development efficiency and keeps risk within acceptable limits.
