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
00016.py25 linesDownload Raw Back to src
1def get_median(arr1, arr2, n):2    i = 03    j = 04    m1 = -15    m2 = -16    count = 07    while count < n + 1:8        count += 19        if i == n:10            m1 = m211            m2 = arr2[0]12            break13        elif j == n:14            m1 = m215            m2 = arr1[0]16            break17        if arr1[i] <= arr2[j]:18            m1 = m219            m2 = arr1[i]20            i += 121        else:22            m1 = m223            m2 = arr2[j]24            j += 125    return (m1 + m2) / 2