Dedicated AI Reviewer Agent Uncovers Silent Flaw in LLM Evaluation Code
A multi-agent experiment using Claude Code revealed how a dedicated reviewer session caught critical scoring errors prior to benchmark execution, detailing costs and operational limits.

Building accurate evaluation pipelines for large language models remains a complex challenge, where subtle bugs in scoring functions can quietly skew research results. In a recent 54-hour experiment, a developer deployed four concurrent AI agent sessions to design, execute, and verify an LLM benchmark. The experiment demonstrated how assigning a dedicated reviewer agent can intercept logic flaws in code before model evaluations begin, while also exposing the boundaries of autonomous code review.
Multi-agent architecture and the hidden logic bug
The evaluation setup ran four sessions of Claude Opus 5.5 using Claude Code v2.1.316 on a single laptop. The team comprised a Lead session to coordinate tasks and write reports, Researcher 1 to build scripts and run models, Researcher 2 to draft test texts and scoring logic, and a Skeptic session tasked with auditing claims and verifying code against the written specification. Communication took place through cross-session messaging and a shared file named LOG.md.
The benchmark aimed to test how models handle user corrections—specifically measuring whether a model erroneously retains an outdated value after being given an updated request (for instance, changing an appointment from 9 to 10). The original scoring script checked whether the response strictly equaled the new value ("10") or the old value ("9"). If a model generated "9 and 10", the scorer categorized the output as a general failure ("wrong_other") rather than explicitly tracking it as a retained old value ("kept_old_value").
While overall accuracy statistics remained unchanged, this classification error systematically undercounted the primary failure mode under study. Because the test suite lacked a test case for combined answers, automated tests passed without issue. The Skeptic session flagged this discrepancy between the written specification and the implementation prior to running calls against the evaluated models. The logic was subsequently updated using regular expressions to check for whole-part occurrences of old values across conjunctions, commas, and slashes, properly categorizing responses like "9 and 10" or "9 or 10" while leaving standalone numbers such as "19" categorized separately.
Reviewer capabilities, limitations, and costs
Beyond the initial logic flaw, the Skeptic identified several operational bugs during the project. It discovered a script that left behind stale output files upon failing, flagged a scoring script that failed to verify the hash of a frozen spelling list, and caught a coordination issue where the human developer accidentally provided conflicting instructions across different terminal windows one minute apart.
During the first 20 hours and 40 minutes, the Skeptic evaluated 81 distinct claims across 99 verdicts, marking 13 claims as OVERSTATED or WRONG at least once. Eight of those were subsequently corrected and rechecked.
However, the automated reviewer also missed several errors in the final narrative report. It passed a table containing swapped labels despite having recorded correct notes earlier, approved phrasing that treated absolute test failures as a statistical "ceiling," and overlooked a headline asserting an error type never occurred when checks only covered a single variant of that error. These textual and interpretive flaws were later caught through manual inspection assisted by a model from another provider.
Over the full run of 53 hours and 50 minutes, the four sessions made 3,779 API calls. Based on standard public rates for Claude Opus 5.5 ($4 per million uncached input tokens, $5 per million cache writes, $0.20 per million cache reads, and $20 per million output tokens), total API-equivalent usage was estimated at approximately $263. The Skeptic session accounted for about $75 of that total, representing roughly 29 percent of overall resource consumption.
What it means for developers
For engineering teams building complex AI applications or evaluation frameworks, implementing an adversarial reviewer agent offers a concrete safety net against subtle bugs that unit tests might miss. To get the most out of a multi-agent review architecture, developers should consider several operational practices:
- Generate failing test cases early: Ask reviewer agents to generate specific failing inputs based on written specifications, then add those cases directly to the regression test suite before freezing code.
- Enforce immutable definitions: Lock down scoring rules, hash key dependency files, and require full benchmark re-runs if matching logic must be modified.
- Establish clear decision paths: Maintain a single authoritative log for human approvals to prevent concurrent sessions from acting on conflicting instructions.
- Separate code auditing from editorial review: While AI reviewer agents excel at checking program execution and verifying spec adherence, human oversight or independent secondary reviews remain necessary to validate narrative claims and data interpretations.
Developers looking to implement multi-agent workflows or benchmark their applications across different architectures can try top AI models cheaply through one API at https://apixoai.online, simplifying access to models from Anthropic, OpenAI, Google, and DeepSeek without managing multiple provider accounts.
Source: How a Reviewer Agent Found a Silent Bug in My LLM Eval — Towards AI. Written by the Apixo team from that report.
One key for Claude, GPT, GLM, DeepSeek and more. Pay per token with crypto.
Get your API key

