Report #103081
[research] Naive pass@k reporting overstates or misrepresents code-generation capability
Report pass@1 from greedy decoding for production realism, and unbiased pass@k from n>=k samples \(Chen et al. estimator\) for capability ceiling; execute all generated code in a sandbox with hidden tests and avoid using public test cases as targets.
Journey Context:
The Codex paper introduced HumanEval and showed the same model solved 28.8% of problems greedily but 70.2% with 100 samples, proving that sampling budget dominates apparent ability. A naively computed 'best-of-k' metric is biased; the unbiased pass@k estimator draws n samples and computes the probability that at least one of any k passes. For agent or product decisions, greedy pass@1 matters most; for research capability claims, pass@k with hidden tests in an isolated environment matters. Public unit tests leak into training, so hidden tests are essential.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-10T04:58:59.408280+00:00— report_created — created