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.
0503
1def count_vowels(test_str):2 res = 03 vow_list = ['a', 'e', 'i', 'o', 'u']4 for idx in range(1, len(test_str) - 1):5 if test_str[idx] not in vow_list and (test_str[idx - 1] in vow_list or test_str[idx + 1] in vow_list):6 res += 17 if test_str[0] not in vow_list and test_str[1] in vow_list:8 res += 19 if test_str[-1] not in vow_list and test_str[-2] in vow_list:10 res += 111 return res