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
00187.py19 linesDownload Raw Back to src
1import math2 3def sum_of_odd_Factors(n):4    res = 15    while n % 2 == 0:6        n = n // 27    for i in range(3, int(math.sqrt(n) + 1)):8        count = 09        curr_sum = 110        curr_term = 111        while n % i == 0:12            count += 113            n = n // i14            curr_term *= i15            curr_sum += curr_term16        res *= curr_sum17    if n >= 2:18        res *= 1 + n19    return res