{"kind":"task","effective_mode":"full","benchmark":{"kind":"benchmark","effective_mode":"full","slug":"bigcodebench","formal_name":"BigCodeBench","introduction":"BigCodeBench poses 1,140 function-level tasks drawn across 139 libraries. It tests whether a model can compose several real APIs correctly rather than write one self-contained function.","introduction_ja":"","introduction_en":"","category":"Category not supplied","task_count":null,"acquisition_status":"Acquisition status not supplied","official_url":"https://bigcode-bench.github.io/","indexing_mode":"noindex","profile":{"resources":[],"task_format":"","scoring":"","metric":"","size":"","answer_access":"","license":"","citation":"","maintainer":"","released":"","why_hard":"","related":[]}},"task_id":"691d0e78-ff5d-5c63-815d-01e674b720c1","task_key":"default--v0~2e1~2e0~5fhf--691d0e78-ff5d-5c63-815d-01e674b720c1","task_revision_id":"2","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 691d0e78-ff5d-5c63-815d-01e674b720c1","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import numpy as np\\nimport itertools\\nimport random\\ndef task_func(T1, max_value=100):\\n\",\"complete_prompt\":\"import numpy as np\\nimport itertools\\nimport random\\n\\n\\ndef task_func(T1, max_value=100):\\n    \\\"\\\"\\\"\\n    Converts elements in 'T1', a tuple of tuples containing string representations \\n    of integers, to integers and creates a list of random integers. The size of the \\n    list equals the sum of these integers. Returns the 25th, 50th, and 75th percentiles \\n    of this list.\\n\\n    Parameters:\\n    T1 (tuple of tuple of str): A tuple of tuples, each containing string representations of integers.\\n    max_value (int): The upper bound for random number generation, exclusive. Default is 100.\\n    \\n    Returns:\\n    tuple: A tuple (p25, p50, p75) representing the 25th, 50th, and 75th percentiles of the list.\\n\\n    Requirements:\\n    - numpy\\n    - itertools\\n    - random\\n    \\n    Example:\\n    >>> import random\\n    >>> random.seed(42)\\n    >>> T1 = (('13', '17', '18', '21', '32'), ('07', '11', '13', '14', '28'), ('01', '05', '06', '08', '15', '16'))\\n    >>> percentiles = task_func(T1)\\n    >>> print(percentiles)\\n    (24.0, 48.0, 77.0)\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Converts elements in 'T1', a tuple of tuples containing string representations of integers, to integers and creates a list of random integers. The size of the list equals the sum of these integers. Returns the 25th, 50th, and 75th percentiles of this list.\\nThe function should output with:\\n    tuple: A tuple (p25, p50, p75) representing the 25th, 50th, and 75th percentiles of the list.\\nYou should write self-contained code starting with:\\n```\\nimport numpy as np\\nimport itertools\\nimport random\\ndef task_func(T1, max_value=100):\\n```\",\"libs\":\"['numpy', 'itertools', 'random']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"noindex","subproblems":[],"grids":[]}