← Latest papers
💻 computer science

QuoteBench: How Matched Scores Can Hide Command-Path Failures

The paper introduces QuoteBench, a benchmark demonstrating that matched execution scores in LLM coding agents often mask significant command-generation failures caused by execution-path serialization and parsing, revealing that model rankings and performance are heavily dependent on specific deployment configurations rather than intrinsic capabilities.

Original authors: Shangao Li, Yao Zhang, Volker Tresp, Yuanyuan Yang

Published 2026-08-14
📖 4 min read☕ Coffee break read

Original authors: Shangao Li, Yao Zhang, Volker Tresp, Yuanyuan Yang

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are building a robot chef. You give it a recipe written in plain English, and it's supposed to turn that into a set of precise instructions for a kitchen machine to cook a meal. In the world of artificial intelligence, these "robots" are Large Language Models (LLMs), and the "kitchen machine" is a computer system that runs code. For a long time, scientists have been testing these robots by seeing if the final meal tastes good. If the robot says, "Chop the onions," and the computer chops the onions, everyone cheers.

But there's a tricky part: how the message gets from the robot to the machine. Sometimes, the message travels through a translator, a wrapper, or a middleman that rewrites the sentence before the machine sees it. Think of it like sending a letter. If you write "Don't forget the salt!" and a middleman reads it, gets confused by the punctuation, and accidentally changes it to "Don't forget the salt!" (with a different meaning), the machine might add too much salt. The problem is, if you only check the final dish, you might think the robot is perfect, even though the middleman messed up the instructions. This paper asks a simple but vital question: Is the robot actually good at writing instructions, or is it just lucky that the middleman didn't ruin them?

This is where QuoteBench comes in. The researchers created a special test to see if AI models can write Bash commands (which are like the specific, technical instructions computers use to manage files and folders) without getting tripped up by "quoting" rules. In computer language, quotes and special symbols are like traffic signs; if you miss one, the car crashes. The team found that many AI models look amazing on paper but fail miserably when their instructions have to pass through a "middleman" (like a remote server or a container) that re-reads the text.

Here is the twist: The researchers discovered that the standard way of testing these AIs is hiding a massive problem. They took the exact same instructions an AI wrote and ran them through two different paths. In the first path, the instructions went straight to the computer. In the second, they went through a "middleman" that added an extra layer of reading (like putting the instructions inside double quotes).

When they did this, the results were shocking. For some of the top AI models, the success rate dropped by a huge amount—between 55.4% and 73.2%—just because the instructions had to pass through that extra layer. It's like a robot chef who can perfectly chop onions when you hand them the knife directly, but if you ask them to shout the instructions through a megaphone, they forget how to hold the knife.

However, the story gets even more interesting. The researchers found that if they told the AI in advance, "Hey, your instructions are going to go through a middleman," the smartest models could actually fix their own mistakes. They would rewrite their instructions to be extra careful. When they did this, they recovered 30.4% to 60.7% of the lost points.

This leads to a confusing situation. If you just look at the final score, one model might look almost perfect, hiding the fact that it lost 64.3% of its potential success due to the middleman, only to gain 60.7% back because it learned to adapt. The paper calls this a "matched gap" of just −3.6 points. It looks like a tiny difference, but it's actually a massive rollercoaster of failure and recovery that the standard test completely missed.

The paper argues that we can't just look at a single "success score" to judge an AI. That score is like a grade on a test that doesn't tell you if the student used unauthorized help or if the teacher helped them. The researchers show that depending on how you set up the test (the "command path"), the ranking of which AI is "best" can completely flip. For example, one model might be the clear winner in a direct test, but fall behind when the instructions have to go through a remote server.

In short, the paper proves that the way we test AI is broken because it ignores the journey the instructions take. It's not enough to know if the AI can write a command; we need to know if that command survives the trip to the computer. The researchers suggest that anyone building or buying these AI tools needs to stop looking at simple scores and start asking: "How did the instructions get there? Was there a middleman? Did the AI know it was coming?" Because without those answers, a high score might just be an illusion.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →