LLM eval pipeline flaw: unsupported tool-call responses could score as perfectly stable
docybo · reddit · 2026-09-04
A developer traced a latent flaw in an LLM benchmark's scoring pipeline: tool-call responses were documented as unsupported, but the parsers could erase them. The OpenAI adapter used message.get("content") or "", turning null-content tool-call responses into empty strings; the Anthropic adapter kept only text blocks, dropping tooluse blocks; and the scorer excluded explicit errors but accepted empty strings.
For such samples the scorer would see byte-identical empty outputs — one distinct output, mode share 1.0 — measuring the stability of the fallback rather than the tool calls.
- Traced in source, not reproduced live; current request builders never forwarded tools, so existing cases couldn't reach the path
- The maintainer checked all 563 recorded non-error samples: none were empty, no published benchmark was affected
- Fix: reject cases carrying tools, mark empty non-error completions unsupported, exclude them from successful samples
Broader lesson: preprocessing can erase the behavior you intended to measure — a reassuring score can hide a missing measurement.
Related event: Bug in LLM Stability Benchmark Silently Drops Tool-Calls, Inflating Scores(2 posts)→
More from coding & agent
- Dev feedback: decoupling rex sessions from native windows is harder to adapt to than expected — alexisgallagher · 2026-12-05
- Salesforce research: buyer agents concede too easily, images boost persuasion ~17% — msrivastav13 · 2026-12-05
- Grok Build launches agent-driven post-quantum cryptography migration after NSA advisory, with $1,000 credits — ns123abc · 2026-12-05
- Seroter's reading list: post-quantum prep, agent harnesses, and life after 99% AI code — rseroter · 2026-12-05
- WSDM Cup 2027 Offers $10k to Build Autonomous Community Notes Agents — sanmikoyejo · 2026-12-05
- Trying Copilot Studio MCP for agent cloning and Power Automate sync: janky but workable — koltregaskes · 2026-12-05