arXiv(opens in a new tab)cs.AIOct 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2610.10478

Before They Can Solve: Predicting Post-Training Coding-Agent Performance from Base Models

Tan Yu, Alexander Bukharin, Khushi Bhardwaj, Jennifer Williams, Zirui Liu, Jonathan Lingjie Li, Soumye Singhal, Joseph Jennings, Sanjeev Satheesh, Yash Jain, Ashish Vaswani, Venkat Krishna Srinivasan, Matthew Papakipos, Hyunwoo Kim, Jian Zhang, Oleksii Kuchaiev, Markus Kliegl, Mostofa Patwary, Mohammad Shoeybi, Bryan Catanzaro, Jonathan Cohen, Jiantao Jiao

Tan Yu 1^{1} Alexander Bukharin 1^{1} Khushi Bhardwaj 1^{1} Jennifer Williams 1^{1} Zirui Liu 1,2^{1,2}

Jonathan Lingjie Li 1^{1} Soumye Singhal 1^{1} Joseph Jennings 1^{1} Sanjeev Satheesh 1^{1} Yash Jain 1^{1}

Ashish Vaswani 1^{1} Venkat Krishna Srinivasan 1^{1} Matthew Papakipos 1^{1} Hyunwoo Kim 1^{1}

Jian Zhang 1^{1} Oleksii Kuchaiev 1^{1} Markus Kliegl 1^{1} Mostofa Patwary 1^{1} Mohammad Shoeybi 1^{1}

Bryan Catanzaro 1^{1} Jonathan Cohen 1^{1} Jiantao Jiao 1,3,†^{1,3,\dagger}

1^{1}NVIDIA 2^{2}University of Minnesota – Twin Cities 3^{3}University of California, Berkeley

†^{\dagger}Corresponding Author: jiantaoj@nvidia.com

How can we predict which base checkpoint is worth an expensive round of agentic post-training? End-to-end pass@K tests whether successful behavior already appears in a base model's distribution, but it is a poor fit for agentic coding: many base checkpoints cannot reliably produce the well-formed tool invocation required to complete a task end-to-end. Single-shot or short-horizon tasks avoid these tool-calling failures by collapsing a multi-step interaction into a fixed prompt and a single patch, but they sidestep the core capability we care about: maintaining coherent state over many tool-using steps as the repository evolves. To bridge this gap, we treat successful post-trained agent trajectories as a lookahead signal of base-model potential. Replaying each trajectory and rerunning tests after every code-changing step identifies the decisive step: the first step whose cumulative patch flips the repository from failing to passing, certifying that the recorded action solves the task given the prior context. Motivated by a coverage principle for agentic traces, we build three screens at this step that do not require a base checkpoint to drive the harness from a cold start: (i) Decisive-Action BPB (bits per byte) measures the probability mass on the certified action, (ii) Patch MCQ tests the checkpoint's choice between that action and alternatives rejected by the same verifier, and (iii) prefix-conditioned pass@K evaluates support for functionally-correct generations and credits any continuation that the tests accept. Across ten pairs of public base and post-trained models, all three screens rank the cohort in close agreement with post-trained SWE-bench Verified pass@1. As our methods need only a benchmark's successful trajectories and its verifier, they can be applied to turn future agentic coding benchmarks into base-model evaluations.

1. Introduction

Choosing a base checkpoint to post-train is a high-stakes decision made before its agentic capabilities can be fully realized. Revealing these capabilities requires substantial investment in compute, engineering, and evaluation, all of which comes only after the checkpoint has been chosen.

Existing evaluations fail to address this problem for opposite reasons. End-to-end agentic coding benchmarks such as SWE-bench Verified (Jimenez et al., 2024; OpenAI, 2024) are too demanding for base checkpoints: pass@K remains near zero because untuned base models fail to operate tool-use harnesses (Appendix F). Non-agentic coding benchmarks exercise isolated coding capabilities, but do not test sustained interaction with an evolving repository, and their correlation with post-trained agentic performance is highly inconsistent. Across ten pairs of open-source base models and their eventual post-trained checkpoints, Spearman ρ\rho with post-trained SWE-Bench Verified pass@1 ranges from 0.830 on RepoBench XFirst to -0.394 on HumanEval (Appendix E). In short, current evaluations are either too agentic to run or not agentic enough to predict downstream performance.

In this paper, we address the question at the heart of this problem: how can we evaluate agentic

© 2026 NVIDIA. All rights reserved.

Replay and test: Find the decisive step for a successful agentic trajectory

Figure

