Hands-On Testing of Long-Horizon Coding: What AI Coding Tools Can and Cannot Deliver

    This article reports on a hands-on evaluation of long-horizon coding with a new generation of AI coding tools. Instead of relying on benchmark scores, the test used two contrasting tasks—adding a secure image import feature to a legacy system and building a learning app from scratch—to expose capability boundaries. It explains why the latest gains come mainly from scaled post-training rather than a new base model, why "all tests passing" still does not mean a feature is ready to ship, and how to position these tools in real projects while keeping security and final acceptance in human hands.

    1. The Conclusion First

    The new generation of AI coding tools keeps pushing the ceiling of “long-horizon coding” higher. When judging their value, benchmark scores are only a reference. What matters more is stability on long tasks: whether the tool can read a large body of existing context, keep driving cross-module changes forward, and bring a task to a “runnable and testable” state.

    But there is still a clear gap before “all tests green means safe to deliver.” In an older project carrying historical baggage and security constraints, the tool completed the functional loop, yet manual acceptance exposed a P1-level permission isolation defect. In a scenario that required building a learning app able to be fully completed from zero, it also ran through the whole flow, but product details still needed manual polishing.

    So a more pragmatic positioning is this: these tools are already worth trying in real projects, especially for long-chain coding. But once permissions, security, and final acceptance are involved, humans cannot let go.

    2. Evaluation Design: Two Contrasting Tasks to Draw the Capability Boundary

    A single task easily leads to a one-sided conclusion, so this test deliberately picked two tasks of very different nature.

    • Task A (legacy system modification): In a project with a large amount of historical code, add the capability of “securely importing user image assets and referencing them in animation scenarios.” It tests understanding of the old system, respect for existing conventions, and the ability to implement security constraints.
    • Task B (product delivery from zero): Given only a set of learning material and a requirements document, implement from scratch a knowledge-learning app that can genuinely be completed. It tests completeness, from material analysis and information architecture to a closed product loop.

    One leans toward “modification under constraints,” the other toward “construction in a blank space.” Combining them reflects more truthfully how the tool performs on long tasks.

    3. How to View the Generational Difference Correctly: Same Base, Post-Training Scaling

    To evaluate an upgrade, first identify which layer changed. This round did not replace the base model; it still uses the same ultra-large-parameter base as the previous generation. The main gains come from scaled expansion in the post-training stage: the long-horizon task environment scale grew to dozens of times the previous level, environment types became more diverse, and training time increased significantly.

    The official summary groups the changes into three directions:

    1. Coding capability: emphasis on long-horizon tasks and “production-grade software engineering,” staying open-source leading across multiple terminal and software-engineering evaluations;
    2. Security capability: extending from “generating code” to white-box code review and vulnerability reasoning, approaching frontier closed-source levels on basic security tasks, but still behind in full exploit-chain scenarios;
    3. Open strategy: full weights will be released after security assessment and model hardening are complete, making self-deployment, verification, and further improvement easier.

    Understanding this matters: the capability gains come mainly from “more complex environments and longer tasks,” not a base model change. This determines that its strengths concentrate on long-chain execution rather than single-point inspiration.

    4. Task A Results: In Legacy Modification, “Runs” and “Deliverable” Are Two Different Things

    In a legacy project, the real difficulty is not writing new code but reading old conventions. Historical code often contains implicit rules: directory responsibilities, data flow, error-handling habits, permission boundaries. The tool must first build a “map” in the repository, then act.

    In this modification, it completed the loop of the asset import chain and animation-scenario referencing. Interfaces, data structures, and frontend calls were basically self-consistent, and the project could start and run the main flow. This shows it can work continuously within an existing code structure.

    The problem appeared at acceptance: asset import involves user-controllable input and access boundaries. Manual review found a P1-level defect in permission isolation—resource visibility across different user contexts was not strictly constrained. Such issues usually do not crash the program and are not caught by routine test cases, yet they are red lines that must be cleared before release.

    One lesson follows: for features involving input, storage, and access control, “security acceptance” must be a separate stage, not an appendage to functional testing.

    A minimal least-privilege check sketch:

    1. request enters
    2. -> parse identity and tenant context
    3. -> verify resource ownership (owner/scope must match)
    4. -> verify file type, size, and content characteristics
    5. -> store (separate scope + non-guessable identifier)
    6. -> return controlled access URL (with expiry and signature)

    The key is that “ownership verification precedes resource access,” and the access URL should not become a channel to bypass verification.

    5. Task B Results: Building from Zero Tests “Completeness” More Than “Code Volume”

    Building a learning app that can be completed from zero is hard because it means turning a piece of material into a playable, verifiable loop. It requires material extraction, knowledge-point layering, level and judgment rule design, state persistence, and completion-condition checks.

    In the test, the tool built a complete skeleton from the requirements document and connected “learn—practice—judge—clear,” so the project ran and could be completed. This reflects strong productization: not just piling up features, but organizing implementation around the target state.

    But being completable does not mean the experience is acceptable. After manual playtesting, the question difficulty curve, feedback copy, and retry path on failure were still stiff—parts that need product judgment. This again confirms that the tool is good at setting up structure, while value judgment still needs humans.

    A simplified completion-check sketch:

    1. state = { progress, unlocked, attempts }
    2. onAnswer(correct):
    3. progress += 1
    4. if progress >= threshold: unlocked += 1
    5. if unlocked == totalStages: status = "cleared"
    6. onAnswer(wrong):
    7. attempts += 1
    8. if attempts > limit: return toReview()

    Clear structure and testability are typical strengths of such generated results.

    6. Why “All Tests Green” Still Does Not Mean Deliverable

    Automated test coverage depends on test-case design, and test-case design depends on humans anticipating risk. Risks such as permission isolation, unauthorized access, and input abuse often fall outside the dimension of “is the feature correct.” Tool-generated cases lean toward the main flow and explicit requirements, with limited sensitivity to implicit security boundaries.

    So acceptance is best split into three layers:

    • Functional layer: whether the main flow and branch flows run;
    • Security layer: whether identity, ownership, input, storage, and access chains are constrained;
    • Product layer: whether experience, copy, difficulty, and maintainability meet the bar.

    Only when all three layers pass can delivery be discussed.

    7. Practical Advice: Use Long-Horizon Coding Tools in the Right Place

    • Prioritize cross-module, long-chain tasks with clear boundaries, such as connecting chains, structural refactoring, and filling in tests;
    • When permissions, encryption, auditing, and externally exposed surfaces are involved, mandate human security review;
    • Adopt small commits and staged acceptance, avoiding accepting a large batch of changes at once;
    • Have the tool output testable intermediate states, not just results that “look done”;
    • Combine with common cloud capabilities such as container platforms, logging services, and monitoring and alerting to standardize running and verification.

    8. Summary

    This generation of models pushes long-horizon coding to a level where it can enter real projects: it can read old systems, advance across modules, and build a runnable loop from zero. But its boundary is equally clear—security red lines and final value judgment still belong to humans. The rational approach is to treat it as a high-intensity executor while keeping risk control in human hands.