Beyond Memorization: HumanEval's Weak Tests Exposed Subtly Flawed Code
The original HumanEval benchmark, comprising 164 problems with an average of only 7.7 unit tests each, often allowed models to pass with subtly incorrect code. When the test suite was expanded significantly (e.g., 80 times more tests in HumanEval+), models' pass@k scores dropped by 19.3 to 28.9 percentage points, revealing that initial high scores were partly due to insufficient test coverage rather than robust reasoning.
The top 3
- Top 3 Next-Gen Benchmarks Beyond HumanEval: SWE-Bench evaluates real-world bug fixes from open-source projects, APPS provides 10,000 diverse coding problems from competitive platforms, and LiveCodeBench focuses on preventing data contamination and testing agentic self-repair with compiler feedback.
- HumanEval's Top 3 Blind Spots in Code Evaluation: HumanEval often misses real-world complexities like multi-file context and API integrations, fails to detect subtle security vulnerabilities that pass basic tests, and overlooks issues in code robustness, performance, and efficiency due to limited unit test coverage.
- Key Strategies for Robust LLM Code Evaluation: Robust evaluation demands multi-level obfuscation and evolution-aware testing to combat data contamination, a shift to repository-level context for handling dependencies, and a focus on agentic self-repair with compiler/test feedback to assess iterative problem-solving.
Sources
Open the full topic