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.
The top 3
- MBPP+ Targets Top 4 Critical Code Flaws: MBPP+ systematically uncovers common execution errors like variable type mismatches, index out of bounds, invalid input handling, and critical edge case failures in LLM-generated Python code.
- Models See 10-15% Score Drop on MBPP+: Leading language models often experience a 10% to 15% absolute performance drop on MBPP+ and similar rigorous benchmarks compared to original, simpler tests, effectively revealing their brittle code.
- MBPP+'s 35x Tests Unmask Hidden Vulnerabilities: The benchmark's 35x test case expansion rigorously verifies code across normal, edge, and tricky inputs, leveraging type-aware mutation to generate diverse inputs, boundary values, and rare scenarios that expose hidden code vulnerabilities.
Sources
Open the full topic