Long-Horizon Coding Capabilities and the Limits of Human Acceptance
This article examines why public benchmark scores are insufficient for evaluating coding models in real engineering work, and proposes four dimensions instead: context understanding, long-horizon execution, cross-module consistency, and delivery readiness. It uses two hands-on tests—adding secure image asset import with HTML animation scene references to a legacy project, and building a complete agent knowledge-learning game from scratch—to show that a new generation of models can sustain long, multi-module tasks in a monorepo, while a P1 permission-isolation flaw still surfaced only during manual acceptance. The conclusion is a practical division of labor: models handle scaffolding, cross-module changes, test coverage, and observability, while humans own threat modeling, permission matrix review, data classification, release gates, and final sign-off.
1. Why Benchmark Scores Are Not Enough
When assessing whether a code generation model is usable in real engineering, public evaluation scores capture only part of the picture. They typically measure single-point problem solving: given a clear input, produce a verifiable output. Real projects are harder because the task chain is long, the context goes stale, constraints remain implicit, and “done” means the system runs, can be tested, and can be delivered.
A more reasonable evaluation should cover four dimensions:
- Context understanding: can the model read existing code structure, historical conventions, and implicit norms?
- Long-horizon progress: after dozens of operations, does it stay aligned with the goal without drifting or forgetting?
- Cross-module consistency: can contracts, the data layer, task state, interfaces, the frontend, and the rendering pipeline stay aligned?
- Delivery readiness: does the output run, can it be tested, and does it satisfy security and permission constraints?
2. Observation Baseline: From “Can Change Features Across the Stack” to “Can Survive Long Tasks”
In earlier practice, a typical long-chain requirement was adding an animated video generation capability to an existing system. It spanned contract definition, database, task state machine, interface layer, background executor, web frontend, and renderer. The first implementation took about 1 hour 11 minutes, followed by roughly 1 hour 4 minutes of browser verification and defect fixing.
This shows that an earlier generation of tools could already work continuously in a monorepo and deliver features across frontend and backend. The improvement of the new generation should be understood against that baseline: not “from cannot to can,” but “from can get it done to can endure longer, messier, more constrained tasks.”
According to the publicly described upgrade approach, this round of improvement comes mainly from scaling the post-training stage. The base model was not replaced; the same scale of base model (around 753B parameters) is still used, while the long-horizon task environment was expanded by roughly tens of times, with more environment types and a significantly longer training duration. The official summary groups the changes into three directions:
- Coding: emphasis on long-horizon and production-grade software engineering, staying in the open-source lead on several terminal and software engineering evaluations.
- Security: extending from “writing code” to white-box review and vulnerability reasoning; basic security tasks approach frontier closed-source levels, but complete exploitation chains still show a gap.
- Open source: weights will be released after security evaluation and hardening, making self-deployment, self-verification, and further improvement easier.
3. Test Design: Two Tasks, Two Kinds of Pressure
To verify “long-horizon coding” and “security boundaries” separately, two very different tasks can be designed.
Task A: Add “Secure Image Asset Import + HTML Animation Scene Reference” to a Legacy Project
The key to this task is legacy baggage and security constraints: inconsistent old code style, missing tests, untrusted input, and file types and paths that can all become attack surfaces.
Suggested acceptance criteria:
- Allow only whitelisted image types, and validate the real file header rather than the extension- Rewrite filenames; never let user input directly participate in the on-disk path- Separate storage from reads; serve assets through a controlled access path- Animation scene references accept only structured identifiers, not arbitrary HTML injection- The full flow has repeatable automated tests and failure rollback
Task B: Build a Fully Completable “Agent Knowledge Learning Game” From Scratch
Only a learning resource and a product requirements document are provided, and everything from content extraction and level design to a playable closed loop must be delivered. This task tests completeness from information analysis to product delivery: requirement breakdown, state machine design, question bank structure, progress persistence, completion判定, and playability verification.
4. Findings: Long-Horizon Usability, but Acceptance Cannot Be Hands-Off
Both tasks ran through in the end, but during manual acceptance the legacy project exposed a P1 permission-isolation defect: the asset access path did not strictly distinguish resource ownership, creating a risk of unauthorized reads. Such problems often do not appear as “feature failures”—tests can be all green and the flaw still exists. They can only be caught by manually checking item by item against a threat model.
The conclusion therefore has two layers:
- Capability layer: the new generation model is worth testing on real projects, especially for long-horizon coding and cross-module changes.
- Responsibility layer: when it comes to permissions, security, and final acceptance, humans cannot let go.
5. Turning the Conclusion Into Process: A Practical Human-Machine Division of Labor
- Let the model handle: scaffolding, cross-module changes, filling in tests, wiring logs and observability, and repeated defect fixes.
- Let humans handle: threat modeling, permission matrix review, data classification, release gates, and final sign-off.
- Enforce gates: turn “unauthorized access, injection, path traversal, sensitive data written to disk” into automated checks that run in parallel with functional tests.
- Review mechanism: record where goal drift occurs in long tasks, and use it to improve prompts and task-splitting granularity.
Overall, the key to evaluating this kind of capability is not whether a single demo looks impressive, but whether it can progress steadily in real engineering that is constrained, stale, and long-chained—and whether it clearly hands responsibility for security and acceptance back to humans.
