35x More Tests: Uncovering AI's Hidden Flaws

MBPP+ expands the original MBPP benchmark with 35 times more test cases, including diverse normal, edge, and tricky inputs, rigorously evaluating code behavior beyond basic functionality.

The top 3

  1. Top Models' Performance Halved by Rigorous MBPP+: Under MBPP+'s expanded test suite, top AI models experience significant performance degradation, with some models seeing pass rates drop by 15 to 29 percentage points compared to their scores on original, less rigorous benchmarks. For instance, an OpenAI O1 Preview model's score fell from 95.5% on base MBPP to 80.2% on EvalPlus tests.
  2. True Correctness: How 35x More Tests Redefine "Pass": The 35x test case expansion in MBPP+ redefines 'correctness' for AI-generated code, moving from basic validation to rigorous evaluation across normal, edge, and tricky inputs. This approach measures true correctness, uncovering brittle or partially correct solutions, rather than just pattern memorization from limited original tests.
  3. Beyond Basic Tests: Common AI Code Flaws Uncovered: The 35x expansion in MBPP+ test cases is crucial for uncovering specific, subtle flaws in AI-generated code often missed by simpler benchmarks. These include critical errors like variable type mismatches, index out-of-bounds, invalid input handling, and various edge case failures.

Sources

Open the full topic