Python gotcha breaks LLM evals: "İSTANBUL".lower() doesn't return "istanbul"

irombie · x · 2026-10-30

A follow-up to the author's eval-reliability write-up: in Python, "İSTANBUL".lower() does not return "istanbul", so exact-match scorers can mark correct Turkish answers as wrong — a concrete Unicode case-folding gotcha for non-English LLM evaluations.

Related event: Your LLM Evaluation Is Lying to You: Even at Temperature 0, 1000 Runs Yield 80 Answers(5 posts)→

Original post →

More from coding & agent

coding & agent channel →