MBPP+'s 35x Test Case Expansion: What it Uncovers

MBPP+ significantly expands test cases for each problem by 35 times compared to the original MBPP, generated using LLM-based and mutation-based strategies. This rigorous testing exposes edge-case bugs and assesses code robustness against corner and failure-prone scenarios that simpler benchmarks miss.

The top 3

  1. Top Models' Pass Rates Plummet on MBPP+: The 35x test case expansion on MBPP+ revealed that top-performing code generation models saw their pass@1 scores drop significantly, by 6 to 15 percentage points, exposing substantial previously missed bugs. For instance, one model's score fell from 95.5% on base MBPP to 80.2% on EvalPlus tests.
  2. MBPP+ Uncovers Hidden Edge Cases, Brittle Code: The rigorous MBPP+ tests expose LLMs' vulnerabilities to diverse and challenging inputs, catching brittle or partially correct solutions that passed original tests. It reveals weaknesses in handling edge cases, complex multi-step reasoning, and semantic errors where generated code fails to capture the full intent.
  3. Why MBPP+ Redefines "Correctness" for Code AI: MBPP+'s expanded test suite shifts the evaluation focus from simple "happy path" correctness to true robustness and real-world reliability. It highlights that high scores on original benchmarks often reflected pattern memorization or thin test coverage, pushing the field towards more comprehensive and semantically rigorous assessments of LLM coding ability.

Sources

Open the full topic