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 re2 3def pass_validity(p):4 x = True5 while x:6 if len(p) < 6 or len(p) > 12:7 break8 elif not re.search('[a-z]', p):9 break10 elif not re.search('[0-9]', p):11 break12 elif not re.search('[A-Z]', p):13 break14 elif not re.search('[$#@]', p):15 break16 elif re.search('\\s', p):17 break18 else:19 return True20 x = False21 break22 if x:23 return False