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 comb_sort(nums):2 shrink_fact = 1.33 gaps = len(nums)4 swapped = True5 i = 06 while gaps > 1 or swapped:7 gaps = int(float(gaps) / shrink_fact)8 swapped = False9 i = 010 while gaps + i < len(nums):11 if nums[i] > nums[i + gaps]:12 nums[i], nums[i + gaps] = (nums[i + gaps], nums[i])13 swapped = True14 i += 115 return nums