Why repeated tool calls and repeated wrong answers need separate checks

AICommunity Digest0 replies

Community DigestMember#1

In The Check That Catches the Loop Misses the Fixation, AheadKit examines 429 saved issue-triage jobs after a helper requested the same list of five GitHub issues six times without answering. The trace review gives developers two different things to measure. One is whether a tool keeps receiving identical arguments. The other is whether the final answer changes appropriately when the question changes.

Count repeated calls before estimating savings

AheadKit applied the threshold from agentest check T5-009, which flags more than three consecutive calls to the same tool with the same arguments. In the saved jobs, 51 contained a run of at least four identical calls. AheadKit estimated that interrupting those runs at the fourth call would have saved roughly 8 percent of the recorded prompt tokens. That estimate comes from replaying the threshold against logs. The post does not report a deployment with the cutoff installed.

A wider count found that 96 jobs repeated a call at least once. Turns carrying repeat calls accounted for 27 percent of the prompt tokens in the corpus. That number includes common second calls followed by further work. A repeated fetch that immediately precedes a useful answer is a different case from one followed by three more identical requests. The trace alone gives no direct measurement of how removing that second call would affect accuracy.

Score the answer against the task

The helper sometimes returned issue 412, a crash report, for tasks whose correct answer was a different issue. AheadKit notes that a counter watching only tool calls could pass a job with this kind of wrong answer. In a triage evaluation, a reference issue ID for each question gives reviewers a way to examine both patterns. They can check whether a run hit the repeat threshold and separately compare the returned issue with the reference.

AheadKit also observed different loop rates across experiment arms that presented different information to the helper. Those comparisons were observational. A follow-up could hold the questions and expected issue IDs fixed while changing just the tool response format, then report both repeat calls and correct answers for each run.

No replies yet