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
00000.py17 linesDownload Raw Back to src
1class Pair(object):2 3    def __init__(self, a, b):4        self.a = a5        self.b = b6 7def max_chain_length(arr, n):8    max = 09    mcl = [1 for i in range(n)]10    for i in range(1, n):11        for j in range(0, i):12            if arr[i].a > arr[j].b and mcl[i] < mcl[j] + 1:13                mcl[i] = mcl[j] + 114    for i in range(n):15        if max < mcl[i]:16            max = mcl[i]17    return max