Rank base checkpoints by three probes based on decisive step with real harness context (test task, trajectory prefix, and environment state at T∗T^{*})

Decisive-Action

Bits Per Byte (BPB)

=NLL(y∗)/∣Bytes∣= NLL(y^{*}) / |Bytes|

Figure

Lower BPB

= More probability mass

on correct action

Patch MCQ

Select the

golden action at T∗T^{*}

A

B

C

Higher Accuracy

= Better near-miss

discrimination

Prefix-conditioned

Pass@K

Sample K continuations

at T∗T^{*} from the prefix

Continuation 1

Continuation 2

Continuation 3

Higher Pass@K

= More

coverage from samples

Figure 1 | A unified agentic trajectory-derived probing framework. By replaying a coding-agent trajectory on a coding task against the task's own verifier V, we locate the decisive step T∗T^{*}, the earliest step whose cumulative patch resolves the task. At this decisive step, (i) Decisive-Action BPB measures the byte-normalized likelihood which a base model assigns to the golden action; (ii) Patch MCQ evaluates base model's capability of differentiating the golden action from non-resolving alternatives; (iii) Prefix-conditioned pass@K measures a base model's empirical success rate under sampling: it draws K continuations from T∗T^{*} and lets the task's own verifier V judge them.

coding potential without requiring the base checkpoint to already behave like an agent? To answer this question, we build on the coverage principle: a promising base checkpoint should retain probability mass on behaviors that post-training may later select, rather than merely maximizing average correctness or conforming to today's agent protocol (Chen et al., 2026; Yue et al., 2026). Agentic trajectories from frontier models on existing agentic coding benchmarks are a natural source for such desirable behaviors; an important follow-up is therefore where in an agentic trajectory to probe that probability mass. We let the verifier of the original agentic coding task decide.

For each step in a frontier post-trained LLM's successful trajectory for an agentic coding task, we reconstruct the cumulative environment state and run the task's tests at that state. This identifies the decisive step T∗T^{*}, i.e., the first step at which the verifier accepts the solution, as visualized in Figure 1. The action taken at that step is our golden action: conditioned on the preceding trajectory, executing it resolves the task, while the state immediately before it does not. Unlike the benchmark's gold patch (i.e., the human-written reference fix), this is an action produced by a real coding agent and certified by the same verifier that defines task success.

At T∗T^{*}, we construct three complementary probes as visualized in Figure 1. Decisive-Action BPB asks an absolute question: how much probability mass does a checkpoint assign to the golden action? Patch MCQ asks a comparative question: can a checkpoint distinguish that action from plausible alternatives rejected by the verifier? Prefix-conditioned pass@K asks a generative one: given the same trajectory prefix, can a checkpoint produce a continuation that passes the verifier? The three probes each answer a distinct, interpretable question about model behavior while holding the same agentic context and success criterion fixed. We validate them both by their aggregate correlation with post-trained agentic performance and by whether they correctly order individual checkpoint pairs by that same performance.

Our contributions are three-fold:

• A framework for converting agentic coding benchmark into base-checkpoint evaluations. We start from successful trajectories on an agentic benchmark, replay them, and run the task's tests after every code-changing step. The first step where tests pass is the decisive step: the action taken at that step becomes the golden action, and alternative edits attempted at the same point but rejected by the verifier become distractors. Each task yields (i) trajectory context until the decisive step (ii) a golden action (iii) distractors and (iv) an interactive, restorable environment state with an executable task verifier. The construction is a generic recipe rather than a fixed test set: any current or future agentic coding benchmark can be converted into a base-model evaluation.

  • Two static decision-point probes. Decisive-Action BPB scores the base model by the likelihood it assigns to the golden action, whereas Patch MCQ scores a checkpoint by its choice among the verifier-certified golden action and the rejected distractors.

• A dynamic continuation probe. Prefix-conditioned pass@K samples k continuations from the decisive step and verifies each with the task's own tests; any edit that passes is accepted.

Across ten base checkpoints, all three probes produce rankings in close agreement with the ranking by post-trained performance on SWE-bench Verified. Decisive-Action BPB reaches Spearman ρ=0.964\rho = 0.964 on held-out trajectories from DeepSWE (Huang et al., 2026), a separate agentic coding benchmark. Patch MCQ reaches ρ=0.903\rho = 0.903 and prefix-conditioned pass@K at K = 16 reaches ρ=0.988\rho = 0.988 on trajectories drawn from SWE-bench Verified itself. Together, these results support our method of probing base checkpoints at verifier-certified decision points in real agent trajectories.

References (43)