{"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":"5ebdaf9f-064e-5143-9596-511d9626114f","task_key":"default--v0~2e1~2e0~5fhf--5ebdaf9f-064e-5143-9596-511d9626114f","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 5ebdaf9f-064e-5143-9596-511d9626114f","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import random\\nimport matplotlib.pyplot as plt\\ndef task_func(points: int):\\n\",\"complete_prompt\":\"import random\\nimport matplotlib.pyplot as plt\\n\\n\\ndef task_func(points: int):\\n    \\\"\\\"\\\"\\n    Generate a plot of random numbers such that indices are on the x-axis and generated numbers are on the y-axis.\\n\\n    Parameters:\\n    - points (int): Number of random points to generate.\\n\\n    Returns:\\n    - Returns a tuple containing:\\n        - A list of generated random numbers.\\n        - A matplotlib Axes object representing the plot.\\n\\n    Requirements:\\n    - random\\n    - matplotlib.pyplot\\n\\n    Example:\\n    >>> import random\\n    >>> random.seed(0)\\n    >>> task_func(5)\\n    ([0.8444218515250481, 0.7579544029403025, 0.420571580830845, 0.25891675029296335, 0.5112747213686085], <Axes: >)\\n    >>> task_func(3)\\n    ([0.4049341374504143, 0.7837985890347726, 0.30331272607892745], <Axes: >)\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Generate a plot of random numbers such that indices are on the x-axis and generated numbers are on the y-axis.\\nThe function should output with:\\n    Returns a tuple containing:\\n    A list of generated random numbers.\\n    A matplotlib Axes object representing the plot.\\nYou should write self-contained code starting with:\\n```\\nimport random\\nimport matplotlib.pyplot as plt\\ndef task_func(points: int):\\n```\",\"libs\":\"['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":[]}