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
1import math2import sys3 4def sd_calc(data):5 n = len(data)6 if n <= 1:7 return 0.08 mean, sd = (avg_calc(data), 0.0)9 for el in data:10 sd += (float(el) - mean) ** 211 sd = math.sqrt(sd / float(n - 1))12 return sd13 14def avg_calc(ls):15 n, mean = (len(ls), 0.0)16 if n <= 1:17 return ls[0]18 for el in ls:19 mean = mean + float(el)20 mean = mean / float(n)21 return mean