One invisible space makes Claude Code and other LLM graders flip verdicts

maverick_man1111 · reddit · 2026-10-28

A developer testing an open-source eval project found Claude Code marked correct Python code as wrong and vice versa — caused by a single invisible Unicode character (NBSP).

The same flaw exists in LangChain OpenEvals, Promptfoo, and Nvidia SkillEvaluator. The fix: auto-generate a note listing the exact Unicode characters and positions without altering the original answer, which drastically improved judgments. He reproduced the issue in Claude Code's native plugin eval grader too.

He submitted PRs to Nvidia, OpenEvals, and Promptfoo; Nvidia's is already approved. Full report at driftproofhq.com/invisible-space.

Related event: Invisible Unicode space flips AI grading results in code evals(2 posts)→

Original post →

More from coding & agent

coding & agent channel →