Two attempts at the same task can both pass the verifier and still be very different experiences for the person waiting on them. Users feel slow, costly answers even when they're right. A pair of correct traces can show a model the cheaper path.
Same task, both pass
Hypothetical. Two attempts on the same task with a matched checkpoint, harness, reset, tools and budgets:
| Attempt A | Attempt B | |
|---|---|---|
| Tokens used | 45,000 | 20,000 |
| Seconds to finish | 120 | 70 |
| Tool calls | 30 | 14 |
Both attempts produce a verified correct result. Attempt B uses about 56% fewer tokens; that rounded figure applies to tokens only. A pass/fail reward alone treats the two attempts identically.
Gate on correctness first
Efficiency only counts after the task succeeds and every action was authorized. Nothing is rewarded for being cheap if it's wrong. The gate is task success from the independent verifier; only then do efficiency signals apply.
That ordering matters. A model rewarded for brevity without a correctness gate learns to stop early. The deliverable is a correctness-gated efficiency preference pair, with the scored trajectories behind it.
What to measure
The preference pair uses two passing attempts. The cohort report also includes failures, so repeated costly misses stay visible in the total cost per success:
- Tokens per successful attempt. Usage for the attempts that passed.
- Total tokens per success. Token usage across all valid attempts, divided by successes. Undefined when there are zero successes.
- Cost per success. Valid-run cost and all-in cost, including infrastructure, reported separately.
- Time. Wall-clock time and time to first useful action, with model and tool latency separated.
- Tool calls. Legitimate retries counted apart from redundant calls, errors and timeouts.
- Recovery and coverage. Recoveries out of recoverable failures, with missing usage marked unknown.
Your researchers choose which signals matter, and the budgets that count as too slow or too costly.
From diagnosis to data
A diagnostic study starts from a versioned single-model contract: model, harness, tools, budgets, permitted inputs and exports. It selects a diagnostic cohort, collects clean-start baseline rollouts, classifies failure and efficiency events, manufactures targeted data, and offers a matched held-out retest after you train.
We analyze observable behavior. Training-loss analysis requires telemetry only you hold. To inspect a recorded agent run step by step yourself, Tool Call Replay turns a recorded tool-call trace into an offline pytest regression.
Scope a diagnostic cohort for your checkpoint and harness.
