{"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":"noindex","profile":{"resources":[],"task_format":"","scoring":"","metric":"","size":"","answer_access":"","license":"","citation":"","maintainer":"","released":"","why_hard":"","related":[]}},"task_id":"cfba5c46-b291-58fb-aec1-6b36fe93a163","task_key":"default--v0~2e1~2e0~5fhf--cfba5c46-b291-58fb-aec1-6b36fe93a163","task_revision_id":"2","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf cfba5c46-b291-58fb-aec1-6b36fe93a163","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import numpy as np\\nimport matplotlib.pyplot as plt\\ndef task_func():\\n\",\"complete_prompt\":\"import numpy as np\\nimport matplotlib.pyplot as plt\\n\\ndef task_func():\\n    \\\"\\\"\\\"\\n    Draws the linear equation y = 2x + 1 on a 2D plot for x values ranging from -10 to 10, and marks the solution for x = 2 with a green 'o' (circle) marker.\\n\\n    The plot includes:\\n    - A red line representing the equation y = 2x + 1, labeled as 'y=2x+1', for x in [-10, 10].\\n    - A green circle marker indicating the solution at x = 2, y = 5.\\n    - Title: 'Solution of the equation y=2x+1 at x=2'\\n    - X-axis labeled as 'x', with a range from -10 to 10.\\n    - Y-axis labeled as 'y', with a range automatically adjusted based on the equation.\\n    - A legend indicating labels for the equation and the solution point.\\n\\n    Returns:\\n        matplotlib.axes.Axes: An object representing the plot with specified features and ranges.\\n\\n    Requirements:\\n        - numpy\\n        - matplotlib.pyplot\\n    \\n    Example:\\n    >>> ax = task_func()\\n    >>> ax.get_title()\\n    'Solution of the equation y=2x+1 at x=2'\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Draws the linear equation y = 2x + 1 on a 2D plot for x values ranging from -10 to 10, and marks the solution for x = 2 with a green 'o' (circle) marker. The plot includes: - A red line representing the equation y = 2x + 1, labeled as 'y=2x+1', for x in [-10, 10]. - A green circle marker indicating the solution at x = 2, y = 5. - Title: 'Solution of the equation y=2x+1 at x=2' - X-axis labeled as 'x', with a range from -10 to 10. - Y-axis labeled as 'y', with a range automatically adjusted based on the equation. - A legend indicating labels for the equation and the solution point.\\nThe function should output with:\\n    matplotlib.axes.Axes: An object representing the plot with specified features and ranges.\\nYou should write self-contained code starting with:\\n```\\nimport numpy as np\\nimport matplotlib.pyplot as plt\\ndef task_func():\\n```\",\"libs\":\"['numpy', 'matplotlib']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"noindex","subproblems":[],"grids":[]}