Does a Model That Tops Coding Benchmarks Also Find Incident Root Causes?
Coding benchmarks measure whether a fix passes tests. Incident investigation asks whether the model states exactly what the current evidence supports. Three ticket groups (the recent change is the cause, the change is a coincidence, not enough evidence yet) and a six-point rubric for choosing a model that fits on-call work.
A coding benchmark leaderboard shows up in the model selection meeting. Someone suggests using the top scorer for on-call investigations too. But the first question an on-call engineer gets is closer to "where did the customer's request start failing?" than "please fix this code." An answer that changes no code at all and states precisely what the current evidence lets us conclude is an excellent investigation result.
A coding benchmark score measures the ability to produce a fix that passes tests. Incident investigation ability has to be measured separately: whether the cited evidence matches the claim, and whether the model says what it doesn't know.
What do coding benchmarks and operations benchmarks measure differently?
SWE-bench hands a model real GitHub issues and codebases and checks whether the proposed fix passes the tests. AIOpsLab, which targets operations agents, sets up a microservice environment, workloads and telemetry, and builds problems an agent can investigate. If the job you want a model to do is incident investigation, that job has to be in the evaluation tickets.
How should the first evaluation set be built?
The first evaluation set can be three groups with different characters.
| Ticket type | Records given to the model | A judgment that earns points |
|---|---|---|
| The recent change is the cause | Error rates for new and old versions, failed traces, the config actually applied | Points to the affected group and the changed setting, with evidence |
| The recent change is a coincidence | Latency on both versions, response times of a shared downstream service | Finds the call segment common to both and revisits the recent-deploy hypothesis |
| Not enough to judge yet | Two failed requests, missing control group, incomplete config history | States what is unknown and picks one query that would separate two hypotheses |
The second group matters most. An incident that starts right after a deploy is not guaranteed to be caused by it. If both versions got slower, start with the shared downstream service. Without this group, a model that always answers "the recent deploy did it" scores well.
What should the rubric reward?
The rubric can stay short. Plausibility of the cause candidate, 2 points. Match between cited evidence and claim, 2 points. Judgment about uncertainty, 1 point. Usefulness of the next check, 1 point. If "looks like a DB problem" happens to be right but the cited trace contains no DB call, the evidence score is zero. On a ticket with too little data, an answer like "I'll check whether the same path was also slow on the old version" earns points for holding judgment and for the follow-up.
In the final comparison, put tickets with correct evidence, count of citations to records that don't exist, and the rate of appropriate holds when information was insufficient next to the coding score. Then you can pick the model that writes patches and the model that helps decide whether to wake someone at 3 a.m., each for the job it will actually do.
The problem of answers leaking into the inputs when you build an evaluation set from past incidents continues in What if the incident report contains the answer? Removing future information from AI SRE evaluations.
- #llm
- #ai-agent
- #sre
- #incident
- #evaluation