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 max_sum_subseq(A):2 n = len(A)3 if n == 1:4 return A[0]5 look_up = [None] * n6 look_up[0] = A[0]7 look_up[1] = max(A[0], A[1])8 for i in range(2, n):9 look_up[i] = max(look_up[i - 1], look_up[i - 2] + A[i])10 look_up[i] = max(look_up[i], A[i])11 return look_up[n - 1]