Finding Changed Code and Explaining Its Effect
Evaluate whether a reviewer can locate a change and explain what it does to a requirement.
A reviewer points to the line where a release check changed. It correctly identifies the file and function, then says the change only affects logging. The changed line actually lets a release proceed after a required check times out. A review that rewards finding the line could give credit even though the reviewer misunderstood the consequence.
SilentSwap, a subset of AgentMonBench, makes that distinction measurable. Zhongxiang Sun and colleagues constructed 100 software tasks with five behavior changes each. They kept the original requirements fixed and selected changes that passed the existing test suite. A dedicated test for each change had to fail when that change was present, whether it appeared alone or with the other four. It had to pass on the original and when only the other four changes were present. This gives evaluators a way to verify the behavior each edit introduces. AgentMonBench, Appendix B.3
The authors compared direct access to the original context with an evidence graph that organizes source references around agent behaviors. For GPT-5.6 Sol, the location score rose from 0.464 to 0.671 while the displayed change correctness score was 0.598 in both rows. The first metric checks code line overlap under exact file and symbol matching. The second uses model judges to assess the explanation. The two displayed correctness values describe this comparison at the precision reported in the table. AgentMonBench, Table 1
Our earlier work on acceptance criteria asks whether the check represents the goal. SilentSwap adds a way to hold that criterion steady and vary the implementation, then assess whether a reviewer recognizes the resulting behavior. When AI Agent Tests Pass but Acceptance Criteria Miss the Goal
Consider what happens when several edits land together. One changes the timeout branch, another renames a status field, and a third changes the log message. A test that fails only on the complete patch confirms that something changed, but gives the evaluator little basis for attributing the failure. Testing the timeout change alone and then removing it from the combined patch makes it possible to check whether the reviewer identified the change responsible for that specific behavior. That distinction matters when a maintainer needs to fix one regression without undoing unrelated improvements.
The review itself can also fail in different ways. A reviewer might cite the timeout branch and correctly describe the new behavior but overlook a second guard that still blocks the release. It might predict the correct outcome while pointing to the wrong function. Those cases call for different follow-up. The first needs more context about how the branch connects to the rest of the workflow. The second needs better evidence for the explanation before a maintainer can act on it.
For WTK, a review receipt could record where the evidence appears, which requirement it bears on, and what consequence the reviewer believes follows. In the release example, the receipt would identify the timeout branch and explain that it now permits a release. A focused check could independently establish whether the release is blocked after a timeout. A reviewer that finds the branch and misreads its effect would receive credit for locating it while the behavioral assessment remains unresolved.
The receipt should also distinguish a predicted consequence from an observed one. A reviewer can infer from the code that a timeout opens a path to release. A controlled run that forces the timeout and observes the release gate gives the maintainer a separate way to verify that inference.
An evaluator could include a nearby control case where the logging really is the only change. A reviewer that flags every edit around the timeout branch might catch the regression and still send maintainers to investigate harmless changes. Recording missed behavior changes, incorrect explanations and false alarms would show which errors the reviewer makes before its output is used in a release decision. Testing Whether AI Agent Checks Catch Important Errors
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 questionWorking 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.