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
00174.py18 linesDownload Raw Back to src
1from sys import maxsize2 3def max_sub_array_sum(a, size):4    max_so_far = -maxsize - 15    max_ending_here = 06    start = 07    end = 08    s = 09    for i in range(0, size):10        max_ending_here += a[i]11        if max_so_far < max_ending_here:12            max_so_far = max_ending_here13            start = s14            end = i15        if max_ending_here < 0:16            max_ending_here = 017            s = i + 118    return end - start + 1