{"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":"73caa6b0-0842-5e02-abcd-7e520980f3a0","task_key":"default--v0~2e1~2e0~5fhf--73caa6b0-0842-5e02-abcd-7e520980f3a0","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 73caa6b0-0842-5e02-abcd-7e520980f3a0","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import matplotlib.pyplot as plt\\nimport numpy as np\\ndef task_func(myList):\\n\",\"complete_prompt\":\"import matplotlib.pyplot as plt\\nimport numpy as np\\n\\n\\ndef task_func(myList):\\n    \\\"\\\"\\\"\\n    Draws a histogram of the values in a list and returns the plot's Axes.\\n\\n    For visualization:\\n      - Bin edges are adjusted to align with integer values in `myList`.\\n      - Histogram bars are outlined in black.\\n      - X-axis label: 'Value'\\n      - Y-axis label: 'Frequency'\\n      - Plot title: 'Histogram of Values'\\n\\n    Parameters:\\n    - myList (list): List of numerical values to plot.\\n\\n    Returns:\\n    - ax (matplotlib.axes._axes.Axes): Axes object of the histogram plot.\\n\\n    Requirements:\\n    - matplotlib.pyplot\\n    - numpy\\n\\n    Example:\\n    >>> myList = [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]\\n    >>> ax = task_func(myList)\\n    >>> type(ax)\\n    <class 'matplotlib.axes._axes.Axes'>\\n    >>> ax.get_xticklabels()\\n    [Text(0.0, 0, '0.0'), Text(0.5, 0, '0.5'), Text(1.0, 0, '1.0'), Text(1.5, 0, '1.5'), Text(2.0, 0, '2.0'), Text(2.5, 0, '2.5'), Text(3.0, 0, '3.0'), Text(3.5, 0, '3.5'), Text(4.0, 0, '4.0'), Text(4.5, 0, '4.5'), Text(5.0, 0, '5.0')]\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Draws a histogram of the values in a list and returns the plot's Axes. For visualization: - Bin edges are adjusted to align with integer values in `myList`. - Histogram bars are outlined in black. - X-axis label: 'Value' - Y-axis label: 'Frequency' - Plot title: 'Histogram of Values'\\nThe function should output with:\\n    ax (matplotlib.axes._axes.Axes): Axes object of the histogram plot.\\nYou should write self-contained code starting with:\\n```\\nimport matplotlib.pyplot as plt\\nimport numpy as np\\ndef task_func(myList):\\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":[]}