{"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":"3fb8a14d-5e49-5d0b-a9fa-1f0c5f298ec1","task_key":"default--v0~2e1~2e0~5fhf--3fb8a14d-5e49-5d0b-a9fa-1f0c5f298ec1","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 3fb8a14d-5e49-5d0b-a9fa-1f0c5f298ec1","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import matplotlib.pyplot as plt\\nimport numpy as np\\ndef task_func(n, seed=0):\\n\",\"complete_prompt\":\"import matplotlib.pyplot as plt\\nimport numpy as np\\n\\n\\ndef task_func(n, seed=0):\\n    \\\"\\\"\\\"\\n    Generates a simple scatter plot with 'n' points.\\n\\n    Parameters:\\n    - n (int): The number of points to be plotted.\\n    - seed (int, optional): The seed for the random number generator. Defaults to None.\\n\\n    Returns:\\n    - plot (matplotlib.figure.Figure): The generated plot titled \\\"Scatter plot of random points\\\", with x-axis labeled \\\"X\\\" and y-axis labeled \\\"Y\\\".\\n    - points (list of tuples): List containing the (x, y) coordinates of the plotted points.\\n\\n    Requirements:\\n    - numpy\\n    - matplotlib.pyplot\\n    \\n    Example:\\n    >>> task_func(5)\\n    (<Figure size 640x480 with 1 Axes>, [(0.5488135039273248, 0.6458941130666561), (0.7151893663724195, 0.4375872112626925), (0.6027633760716439, 0.8917730007820798), (0.5448831829968969, 0.9636627605010293), (0.4236547993389047, 0.3834415188257777)])\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Generates a simple scatter plot with 'n' points.\\nThe function should output with:\\n    plot (matplotlib.figure.Figure): The generated plot titled \\\"Scatter plot of random points\\\", with x-axis labeled \\\"X\\\" and y-axis labeled \\\"Y\\\".\\n    points (list of tuples): List containing the (x, y) coordinates of the plotted points.\\nYou should write self-contained code starting with:\\n```\\nimport matplotlib.pyplot as plt\\nimport numpy as np\\ndef task_func(n, seed=0):\\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":[]}