Agent psychometrics: predicting coding agent performance before you run it

TL;DR: Aggregate benchmark scores hide which tasks an agent will fail. Agent Psychometrics (arXiv 2604.00594) extends item response theory, the model behind standardized test scoring, to agentic coding benchmarks. It predicts each task’s difficulty from the issue, repository, solution and tests, and splits each agent’s ability into an LLM part and a scaffold part. Predictions are strong for new combinations of known models and scaffolds, moderate for new tasks, and coarse for a brand-new benchmark.
Why aggregate scores are not enough
When you deploy a new UI button, you A/B test it. When you deploy a new coding agent, you cannot. A wrong button color loses clicks. A wrong agent action corrupts a codebase, sends a broken PR, or deletes a production database migration. The feedback loop for agents is expensive, slow, and sometimes irreversible.
The standard approach (run benchmarks, check aggregate scores, ship) tells you the agent’s average capability. It does not tell you which specific task categories will fail in your production workload. An agent that scores 72% on SWE-bench might ace single-file bug fixes and fail every multi-file refactoring task. If your codebase is mostly multi-file refactoring, that 72% is meaningless.
Running more evaluations is not cheap either. The paper behind this post cites an average cost of $350 to $500 for a single agent evaluation run on SWE-bench Verified. And the cases where task-level insight matters most often have no data at all: a newly released agent that nobody has benchmarked, or a draft benchmark whose tasks no agent has attempted.
Agent Psychometrics (arXiv 2604.00594, April 2026; Chris Ge, Daria Kryvosheieva, Daniel Fried, Uzay Girit and Kaivalya Hariharan, at MIT, Carnegie Mellon and Fulcrum) asks how well you can predict success or failure on individual tasks without running the agent. The output is not a single score but a success probability for each agent and task.
What psychometrics brings to agent evaluation
The name refers to item response theory (IRT), a psychometric model used to score standardized tests such as the SAT. In its simplest form, the Rasch model, each test-taker has a latent ability, each question has a latent difficulty, and the probability of a correct answer is a sigmoid of ability minus difficulty. Applied to agents, the test-takers are agents and the questions are benchmark tasks.
Standard IRT treats every agent and every task as an ID, so it can only score agents and tasks that already appear in the results. It also says nothing about why a task is hard. The paper removes both limitations:
| Extension | What it does | Why it matters |
|---|---|---|
| Task features | Predicts each task’s difficulty from its artifacts: issue text, repository state, gold solution patch and test patch, encoded as embeddings and as 15 LLM-as-a-judge features | A new task gets a difficulty estimate before any agent attempts it |
| LLM plus scaffold ability | Splits an agent’s ability into an LLM component and a scaffold component that add together | Leaderboards that share few agents can be pooled, and a new pairing of a known model and a known scaffold can be scored |
The additive split is the paper’s central empirical claim: an agent’s ability is well described as LLM ability plus scaffold ability, with no interaction term. On held-out responses, the decomposed model performs close to standard IRT, and on Terminal-Bench 2.0 the two are statistically indistinguishable, while the decomposed model can also generalize to agents standard IRT has never seen.
How the prediction pipeline works
The paper fits its models on public per-task results from four agentic coding benchmarks: SWE-bench Verified, SWE-bench Pro, Terminal-Bench 2.0 and GSO, a software performance optimization benchmark. For Terminal-Bench 2.0, where agents had several attempts per task, the majority outcome counts.
- Collect per-task results. For each agent (an LLM plus a scaffold) and each task, record pass or fail.
- Extract task features. Embed the task artifacts, and ask an LLM judge to score 15 standardized properties of each task.
- Fit the IRT model. Learn task difficulty as a function of the task features, and agent ability as LLM ability plus scaffold ability.
- Predict. The success probability for any agent and task is a sigmoid of ability minus difficulty, including tasks and pairings that never ran.
graph LR
A[Task artifacts: issue, repo, patch, tests] --> B[Task features]
B --> C[Predicted task difficulty]
D[LLM identity] --> F[Agent ability = LLM + scaffold]
E[Scaffold identity] --> F
C --> G[Logistic IRT model]
F --> G
G --> H[Success probability per agent and task]
How well the predictions hold up
The paper reports AUC-ROC: the chance that a randomly chosen solved agent-task pair is ranked above an unsolved one, where 0.5 is chance and 1.0 is perfect. The numbers below are from the July 2026 revision; the April 2026 version differs by about 0.02 or less.
| What is new | Benchmark | Baseline | Best feature-based predictor | Oracle |
|---|---|---|---|---|
| New tasks | SWE-bench Verified | 0.72 | 0.84 | 0.95 |
| New tasks | SWE-bench Pro | 0.66 | 0.76 | 0.92 |
| New tasks | GSO | 0.72 | 0.79 | 0.92 |
| New tasks | Terminal-Bench 2.0 | 0.73 | 0.79 | 0.93 |
| New LLM and scaffold pairing | SWE-bench Verified | 0.85 | 0.93 | 0.95 |
| New LLM and scaffold pairing | Terminal-Bench 2.0 | 0.84 | 0.92 | 0.94 |
| New benchmark | SWE-bench Pro | 0.57 | 0.70 | 0.91 |
| New benchmark | GSO | 0.64 | 0.74 | 0.91 |
The baselines are simple empirical rates (the agent’s success rate, the task’s solve rate, or the LLM’s success rate, depending on the setting). The oracle is an IRT model fitted on all the data, including the held-out part, so it is an upper bound.
Three findings matter for practitioners:
- Artifacts beyond the problem statement carry signal. On SWE-bench Verified, LLM-judge features from the problem statement alone reached 0.786; adding repository state, tests and the solution raised that to 0.845. Each source helped on at least one benchmark.
- New combinations of known parts are easy; new parts are not. The authors state that the method cannot generalize to entirely new LLMs or scaffolds. Both components must appear somewhere in the training data.
- A new benchmark gets only a coarse estimate. Predictions for a held-out benchmark beat the baseline but sit far below the oracle, and the authors suggest refining them as partial evaluation data comes in.
Adaptive testing: placing a new agent with fewer runs
The July 2026 revision adds an application. To estimate the ability of a new LLM and scaffold pairing on SWE-bench Verified, it starts from the model’s predicted ability and then runs computerized adaptive testing: after each task, update the ability estimate and pick the next task that is most informative at that ability.
Across 30 held-out pairings, the prediction alone had a mean absolute error of 0.79 on the IRT ability scale before any task ran, a level that random task selection needed about 10 tasks to reach. The advantage is largest at small task budgets, and the methods converge by roughly 40 tasks as real results outweigh the prior.
What this changes about agent evaluation
For benchmark designers: Task features let you estimate the difficulty of new tasks before paying for agent runs, which also helps continuously updated benchmarks such as SWE-bench Live.
For agent developers: The LLM and scaffold split estimates how much a scaffold change is worth independently of the model, and adaptive testing cuts the number of tasks needed to place a new pairing.
For agent deployers: Task-level predictions point at which kinds of tasks a given model and scaffold pairing is likely to fail, which is more useful for scoping than one aggregate score. The caveat is that the strongest task features use the solution and tests, which exist for benchmark tasks but not for a fresh production ticket. Treat predictions on your own workload as a prior, then measure; the agent autonomy scorecard covers what to track once the agent is live.
For agent evaluation frameworks: Psychometric prediction complements full benchmark runs rather than replacing them. Use it to choose which tasks to run and to flag likely failures, then confirm with real runs.
Applying the idea to your own agents
You do not need the full pipeline to use the core idea, and the authors’ code is public (agent-psychometrics on GitHub).
Keep per-task results, not just pass rates. Store pass or fail for every agent configuration on every task in your internal eval set. Aggregate scores throw away exactly the information IRT needs.
Fit a simple IRT model. A Rasch model over configuration and task results gives each task a difficulty and each configuration an ability. That tells you which tasks separate strong configurations from weak ones and which tasks add little information.
Record the model and the scaffold separately. When you test combinations, the additive split lets you attribute a gain to the model upgrade or to the scaffold change.
Evaluate new configurations adaptively. Start with tasks whose difficulty sits near the configuration’s predicted ability, and stop when the ability estimate stops moving.
Calibrate against production outcomes. Compare predicted task-level success with what happens in production, and refit whenever you change the model, the scaffold or the prompts.
Key takeaways
- Agent Psychometrics (arXiv 2604.00594) extends item response theory to agentic coding benchmarks to predict success on individual tasks
- Task difficulty comes from task artifacts (issue, repository state, solution, tests); agent ability splits additively into LLM and scaffold components
- Predictions are strong for new pairings of known models and scaffolds (AUC-ROC about 0.92 to 0.93), moderate for new tasks, and coarse for a new benchmark
- It cannot score an entirely new model or scaffold, and its best task features are not available for a fresh production ticket
- Adaptive testing seeded with these predictions places a new agent with fewer task runs
- The habit any team can adopt now: keep per-task results, fit a simple IRT model, and record model and scaffold separately
FAQ
What is Agent Psychometrics? A framework (arXiv 2604.00594) that applies item response theory to coding agents. It predicts the difficulty of each task from its artifacts and the ability of each agent as the sum of an LLM ability and a scaffold ability, then turns the gap into a success probability for every agent and task.
How accurate is it? For new pairings of a known LLM and a known scaffold, AUC-ROC was about 0.92 to 0.93. For new tasks on a known benchmark it was about 0.76 to 0.84, and for an unseen benchmark about 0.70 to 0.74.
Does this replace SWE-bench? No. It predicts benchmark outcomes from past benchmark results, so it depends on benchmarks existing. Use it to decide which tasks to run and where to expect failures, then confirm with real runs.
Can I use this for non-coding agents? IRT itself works for any set of agents and tasks with pass or fail outcomes. The paper’s task features (repository state, patches, tests) are specific to coding, so other domains need their own task features, and the paper does not test them.
Further reading
- Agent Psychometrics paper (arXiv 2604.00594): the method, all result tables and the adaptive testing experiment
- Agent autonomy measurement: the production scorecard that complements pre-deployment prediction
- Agent evaluation frameworks: the benchmark-based evaluation this complements
- Testing AI agents: unit and integration testing patterns for agents
- Agent benchmarking: a deep dive: comprehensive benchmark analysis
- AI harness engineering: infrastructure for agent measurement