{"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":"cfa307c8-4a56-5cc1-84c3-67713441d313","task_key":"default--v0~2e1~2e0~5fhf--cfa307c8-4a56-5cc1-84c3-67713441d313","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf cfa307c8-4a56-5cc1-84c3-67713441d313","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import matplotlib\\nimport numpy as np\\ndef task_func(ax, num_points):\\n\",\"complete_prompt\":\"import matplotlib\\nimport numpy as np\\n\\n\\ndef task_func(ax, num_points):\\n    \\\"\\\"\\\"\\n    Plots \\\"num_points\\\" random points on the polar diagram represented by \\\"ax.\\\"\\n    The radial ticks on the plot are positioned based on the number of points divided by 10 degrees.\\n\\n    Parameters:\\n    ax (matplotlib.axes._axes.Axes): The Axes object for the polar plot.\\n    num_points (int): The number of random points to generate and plot.\\n\\n    Returns:\\n    matplotlib.axes._axes.Axes: The modified Axes object with plotted points.\\n\\n    Raises:\\n    - This function will raise a ValueError if the input ax is not and Axes.\\n    - This function will raise a ValueError if it is use the negative number as num_points.\\n\\n    Requirements:\\n    - matplotlib\\n    - numpy\\n\\n    Example:\\n    >>> np.random.seed(0)\\n    >>> fig = plt.figure()\\n    >>> ax = fig.add_subplot(111, polar=True)\\n    >>> ax = task_func(ax, 100)\\n    >>> ax.get_rlabel_position()\\n    10.0\\n    >>> plt.close()\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Plots \\\"num_points\\\" random points on the polar diagram represented by \\\"ax.\\\" The radial ticks on the plot are positioned based on the number of points divided by 10 degrees.\\nThe function should raise the exception for: This function will raise a ValueError if the input ax is not and Axes. This function will raise a ValueError if it is use the negative number as num_points.\\nThe function should output with:\\n    matplotlib.axes._axes.Axes: The modified Axes object with plotted points.\\nYou should write self-contained code starting with:\\n```\\nimport matplotlib\\nimport numpy as np\\ndef task_func(ax, num_points):\\n```\",\"libs\":\"['numpy', 'matplotlib']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}