judgeproof 0.1.2
A fix to judgeproof input check. Upgrade if you use it:
pip install -U judgeproof
Fixed: input check could pass a tool call the judge never saw. Tool names and arguments were searched for anywhere in the judge's input. A rubric that merely named the tool ("the agent should use the tool lookup_order") counted as the call, and an argument the customer had typed (an order id in their message) counted as the argument. A judge prompt with no tool call in it passed --require user,names,args, and the blank-step check missed it.
A tool name now counts only when it is shown as a call: as the value of a name, tool or function key in structured text (JSON, Python repr, key=value, a table cell, an XML tag), as lookup_order( followed by the call's own arguments, or next to one of its own arguments in prose. A list of available tools doesn't count. An argument counts only next to its own key.
Fixed: input check could fail a call the judge did see when the request sends parts as JSON objects: Anthropic tool_use blocks, Gemini functionCall / functionResponse, or a custom body. Decoding the request dropped the keys, so real calls failed. This also fixes a false FAIL introduced in 0.1.1, where a tool result sent as an object scored "0% of it".
On the five-tool captures, every route's pass or fail, and its number of failed checks, is unchanged. Three routes now also list the order id as a missing argument, because it reached the judge only in the customer's message.
The GitHub Action tag v0 now points at this release.
Full list in CHANGELOG.md.