Evaluating Agentic Capabilities Before Post-Training: An End-to-End Approach
Organizations: Tencent Youtu Lab · Shanghai Jiao Tong University
Abstract
Agentic capabilities are increasingly important for modern LLMs, yet remain difficult to evaluate during pretraining. Existing approaches typically rely on static trajectory-derived tasks or likelihood-based proxies, which are lightweight but provide limited visibility into how base models behave in interactive environments. We introduce ASAP (Agent Scaffold Adaptation for Pretraining Evaluation), a lightweight framework for eliciting and evaluating agentic behavior from pretrained base models on end-to-end tasks. Rather than converting base models into chat-style agents, ASAP preserves the completion interface and adapts existing agent scaffolds through structured trajectory continuation, short reference prefixes, and minimal recovery mechanisms. Across software-engineering and deep-research benchmarks, ASAP yields discriminative end-to-end performance across base models and pretraining checkpoints. Beyond aggregate scores, ASAP exposes model-generated execution trajectories, enabling analysis of exploration, editing, testing, recovery, and task completion across training stages. These trajectories provide a behavioral view of how agent-relevant capabilities change during pretraining and how execution patterns differ after post-training. Our results suggest that end-to-end agent evaluation can complement conventional pretraining benchmarks by providing a practical diagnostic of interactive model behavior.
Figures & tables
| SWE-bench Verified | SWE-agent | SWE-bench Verified | OpenHands | |||
|---|---|---|---|---|---|---|
| Model | Pass@1 | Pass@8 | #Inter | Pass@1 | Pass@8 | #Inter |
| Qwen3-30B-A3B-Base | 7.38 | 24.20 | 0 | 4.00 | 14.40 | 0 |
| Qwen3.5-9B-Base | 21.85 | 46.60 | 16 | 32.95 | 55.40 | 51 |
| Qwen3.5-35B-A3B-Base | 34.23 | 56.20 | 67 | 39.23 | 61.80 | 69 |
| Gemma4-26B-A4B-Base | 7.12 | 23.00 | 0 | 4.67 | 18.20 | 0 |
| GLM-4.5-Base | 15.97 | 41.40 | 4 | 19.73 | 44.80 | 11 |
| Stage1 | Stage2 | Stage3 | Stage4 | Stage5 | |
|---|---|---|---|---|---|
| Training phase | General | LR decay | Long-context training | ||
| Context length | 8K | 8K | 32K | 128K | 256K |
| Trajectory data | |||||
| Qwen3.5-35B-A3B | MiMo-V2.5 | |||||
|---|---|---|---|---|---|---|
| Metric | Base | Post | Base | Post | ||
| Pass@1 / success rate | 34.23 | 49.40 | +15.17 | 37.70 | 74.00 | +36.30 |
| Valid source edit | 69.99 | 79.41 | +9.42 | 62.12 | 96.34 | +34.22 |
| Active testing | 85.90 | 96.80 | +10.90 | 76.80 | 99.77 | +22.97 |
| Valid re-edit after a failed test | 31.80 | 63.78 | +31.98 | 28.28 | 57.27 | +28.99 |
| Explicit submission | 20.57 | 52.17 | +31.60 | 26.81 | 89.02 | +62.21 |
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| Parameter | Value |
|---|---|
| Temperature | 0.7 |
| top_p | 0.95 |
| Completions calls per step | 1 |
| Generated span per step | Thinking + action |
| max_tokens (per step) | 2,048 |
| max_steps | 30 |
| Model | Pass@1 | Pass@2 | Pass@4 | Pass@8 | #Inter |
| SWE-bench Verified Scaffold: SWE-agent | |||||
| Qwen3-30B-A3B-Base | 7.38 | 12.32 | 18.37 | 24.20 | 0 |
| Qwen3.5-9B-Base | 21.85 | 30.61 | 38.81 | 46.60 | 16 |
| Qwen3.5-35B-A3B-Base | 34.23 | 42.82 | 50.15 | 56.20 | 67 |
| Gemma4-26B-A4B-Base | 7.12 | 11.84 | 17.60 | 23.00 | 0 |
| GLM-4.5-Base | 15.97 | 24.46 | 33.47 | 41.40 | 4 |
| Model | Format | Pass@1 | Pass@3 |
|---|---|---|---|
| Qwen3.5-35B-A3B | JSON | 4.33 | 13.00 |
| Markdown | 21.67 | 35.00 | |
| XML | 27.00 | 38.00 | |
| Markdown+XML | 33.00 | 50.00 | |
| MiMo-V2.5-Base | JSON | 14.67 | 30.00 |
| Markdown | 30.67 | 47.00 |
| Model | Prefix length | Pass@1 | Pass@3 |
|---|---|---|---|
| Qwen3.5-35B-A3B | 0 | 24.00 | 41.00 |
| 1 | 27.67 | 43.00 | |
| 3 (selected) | 33.00 | 50.00 | |
| MiMo-V2.5-Base | 0 | 28.00 | 46.00 |
| 1 | 32.00 | 53.00 | |
| 3 (selected) | 42.00 | 59.00 |
| Model | Metric | Prefix A | Prefix B | |
|---|---|---|---|---|
| Qwen3.5-35B-A3B | Pass@1 | 33.00 | 34.00 | |
| Qwen3.5-35B-A3B | Pass@3 | 50.00 | 48.00 | |
| MiMo-V2.5-Base | Pass@1 | 42.00 | 44.33 | |
| MiMo-V2.5-Base | Pass@3 | 59.00 | 56.00 |
| Base / ASAP | 70K SFT | |||
|---|---|---|---|---|
| Model | Pass@1 | Pass@8 | Pass@1 | Pass@3 |
| Qwen3-30B-A3B | 7.38 | 24.20 | 19.60 | 31.80 |
| Qwen3.5-9B | 21.85 | 46.60 | 24.60 | 37.60 |
| Qwen3.5-35B-A3B | 34.23 | 56.20 | 37.47 | 53.20 |
| Gemma4-26B-A4B | 7.12 | 23.00 | 18.70 | 31.60 |
| Model | Trajectories | Network | Network Rate | Gold | Gold Rate | Docs |
|---|---|---|---|---|---|---|
| Qwen3-30B-A3B-Base | 4,000 | 86 | 2.15% | 9 | 0.23% | 23 |
| Gemma4-26B-A4B-Base | 4,000 | 25 | 0.63% | 5 | 0.13% | 8 |
| Mimo-V2.5-Base | 4,000 | 9 | 0.23% | 1 | 0.03% | 0 |
| Qwen3.5-35B-A3B-Base | 4,000 | 9 | 0.23% | 1 | 0.03% | 2 |
| Qwen3.5-9B-Base | 4,000 | 8 | 0.20% | 1 | 0.03% | 2 |
| GLM-4.5-Base | 4,000 | 7 | 0.18% | 0 | 0.00% | 6 |
| Metric | Qwen3.5-35B-A3B-Base | MiMo-V2.5-Base |
|---|---|---|
| Pass@1 | 99/300 (33.0%) | 126/300 (42.0%) |
| Pass@3 | 50/100 (50.0%) | 59/100 (59.0%) |
| Empty patch | 73/300 (24.3%) | 101/300 (33.7%) |
| Non-empty unsuccessful/error | 128/300 (42.7%) | 73/300 (24.3%) |
| Non-empty success rate | 43.6% | 63.3% |
| Repetition-based termination | 9/300 (3.0%) | 24/300 (8.0%) |
LLM Agent Evaluation
Large language model agent evaluation measures whether tool-using systems complete tasks reliably, safely, and efficiently.
See all 1,112 papers