{"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":"4bc15a61-3ea3-5c12-9431-29a099423cb3","task_key":"default--v0~2e1~2e0~5fhf--4bc15a61-3ea3-5c12-9431-29a099423cb3","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 4bc15a61-3ea3-5c12-9431-29a099423cb3","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import math\\nimport matplotlib.pyplot as plt\\nimport numpy as np\\nimport random\\n# Constants\\nRANGE = 10000\\nSIZE = 1000\\nPI = np.pi\\ndef task_func(size=SIZE, frequency=1):\\n\",\"complete_prompt\":\"import math\\nimport matplotlib.pyplot as plt\\nimport numpy as np\\nimport random\\n# Constants\\nRANGE = 10000\\nSIZE = 1000\\nPI = np.pi\\n\\n\\ndef task_func(size=SIZE, frequency=1):\\n    '''\\n    Create a list of random sinusoidal values and plot them in a graph.\\n    \\n    Parameters:\\n    - size (int): The number of points for the sinusoidal wave. Default is 1000.\\n    - frequency (float): The frequency of the sinusoidal wave. Default is 1.\\n    \\n    Returns:\\n    - Axes object: The plot of the sinusoidal wave.\\n    \\n    Requirements:\\n    - random\\n    - math\\n    - matplotlib.pyplot\\n    - numpy\\n    \\n    Example:\\n    >>> import matplotlib\\n    >>> ax = task_func(size=1000, frequency=1)\\n    >>> isinstance(ax, matplotlib.axes.Axes)\\n    True\\n    >>> len(ax.lines[0].get_ydata()) == 1000  # Verify the number of data points in the sinusoidal wave\\n    True\\n    >>> isinstance(ax.lines[0].get_ydata()[0], float)  # Check if y-values are floating-point numbers\\n    True\\n    '''\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Create a list of random sinusoidal values and plot them in a graph.\\nThe function should output with:\\n    Axes object: The plot of the sinusoidal wave.\\nYou should write self-contained code starting with:\\n```\\nimport math\\nimport matplotlib.pyplot as plt\\nimport numpy as np\\nimport random\\n# Constants\\nRANGE = 10000\\nSIZE = 1000\\nPI = np.pi\\ndef task_func(size=SIZE, frequency=1):\\n```\",\"libs\":\"['math', 'numpy', 'matplotlib', 'random']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}