BlazingCustoms/pybytecode-mbpp-3.12
Data card — MBPP held-out decompilation benchmark 383 MBPP reference solutions compiled to Python 3.12 bytecode and paired with their source, with the original task_id restored on every row. Built 2026-08-04 by tools/build_mbpp_ood.py. Redistributable under CC-BY-4.0, provided NOTICES.md ships alongside. The set Rows 383 (400 candidates − 17 contaminated) Source google-research-datasets/mbpp, config full Licence CC-BY-4.0 task_id restored 383 /… See the full description on the dataset page: https://huggingface.co/datasets/BlazingCustoms/pybytecode-mbpp-3.12.
0479
1def min_jumps(arr, n):2 jumps = [0 for i in range(n)]3 if n == 0 or arr[0] == 0:4 return float('inf')5 jumps[0] = 06 for i in range(1, n):7 jumps[i] = float('inf')8 for j in range(i):9 if i <= j + arr[j] and jumps[j] != float('inf'):10 jumps[i] = min(jumps[i], jumps[j] + 1)11 break12 return jumps[n - 1]