General
10 min
How Perplexity and Burstiness Reveal AI-Written Code
AI code detectors don't read code—they measure its statistical shape. This piece breaks down the two key metrics, perplexity and burstiness, that separate lines from a language model from something a programmer actually typed. Real numbers, real edge cases, and how to combine signals for a higher-confidence verdict.