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
00311.py13 linesDownload Raw Back to src
1def max_len_sub(arr, n):2    mls = []3    max = 04    for i in range(n):5        mls.append(1)6    for i in range(n):7        for j in range(i):8            if abs(arr[i] - arr[j]) <= 1 and mls[i] < mls[j] + 1:9                mls[i] = mls[j] + 110    for i in range(n):11        if max < mls[i]:12            max = mls[i]13    return max