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 int_to_roman(num):2 val = [1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1]3 syb = ['M', 'CM', 'D', 'CD', 'C', 'XC', 'L', 'XL', 'X', 'IX', 'V', 'IV', 'I']4 roman_num = ''5 i = 06 while num > 0:7 for _ in range(num // val[i]):8 roman_num += syb[i]9 num -= val[i]10 i += 111 return roman_num