{"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":"index","profile":{"resources":[],"task_format":"","scoring":"","metric":"","size":"","answer_access":"","license":"","citation":"","maintainer":"","released":"","why_hard":"","related":[],"history":"","construction":"","limitations":"","saturation":"","scores":[]}},"task_id":"9ada8dba-4e86-5f63-9fb5-b2e18fb123d5","task_key":"default--v0~2e1~2e0~5fhf--9ada8dba-4e86-5f63-9fb5-b2e18fb123d5","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 9ada8dba-4e86-5f63-9fb5-b2e18fb123d5","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import numpy as np\\nimport matplotlib.pyplot as plt\\nimport itertools\\ndef task_func(data_list):\\n\",\"complete_prompt\":\"import numpy as np\\nimport matplotlib.pyplot as plt\\nimport itertools\\n\\n\\ndef task_func(data_list):\\n    \\\"\\\"\\\"\\n    Unzips the provided list of tuples and plots the numerical values for each position.\\n    \\n    Parameters:\\n    - data_list (list of tuples): A list containing tuples. Each tuple should contain a character and two numerical values.\\n    \\n    Returns:\\n    - Axes: The plot with the unzipped numerical values.\\n    \\n    Requirements:\\n    - numpy\\n    - matplotlib.pyplot\\n    - itertools\\n\\n    Raises:\\n    - ValueError: If the data_list is empty.\\n    \\n    Example:\\n    >>> plot = task_func([('a', 1, 2), ('b', 2, 3), ('c', 3, 4), ('d', 4, 5), ('e', 5, 6)])\\n    >>> type(plot)\\n    <class 'matplotlib.axes._axes.Axes'>\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Unzips the provided list of tuples and plots the numerical values for each position.\\nThe function should raise the exception for: ValueError: If the data_list is empty.\\nThe function should output with:\\n    Axes: The plot with the unzipped numerical values.\\nYou should write self-contained code starting with:\\n```\\nimport numpy as np\\nimport matplotlib.pyplot as plt\\nimport itertools\\ndef task_func(data_list):\\n```\",\"libs\":\"['matplotlib', 'numpy', 'itertools']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}