arXiv:2611.02676cs.SENov 2026

Manuscript Offprint

arXiv:2611.02676

Does the Judge See What the Evaluation Requires? Input Assurance for LLM Agent Evaluation

Boming Xia, Qinghua Lu, Runze Li, Dino Sejdinovic, Liming Zhu

Boming Xia*, Qinghua Lu†, Runze Li‡, Dino Sejdinovic§ and Liming Zhu†

*Responsible AI Research Centre, Adelaide University, Australia

†CSIRO, Australia

‡UNSW Sydney, Australia

§Adelaide University, Australia

Abstract—An LLM judge assesses agent steps from text packets. A renderer converts recorded runs into these packets, while software checkers test records and packets against requirements. We ask what evidence shows a packet is what the evaluation requires and propose four input-assurance obligations: required content survives rendering, checkers cover their requirements, a failed check stops later use and the judge reads the bytes last checked. In one pipeline with 30 trajectories, matching hashes, passing checkers and successful staging (copying packets for the judge) coexisted with violations of all four obligations, the last two in integration tests. The renderer omitted every structured tool call, leaving 53 of 60 judged steps blank despite matching hashes. For one judge configuration, later context raised error flags by 13 more on error than on correct steps. Restoring every call reduced this contrast to 2, a reduction of 11 (0.37 per trajectory, 95% cluster-bootstrap interval 0.17 to 0.53). In packets ending at the judged step, that configuration abstained at least once on every blank step, while the other four sometimes abstained but also flagged blank error and correct steps. Both separately written checkers accepted an unmatched tool result. In integration tests, a stub replacing the judge read a failed build's packet and a copy changed after staging. Three added controls stopped 18 of 19 constructed fault cases before the stub read any packet. The remaining stale script never ran. We turn the obligations into four tests and plan to evaluate their transfer to independent pipelines.

Index Terms—AI engineering, LLM agents, LLM-as-judge, evaluation software, input validation, test oracles, fault injection

I. INTRODUCTION

LLM judges are used to assess individual steps in recorded runs (trajectories) of tool-using agents [1], [2]. In the pipeline we study, a renderer turns structured trajectory records into text packets for the judge. Two software checkers test source records and packets against written requirements. An agent may leave its message text empty and place its action only in a structured tool-call field. If the renderer copies only message text, it omits the call and makes the judged step appear blank. The packet can still match its recorded hash, because a hash shows only that the bytes are unchanged.

We ask what evidence establishes that a judge's input meets the evaluation's requirements, and call such evidence input assurance. The content and validation rules that this input must satisfy form the judge's input contract. We propose four obligations for the software that prepares that input: (1) required content survives rendering, (2) each checker covers its stated requirements, (3) a failed check stops later use and (4) the judge

reads the bytes last checked. Each requires distinct evidence: comparison with source records for content, violating cases for requirements coverage, integration tests for failure handling and byte checks at use for integrity.

The pipeline compares judgements on trajectory prefixes (ending at the judged step) with judgements on full trajectories, to assess how later context changes error flags. Its renderer kept tool results but omitted every structured tool call, leaving 53 of 60 judged steps blank in the original packets. We compared these with call-restored packets, which restore calls throughout each packet, under five judge configurations (model, prompt and delivery settings). With the original packets, moving from prefix J0, by 15 on error steps and by 2 on correct steps, a contrast of 13. With the calls restored, this contrast was 2.

Research software can produce reproducible results despite bugs [3], and direct data validation can expose problems not apparent from model quality [4]. Work on evaluation harnesses addresses implementation choices and reproducibility [5], while benchmark audits identify flaws in task setup and grading [6]. AgentRewardBench shows that trajectory representation affects judge agreement with experts [1]. Judge-robustness studies examine deliberately changed inputs [7], and content-free responses can draw favourable verdicts [8], [9]. Fault-injection studies examine agent failures [10], [11], while SPADE synthesises and selects assertions for LLM pipeline outputs [12]. Unlike these studies, we examine whether the judge's input contract is preserved and enforced from rendering to use, and what the pipeline's own checks establish about the bytes the judge reads. We assess the two separately written checkers as test oracles [13] and use a recording stub in place of the judge to observe the bytes read in integration tests.

On the real packets both checkers passed, and staging (copying packets for the judge and checking their hashes) succeeded. Yet mutation cases showed that both accepted a tool result with no matching call, and code inspection found a hash comparison that could never fail. Constructed integration tests showed that failed or changed packets could still reach the point of use. These defects reflect established software-engineering concerns: incomplete test oracles [14], shared failures in separately written programs [15], redundant assertions [16], build failure handling [17] and time-of-check-to-time-of-use gaps [18]. Output-based testing requires a fault's effects to reach an observed result [19], but the judges' answers, although affected by the omission, did not identify the missing calls. In prefix packets, whether a blank step drew abstentions or error flags depended on the judge configuration.

The paper makes three contributions. It organises established assurance practices into four obligations for the boundary between recorded trajectories and judge inputs, with a direct test for each (Table I). It shows a rendering omission preserved by matching hashes, requirements missed by passing checkers and failed or changed packets read in integration tests, and measures how restoring the calls changed a judge-based contrast. It evaluates 3 controls on 19 constructed fault cases and proposes an evaluation of the tests' transfer to independent pipelines.

References (24)