{"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":"9d3f00e5-7c26-5513-bdbd-bc48d52e2986","task_key":"default--v0~2e1~2e0~5fhf--9d3f00e5-7c26-5513-bdbd-bc48d52e2986","task_revision_id":"2","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 9d3f00e5-7c26-5513-bdbd-bc48d52e2986","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import pandas as pd\\nimport matplotlib.pyplot as plt\\nimport seaborn as sns\\ndef task_func(list_of_pairs):\\n\",\"complete_prompt\":\"import pandas as pd\\nimport matplotlib.pyplot as plt\\nimport seaborn as sns\\n\\n\\ndef task_func(list_of_pairs):\\n    \\\"\\\"\\\"\\n    Create a Pandas DataFrame from a list of pairs and visualize the data using a bar chart.\\n    - The title of the barplot should be set to 'Category vs Value'`.\\n\\n    Parameters:\\n    list_of_pairs (list of tuple): Each tuple contains:\\n        - str: Category name.\\n        - int: Associated value.\\n\\n    Returns:\\n    tuple:\\n        - DataFrame: A pandas DataFrame with columns 'Category' and 'Value'.\\n        - Axes: A matplotlib Axes displaying a bar chart of categories vs. values.\\n\\n    Requirements:\\n    - pandas\\n    - matplotlib.pyplot\\n    - seaborn\\n\\n    Example:\\n    >>> list_of_pairs = [('Fruits', 5), ('Vegetables', 9)]\\n    >>> df, ax = task_func(list_of_pairs)\\n    >>> print(df)\\n         Category  Value\\n    0      Fruits      5\\n    1  Vegetables      9\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Create a Pandas DataFrame from a list of pairs and visualize the data using a bar chart. - The title of the barplot should be set to 'Category vs Value'`.\\nThe function should output with:\\n    tuple:\\n    DataFrame: A pandas DataFrame with columns 'Category' and 'Value'.\\n    Axes: A matplotlib Axes displaying a bar chart of categories vs. values.\\nYou should write self-contained code starting with:\\n```\\nimport pandas as pd\\nimport matplotlib.pyplot as plt\\nimport seaborn as sns\\ndef task_func(list_of_pairs):\\n```\",\"libs\":\"['pandas', 'matplotlib', 'seaborn']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"noindex","subproblems":[],"grids":[]}