{"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":"d3aef295-6f31-58df-87bb-0817e148737a","task_key":"default--v0~2e1~2e0~5fhf--d3aef295-6f31-58df-87bb-0817e148737a","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf d3aef295-6f31-58df-87bb-0817e148737a","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import pandas as pd\\nimport matplotlib.pyplot as plt\\ndef task_func(d, keys=['x', 'y', 'z']):\\n\",\"complete_prompt\":\"import pandas as pd\\nimport matplotlib.pyplot as plt\\n\\ndef task_func(d, keys=['x', 'y', 'z']):\\n    \\\"\\\"\\\"\\n    Plot values from a list of dictionaries based on specified keys and return the plot as a Matplotlib Axes object.\\n    \\n    Parameters:\\n    d (list): A list of dictionaries containing numerical data.\\n    keys (list, optional): A list of string keys to plot. Defaults to ['x', 'y', 'z'].\\n\\n    Returns:\\n    Matplotlib Axes object: The plot showing the values of specified keys from the input list of dictionaries.\\n\\n    Requirements:\\n    - pandas\\n    - matplotlib.pyplot\\n\\n    Example:\\n    >>> data = [{'x': 1, 'y': 10, 'z': 5}, {'x': 3, 'y': 15, 'z': 6}, {'x': 2, 'y': 1, 'z': 7}]\\n    >>> ax = task_func(data)\\n    >>> type(ax)\\n    <class 'matplotlib.axes._axes.Axes'>\\n\\n    >>> ax = task_func(data, keys=['x', 'y'])\\n    >>> type(ax)\\n    <class 'matplotlib.axes._axes.Axes'>\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Plot values from a list of dictionaries based on specified keys and return the plot as a Matplotlib Axes object. >>> ax = task_func(data, keys=['x', 'y']) >>> type(ax) <class 'matplotlib.axes._axes.Axes'>\\nThe function should output with:\\n    Matplotlib Axes object: The plot showing the values of specified keys from the input list of dictionaries.\\nYou should write self-contained code starting with:\\n```\\nimport pandas as pd\\nimport matplotlib.pyplot as plt\\ndef task_func(d, keys=['x', 'y', 'z']):\\n```\",\"libs\":\"['pandas', 'matplotlib']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}