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
00211.py11 linesDownload Raw Back to src
1def is_Isomorphic(str1, str2):2    dict_str1 = {}3    dict_str2 = {}4    for i, value in enumerate(str1):5        dict_str1[value] = dict_str1.get(value, []) + [i]6    for j, value in enumerate(str2):7        dict_str2[value] = dict_str2.get(value, []) + [j]8    if sorted(dict_str1.values()) == sorted(dict_str2.values()):9        return True10    else:11        return False