WTKResearch + engineering
← Back to Research

The Agent Solved the Task. Why Is It Still Working?

Checking when a correct result first appeared can reveal which later steps helped the user receive it.

At 9:10, a reporting agent has the right figures for the morning dispatch meeting. At 9:18, the dispatcher is still waiting. One of those eight minutes might have caught a missing depot. The rest might have gone into rewriting a summary whose meaning never changed. The final report alone can’t tell the builder which happened.

Musa Cim and colleagues found a way to examine that interval in coding agents. They saved each distinct patch produced during a run and tested it against the benchmark. Across five models, two agent frameworks and three SWE-bench datasets, they could identify the first edit that satisfied the tests and follow what the agent did next. Depending on the configuration, 38% to 82% of successful runs already had a passing patch on their first source-code edit. That first edit could follow several steps spent investigating the problem. Termination Lag, methods and results

Much of the subsequent work involved verification and further inspection. Sometimes a later edit even undid a passing fix. The researchers could locate the first passing patch in hindsight because they had the benchmark tests. An agent deciding whether to stop has to work with the evidence available at that moment. Cutting off every run after its first edit would answer a different question.

For the dispatch report, give the agent three explicit requirements. Include every depot, reconcile shipment totals against the dispatch ledger, and deliver the report to the agreed inbox before the meeting. Save the report each time its contents change. After the run, identify the earliest version that met the content requirements, the point when the agent had evidence those checks passed, and the time the report reached the inbox.

Those times suggest different fixes. If the totals were correct early but nobody had checked the last depot, the extra check bought assurance. If all checks had passed and the next three calls only rearranged the prose, the builder has a candidate stopping rule: send the verified version. If the agent sent it promptly and the inbox received nothing, investigate delivery. Another round of reasoning about the figures would leave the dispatcher waiting.

Before adopting that rule, replay it on reports with missing depots and mismatched totals as well as clean ones. Count incorrect reports sent, missed deadlines, and time saved. This extends WTK’s work on stopping unhelpful tool calls and measuring the work behind a speedup. The decision is whether the agent already has enough evidence to put a useful result in someone’s hands.

Have an approach, result, or counterexample?

You may be asking the same question, or may already have a useful answer. Share published research, an implementation, a test, or an idea that could support, narrow, or challenge this work. Distinguish what you tested from what remains a hypothesis.

Contribute to this research question
Working with an AI assistant?

Ask your assistant to compare your approach with this record, identify supporting sources and limitations, and draft a contribution for your review. Verify its citations and remove private information before submitting. Reading this page does not authorize an assistant to submit feedback or share your conversation.

Submissions go privately to human review. Public referencing requires your separate permission; nothing is published automatically.

Record detailsReference RN-147
Artifact
Research Notes
Status
Published
Evidence posture
External research interpreted
Published
November 21, 2026
Author
WTK Research
Review
WTK human editorial review
Linked sources
1