MBPP › Key Parameters for Evaluation
Michael BrenndoerferMarch 3, 20262 min read
Language AI HandbookAll chapters Part 54 of 67Benchmark Evaluation
MBPP › Key Parameters for EvaluationOne section · Sections in this chapter5 / 12 ↓
Sections in this chapter12
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
Designing an MBPP evaluation run requires choosing values for several parameters that materially affect the results:
- (samples per problem): The total number of candidate solutions to generate. The original paper used , which gives stable estimates but requires substantial computation. Smaller values like or are often used when evaluating large models with expensive inference. Smaller increases variance in the estimates but is often acceptable for comparing models that differ by several percentage points.
- (correct count): This is determined empirically by running all samples against the test suite. It is not a hyperparameter but rather an observed quantity per problem.
- (samples to select): The published metric. Common choices are (single-shot performance), (performance with limited retries), and (upper bound on performance given many attempts). Most modern papers report pass@1 as the primary metric since it best shows real-world usage scenarios.
- Timeout: The maximum execution time per candidate. MBPP problems are computationally lightweight, so a 5-second timeout is usually sufficient. Longer timeouts increase evaluation time; shorter timeouts risk false negatives for correct solutions that happen to be computationally inefficient.
- Temperature: The sampling temperature used during generation. Higher temperatures produce more diverse samples, which can increase pass@k for larger but may decrease pass@1. Temperature 0 (greedy decoding) is often used for pass@1 evaluation.