CoolFace
Datasetpublic

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.

sourceHugging Facecc-by-4.0updated 2mo agoView on Hugging Face
0likes479downloads
00258.py26 linesDownload Raw Back to src
1def chinese_zodiac(year):2    if (year - 2000) % 12 == 0:3        sign = 'Dragon'4    elif (year - 2000) % 12 == 1:5        sign = 'Snake'6    elif (year - 2000) % 12 == 2:7        sign = 'Horse'8    elif (year - 2000) % 12 == 3:9        sign = 'sheep'10    elif (year - 2000) % 12 == 4:11        sign = 'Monkey'12    elif (year - 2000) % 12 == 5:13        sign = 'Rooster'14    elif (year - 2000) % 12 == 6:15        sign = 'Dog'16    elif (year - 2000) % 12 == 7:17        sign = 'Pig'18    elif (year - 2000) % 12 == 8:19        sign = 'Rat'20    elif (year - 2000) % 12 == 9:21        sign = 'Ox'22    elif (year - 2000) % 12 == 10:23        sign = 'Tiger'24    else:25        sign = 'Hare'26    return sign