{"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":"1791f8d3-bbef-5b21-8ba9-78298635ad54","task_key":"default--v0~2e1~2e0~5fhf--1791f8d3-bbef-5b21-8ba9-78298635ad54","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 1791f8d3-bbef-5b21-8ba9-78298635ad54","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import random\\nimport math\\nimport matplotlib.pyplot as plt\\ndef task_func(points_count=1000, radius=1):\\n\",\"complete_prompt\":\"import random\\nimport math\\nimport matplotlib.pyplot as plt\\n\\ndef task_func(points_count=1000, radius=1):\\n    \\\"\\\"\\\"\\n    Generate a specified (i.e., points_counts) number of random points within a circle of a given radius and plot them using a scatter plot.\\n\\n    Parameters:\\n    - points_count (int): The number of random points to generate. Default is 1000.\\n    - radius (float): The radius of the circle within which points are generated. Default is 1.\\n\\n    Returns:\\n    - Axes: The matplotlib Axes object representing the scatter plot.\\n\\n    Note:\\n    - All settings of the scatter plot are the default version.\\n    - The aspect ratio of the plot is set to 'equal' to maintain proportions.\\n\\n    Requirements:\\n    - random\\n    - math\\n    - matplotlib.pyplot\\n\\n    Example:\\n    >>> import matplotlib.pyplot as plt\\n    >>> random.seed(0)\\n    >>> ax = task_func(500, 0.5)\\n    >>> len(ax.collections[0].get_offsets())\\n    500\\n    >>> plt.close()\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Generate a specified (i.e., points_counts) number of random points within a circle of a given radius and plot them using a scatter plot.\\nNote that: All settings of the scatter plot are the default version. The aspect ratio of the plot is set to 'equal' to maintain proportions.\\nThe function should output with:\\n    Axes: The matplotlib Axes object representing the scatter plot.\\nYou should write self-contained code starting with:\\n```\\nimport random\\nimport math\\nimport matplotlib.pyplot as plt\\ndef task_func(points_count=1000, radius=1):\\n```\",\"libs\":\"['math', 'random', 'matplotlib']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}