Opens in a new tab
News

Two answers came back. Both went to the wrong person.

In brief

SWE-Serve tests whether an AI-written patch works through a running model server. Its different verdicts on the same patches show what an output count can leave unanswered.

4 min read

Is this the right starting point?
Before you read
Basic software-testing and inference-service familiarity; benchmark scope and request-identity checks are explained.
What you will take away
Choose checks that reach a patch’s changed behavior and interpret live-serving benchmark results within their tested scope.
Sources
Two ivory containers with circle and triangle cutouts each hold the opposite shape, joined by crossed orange and teal cords.
On this page3 sections

One caller asks one question, another asks something different, and the server returns two answers. So far, the output count looks perfect. Then each person reads the other's answer. This hypothetical mix-up is a small reminder that a test can count everything it was told to count and still miss the failure the caller experiences.

NVIDIA's SWE-Serve benchmark asks a related question of AI coding agents: does the patch work when requests travel through the running service that uses the model? In its September 23 report, the same 627 patches across 19 tasks passed 69.4% of the time with live-serving checks excluded, versus 45.9% with the complete verification. The patches did not change between those two verdicts. The questions asked of them did.

That is a 23.5-percentage-point difference in this experiment, not a universal failure rate for AI-written code. It shows that checking serving behavior changed which of these patches qualified as working. The two callers give us a way to see why an extra check can matter without treating their fictional fault as a reported benchmark case.

Keep each question attached to its answer

A component test might confirm that a setting was accepted or that a function returned two outputs. A request through a running server encounters more: startup, routing, state shared between requests and delivery back to its caller. Rechecking the number two at several points would not, by itself, notice that the answers changed places.

For our fictional batching fault, make the requests distinguishable and send them through the serving path. Then check which answer each caller receives. The count still tells us something useful. The identity check tells us the thing the count could never establish, however many times it passed.

That is also the distinction in our postmortem follow-through guidance: delivering a correction and demonstrating its intended outcome are separate decisions. Decide what the patch needs to make true before choosing the check. Otherwise the test already on hand can quietly become the whole definition of working.

A proposed patch must pass local checks and a live request through server initialization, model execution and output checks. Deployment approval remains a separate decision.
Conceptual path from a patch through local checks and a live serving request. Passing that path supports its tested behavior; permission and readiness to deploy still require a separate decision.

What the published score actually covers

The first SWE-Serve release contains 53 tasks derived from changes to SGLang, software for serving language models. Nineteen have live-serving checks. The public repository includes the tasks and verifiers, the programs that decide whether their requirements were met. Its setup calls for Linux, Docker and Python 3.12 or newer, with an H100 configuration for GPU tasks.

It also distinguishes closed-book runs, where the agent cannot retrieve the upstream solution, from open-book runs that allow that access. Comparing agents without this detail can confuse a change in ability with a change in what information was available. A changed requirement can alter a score too, as the two verdicts on the same patches demonstrate.

This release tests SGLang on a CPU or one H100. It does not cover other engines, multiple GPUs or multiple machines serving together. NVIDIA also separates a benchmark pass from readiness to merge or deploy the patch. A larger service can learn from the missed-check mechanism without borrowing the score as validation of its own arrangement.

Run through the part the patch changed

For the two callers, the missing check follows each request to its own answer. That is where a live test earns its work. A patch whose behavior sits entirely outside serving may have a focused test that already reaches the relevant failure. Adding a GPU benchmark there can cost time and resources without covering anything useful that was missed.

Keep that connection visible in the review: what did the patch promise, and which path did the check exercise? SWE-Serve's two verdicts do not make one kind of test good and another bad. They show how a passing result can stop short of a caller's need. In our small example, the job is finished when both people get their own answers, not merely when two answers exist.

Sources & context

Sources linked in this article. Read alongside the author’s analysis; a citation does not independently verify a publisher’s claims.

Report an error or outdated detail

More on NVIDIA

All NVIDIA coverage

Keep reading

Where to go next