Beyond the Model: How Execution Frameworks Reshape Coding Benchmarks

    Understanding AI coding capability as "model + execution framework" rather than "a stronger model" changes how we evaluate it. This article explains why bare-model scores miss real-world delivery ability, breaks down the six capabilities of an execution framework (perception, action, workbench, memory, process, and orchestration), shows why model rankings reverse across frameworks, and offers concrete practices for building comparable benchmarks and choosing frameworks in engineering teams.

    Beyond the Model: How Execution Frameworks Reshape Coding Benchmarks

    Once AI coding systems can autonomously modify repositories, run tests, and iterate on failures, scoring a model in isolation measures only how it performs under one particular working method—not its ceiling across all working methods. Only by reframing AI coding from “swap in a stronger model” to “choose a better model-plus-execution-framework combination” can evaluation results approach real delivery capability.

    Evaluate the Combination, Not the Bare Model

    The idea can be written as a plain equation:

    AI coding system = model + execution framework

    The model understands the problem, forms hypotheses about changes, generates patches, and explains them. The execution framework connects those judgments to a real engineering environment. It includes at least six categories of capability:

    • Perception: turning tickets, error messages, directories, and diffs into model-readable observations.
    • Action: opening files, searching symbols, applying patches, running tests, inspecting version diffs.
    • Workbench: constraining writable scope, installing dependencies, setting timeouts and sandboxing.
    • Memory: deciding which history, file summaries, and failure records to retain.
    • Process: prescribing the order—reproduce first, then locate, then modify, then verify.
    • Orchestration: deciding, under step, cost, and risk budgets, whether to keep exploring or stop and submit.

    With the same model, swapping in a different process can double the pass rate. Meanwhile, the ranking of two frameworks across different models may show almost no correlation: a retrieval and retry strategy that works best for one model can become noise for another. So “frameworks matter” is not precise enough. The more accurate statement is: frameworks and models interact strongly, and rankings do not transfer directly.

    The Framework Is Not a UI Shell

    Given a bug description, a model alone cannot close this loop: enter the repository, search by symbol and call relationships, read relevant files, form a minimal change, run the tests, read the failure, roll back or revise, and confirm via the diff that the problem is gone. Stringing these actions together—and deciding what to observe next upon failure—is the execution framework’s job.

    The framework affects the model not by “adding a few more buttons,” but by continuously rewriting what the model sees at each turn.

    Context Management

    The context window is a finite budget. History contains useful clues, but also stale hypotheses, repeated errors, and irrelevant files. Keeping the full trajectory crowds out the code that actually matters; trimming too aggressively makes the model forget already-excluded paths and repeat the same mistakes.

    In practice, effective approaches are layered rather than simple truncation:

    • Task goals, acceptance criteria, and current hypotheses are always retained.
    • Confirmed-irrelevant files keep only a one-line exclusion reason.
    • Test outputs keep failing assertions and key stack frames, dropping repeated logs.
    • Long early explorations are compressed into short notes: “tried, ruled out, pending verification.”

    Different models differ in sensitivity to long context, instruction placement, and noise. Some can distill key points from a messy trajectory; others get dragged along by early wrong assumptions. No single compression strategy is universally optimal.

    Code Acquisition

    Most consumption does not happen when writing the final patch, but during reading, locating, and exploring. In public discussions, read-type operations often account for the majority of total token consumption. This means “how the model acquires context” is itself part of the capability—not an irrelevant preparatory step before evaluation.

    Retrieval must answer at least four questions: look at entry points first or tests first; search by filename, symbol, call chain, or semantic similarity; provide whole files or function-level snippets; and after a failure, widen the scope or narrow to the vicinity of the diff. Too broad, and the model patches irrelevant modules; too narrow, and it misses cross-file root causes.

    An illustrative observation budget can be written as a strategy rather than hard-coding one vendor’s parameters:

    1. Observation budget:
    2. Round 1: task description + failing tests + symbols of direct dependencies
    3. If the failure relates to types or interfaces: extend to definitions and callers
    4. If the failure relates to data or configuration: extend to samples, configs, and construction paths
    5. Cap new files per round, and record why each file was opened

    Action Loop and Verification

    Writing the code is not the end. The framework must feed test results, static checks, and diffs back as the next round’s input, and prevent meaningless retries: a command failing repeatedly should trigger a strategy change, not another identical run; a patch that turns more tests red should be rolled back; timeouts, permission errors, and environment pollution should be logged separately from business-logic failures. Without this layer, the model’s “intelligence” cannot convert into a submittable change.

    Why Rankings Can Completely Flip

    The interaction comes from several kinds of mismatch—not because frameworks have an absolute ranking.

    • Different exploration styles. Some models suit “read a little, verify often”; others suit “form a complete hypothesis before cutting.” Put the latter into a frequently interrupted loop and it loses its plan; put the former into a process that dumps many files at once and it jumps to conclusions.
    • Different instruction-following. Strict process prompts help models that follow steps carefully, but are redundant for models that have already internalized similar processes—and may even crowd out code context.
    • Different error recovery. Some models can locate a bug from a stack trace alone; others need the framework to first classify the failure as “compile, assertion, environment, or permission.”
    • Different stopping conditions. Submitting too early misses the correct patch; exploring too long fails on cost and step budgets. The optimal stopping point varies by model.

    So in cross-model comparisons: if each model uses its own best-tuned framework, you are comparing combination ceilings; if all models share one framework, you are comparing relative performance under that working method. Both numbers are meaningful—but they must not be merged into a single leaderboard.

    How to Make Evaluation Comparable

    Record each run as a complete configuration, not just a model name.

    • Fix the task set, starting repository, test commands, time and step limits, and the allowed toolset.
    • State the framework version explicitly: retrieval strategy, context compression, retry and rollback rules.
    • Report not just pass rate, but average steps, read-to-edit consumption ratio, ineffective retry count, and newly introduced failures.
    • Run ablations: swap only retrieval, only compression, or only the verification loop—avoid treating the whole framework as one black-box conclusion.
    • Re-test with at least two models of clearly different capability styles. If the ranking flips, write the conclusion as a “matching relationship,” not “Framework A is stronger.”

    Pass rate is only an outcome metric. A high read ratio indicates high localization cost; many edits with tests stuck red indicates problems in hypothesis generation or verification feedback; large diffs that change only a few correct lines indicate the framework fails to constrain the modification scope. These process metrics are often more actionable than another fraction of a percent in pass rate.

    Choosing and Evolving a Framework in Practice

    When deploying, do not start by chasing “the strongest model with the fullest toolset.” First make the loop stable.

    1. Define acceptance first: which tests must go green, which files may change, and who stops the run on failure.
    2. Tighten observations: by default, provide only the failing tests, relevant symbols, and direct callers; expand by failure type.
    3. Write memory as state, not an endlessly growing conversation. The state keeps the goal, current hypotheses, excluded paths, and the latest diff.
    4. Normalize tool outputs: truncate long logs to key sections; separate environment errors from assertion failures.
    5. Set budgets: stop and hand off to a human when step counts, repeated commands, or consecutive no-progress rounds hit their limits.
    6. Run framework regressions on small tasks. Whenever the framework changes, re-measure both pass rate and cost for older models—avoid improvements that only look good on the newest model.

    Teams should also treat the framework as versioned software: strategies, prompts, compression rules, and tool permissions must all be traceable. Otherwise, when production performance fluctuates, you cannot tell whether it was a model update, a repository change, or a bias introduced by some “retrieval optimization.”

    Conclusion

    The model determines how deep the thinking can go; the execution framework determines whether those thoughts see the right code, use the right tools, remember the effective history, and converge under test feedback. The proper unit of evaluation for AI coding is the combination. Context, retrieval, and the verification loop are components of capability, not outer decoration. The near-zero correlation in rankings is precisely the signal to match working methods to specific models, and to constrain conclusions with fixed configurations, process metrics, and cross-model re-testing. Only then can evaluation guide engineering trade-offs, instead of producing yet another unreproducible leaderboard.