Wish-Style Coding: How Far Are We From Turning a One-Sentence Prompt Into a Complete Project?

    "Wish-style coding"—where a developer describes a requirement in one or two sentences and a large language model builds a complete, runnable project from scratch—is moving from marketing buzzword toward engineering reality. This article breaks down the technical foundations behind recent progress in code-generation models, including self-feedback reinforcement learning, multi-file consistency challenges, benchmark scores versus real-world capability, Pareto improvements in cost and performance, and newly opened Search and Fetch APIs for coding agents. It closes with practical recommendations for developers and teams evaluating these capabilities.

    Chinese large language models have been iterating rapidly on coding capabilities, and the term “wish-style coding” (许愿式编程) has started appearing frequently in developer communities. It refers to a workflow where users describe their needs in just one or two sentences, and the model builds a structurally complete, directly runnable project from scratch—a web-based mini-game, a 3D scene, or even an independent game that recreates a classic gameplay formula.

    It sounds like marketing hype, but if we unpack the technical details behind the most recent model update, there is real engineering logic worth discussing.

    What Is “Wish-Style Coding,” and How Does It Differ From Ordinary Code Generation?

    Traditional AI code completion solves a problem of local correctness: given a function signature, complete the function body; given an error message, suggest a fix. These tasks are characterized by short context, a single objective, and easy verification.

    “Wish-style coding,” by contrast, demands global construction capability, which involves at least four layers of challenges:

    1. Requirement understanding: Decompose a vague natural-language request into functional modules and technology choices.
    2. Architecture design: Decide on the directory structure, module boundaries, state management approach, and dependency relationships.
    3. Multi-file coordinated generation: Keep interfaces consistent across dozens of files, avoiding problems like “file A calls a method that doesn’t exist in file B.”
    4. Runtime self-consistency: The generated project must compile, start up, and pass basic interaction checks.

    The third and fourth layers have historically been the weakest areas for code models. No matter how good single-file generation gets, error rates climb steeply once tasks expand to multi-file projects. This is why “building a complete project from zero” is regarded as a key benchmark for the upper limit of a model’s coding ability.

    Self-Feedback Reinforcement Learning: Teaching the Model to Verify Its Own Code

    The official update notes that the model was trained using Self-Feedback Reinforcement Learning (SFRL). The idea is not new to the industry, but it carries particular engineering value in the coding domain. The core pipeline can be summarized as follows:

    • The model generates a piece of code or a project skeleton;
    • The training pipeline actually executes it in a sandbox environment (compilation, running, test cases);
    • Execution results—whether it compiles, test pass rates, runtime exception messages—are fed back as reward signals;
    • The model iterates on its policy based on this feedback, learning to avoid code that “looks right but doesn’t run” at generation time.

    Compared with training approaches that rely solely on human-annotated preferences, using executable results as the judge has clear advantages: the reward signal is objective, scalable, and hard to fool with superficial fluency. There is broad industry consensus that code is one of the domains best suited to reinforcement learning, because it comes with a naturally automatable verification environment. This also helps explain why coding capability has improved faster than most other vertical tasks over the past two years.

    Reading Benchmarks Rationally: Breakthroughs in Some Areas, Gaps in Others

    Public evaluation data shows significant gains on two coding-related benchmarks in this update: one focused on real-world software engineering tasks rose from 74.2 to 77.0, while another measuring comprehensive terminal-based coding ability jumped from 31.2 to 42.3—an 11-point gain in a single release cycle, which is quite rare.

    However, widening the lens to the full set of more than ten benchmarks reveals a record of roughly 4 wins and 7 losses against international flagship models, with clear gaps remaining in extremely hard reasoning, terminal tasks, and competitive programming. Two reminders for readers:

    1. Don’t define a model by a single benchmark score. Coding, math, and knowledge QA benchmarks measure completely different capability dimensions. When choosing a model, base your decision on small-scale evaluations using your own real business tasks.
    2. Watch the rate of improvement, not just absolute values. A model that is closing the gap with flagship models quickly in coding—and costs less—often delivers better value for a large volume of medium-difficulty engineering tasks than a top-tier flagship.

    Pareto Improvement: Why “Stronger and Cheaper” Is the Key Signal

    The most noteworthy aspect of this update may not be the benchmark scores at all, but the relationship between performance and cost. At the same inference tier, the average cost per task dropped from just over 3 RMB to just over 1 RMB—a reduction of more than half—while task success rates continued to rise. In economics, a situation where one metric improves and no metric gets worse is called a Pareto improvement.

    Translated into engineering terms, this means users no longer need to make trade-offs:

    • Cost-sensitive batch tasks (such as large-scale code migration or unit test generation) benefit directly from the halved price;
    • Quality-sensitive core tasks (such as architecture generation or complex refactoring) benefit from the capability gains;
    • Latency-sensitive interactive scenarios benefit from optimized inference efficiency and faster responses.

    For enterprise users, this kind of improvement often matters more than leaderboard rankings. Suppose a team makes 100,000 code-generation API calls per day: halving the per-call cost means the same budget can now extend AI assistance to long-tail scenarios that were previously “too expensive to justify,” such as adding comments to legacy code or automatically generating review comments for every pull request.

    Search and Fetch APIs: Filling In the Infrastructure for the Agent Ecosystem

    Another easily overlooked update is that Search and Fetch APIs have been opened up, with limited-time free server-side search calls available in mainstream AI coding terminals. The strategic significance is substantial:

    The typical working loop of a modern Coding Agent includes several stages: retrieve reference material → read documentation → generate code → execute and verify → fix and iterate. Without native web retrieval, an agent depends on users manually pasting in documentation snippets, which severely limits efficiency. With Search and Fetch built in as standard capabilities, the model can automatically consult the latest API documentation, dependency versions, and best practices before generating code—significantly reducing high-frequency errors like “using an outdated interface.”

    From an architecture standpoint, the common design pattern for this capability looks like this:

    1. Agent loop:
    2. 1. Parse the task → decide whether external information is needed
    3. 2. Call Search to get relevant documentation links
    4. 3. Call Fetch to retrieve page content and extract key passages
    5. 4. Generate code based on retrieval results
    6. 5. Execute in a sandbox → on failure, return to step 2 with the error message

    Regardless of which vendor’s model sits underneath, this “retrieval augmentation + execution feedback” loop has become the de facto standard paradigm for coding agents.

    Recommendations for Developers and Teams

    Based on the analysis above, here are a few actionable suggestions:

    1. Run scenario-specific evaluations first. Pick 20–50 real tasks from your team and compare candidate models head-to-head with consistent prompts, measuring pass rates, cost, and latency—rather than relying solely on public leaderboards.
    2. Leverage low-cost tiers for pipeline integration. With per-call cost now in the “single-digit RMB” range, embedding the model into CI pipelines for automated unit test generation and code style checks offers a compelling return on investment.
    3. Keep realistic expectations about “one-click” generation. Generating complete projects from short prompts works well for prototype validation, creative exploration, and teaching demos; production-grade systems still require human involvement in architecture review, security auditing, and test coverage.
    4. Pay attention to search and tool-calling capabilities. When building internal agents, prioritize validating how well the model works with retrieval and execution environments—this often affects final results more than the model’s raw benchmark scores.

    Conclusion

    “Wish-style coding” is not magic. It is the engineering result of stacking three things: self-feedback reinforcement learning, execution-based verification at scale, and inference cost optimization. When capability gains and cost reductions happen simultaneously—that is, when a Pareto improvement is achieved—AI coding genuinely transitions from an “experimental toy” to a “production tool.” For developers, the best strategy is not to debate which model is strongest, but to integrate these capabilities into your own workflow as soon as possible and validate their value with real tasks.