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 cal_electbill(units):2 if units < 50:3 amount = units * 2.64 surcharge = 255 elif units <= 100:6 amount = 130 + (units - 50) * 3.257 surcharge = 358 elif units <= 200:9 amount = 130 + 162.5 + (units - 100) * 5.2610 surcharge = 4511 else:12 amount = 130 + 162.5 + 526 + (units - 200) * 8.4513 surcharge = 7514 total = amount + surcharge15 return total