An invisible space breaks AI eval graders in Claude Code, OpenEvals, Promptfoo

maverick_man1111 · reddit · 2026-10-28

A developer found Claude Code's native eval grader marks correct Python code wrong and vice versa due to a single invisible Unicode character (e.g. NBSP). LangChain OpenEvals, Promptfoo and Nvidia SkillEvaluator share the flaw.

The fix is small: auto-generate a note listing the exact Unicode characters and positions without altering the answer, which drastically improves judgments. The author reproduced it in Claude Code's plugin grader and submitted PRs to Nvidia, OpenEvals and Promptfoo; Nvidia has approved. Full report: driftproofhq.com/invisible-space

Related event: Invisible Space Character Tricks Multiple AI Graders Into Wrong Verdicts(3 posts)→

Original post →

More from coding & agent

coding & agent channel →