Perplexity evals may be skewed: agent-written code has much lower perplexity, researcher warns

giffmana · x · 2026-11-23

Discussing cross-lab perplexity comparisons on held-out codebases, giffmana points out a key confounder: how much of each codebase was written by coding agents. Agent-generated code is less "surprising" and thus has much lower perplexity than human code, so a repo largely written by agents would look artificially strong. He suspects one lab's codebase is largely agent-generated while OpenAI's internal codebase (the held-out source since GPT-3.5, per the screenshot) is likely still mostly human-written.

Related event: giffmana: agent-generated code may skew perplexity benchmarks(2 posts)→

Original post →

More from Research

Research channel →