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 merge(a, b):2 c = []3 while len(a) != 0 and len(b) != 0:4 if a[0] < b[0]:5 c.append(a[0])6 a.remove(a[0])7 else:8 c.append(b[0])9 b.remove(b[0])10 if len(a) == 0:11 c += b12 else:13 c += a14 return c15 16def merge_sort(x):17 if len(x) == 0 or len(x) == 1:18 return x19 else:20 middle = len(x) // 221 a = merge_sort(x[:middle])22 b = merge_sort(x[middle:])23 return merge(a, b)