{"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":"d64cf892-52a1-5942-8a6a-ba0d164e29fe","task_key":"default--v0~2e1~2e0~5fhf--d64cf892-52a1-5942-8a6a-ba0d164e29fe","task_revision_id":"2","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf d64cf892-52a1-5942-8a6a-ba0d164e29fe","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import pandas as pd\\nimport seaborn as sns\\nimport numpy as np\\nimport ast\\ndef task_func(csv_file):\\n\",\"complete_prompt\":\"import pandas as pd\\nimport seaborn as sns\\nimport numpy as np\\nimport ast\\n\\ndef task_func(csv_file):\\n    \\\"\\\"\\\"\\n    Load e-mail data from a CSV file, convert it into a Pandas DataFrame, and calculate the sum, mean, and standard deviation of the list associated with each e-mail. Additionally, this function will\\n    draw a histogram of the mean values and return both the DataFrame and the histogram plot.\\n\\n    Parameters:\\n    - csv_file (str): The path to the CSV file containing email data.\\n\\n    Returns:\\n    - tuple: A tuple containing two elements:\\n        - DataFrame: A pandas DataFrame with columns 'email', 'list', 'sum', 'mean', and 'std'.\\n        - Axes: A histogram plot of the mean values.\\n\\n    Requirements:\\n    - pandas\\n    - seaborn\\n    - numpy\\n    - ast\\n\\n    Example:\\n    >>> df, plot = task_func('data/task_func/csv_1.csv')\\n    >>> print(df.head())\\n    >>> print(type(plot))\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Load e-mail data from a CSV file, convert it into a Pandas DataFrame, and calculate the sum, mean, and standard deviation of the list associated with each e-mail. Additionally, this function will draw a histogram of the mean values and return both the DataFrame and the histogram plot.\\nThe function should output with:\\n    tuple: A tuple containing two elements:\\n    DataFrame: A pandas DataFrame with columns 'email', 'list', 'sum', 'mean', and 'std'.\\n    Axes: A histogram plot of the mean values.\\nYou should write self-contained code starting with:\\n```\\nimport pandas as pd\\nimport seaborn as sns\\nimport numpy as np\\nimport ast\\ndef task_func(csv_file):\\n```\",\"libs\":\"['ast', 'pandas', 'numpy', 'seaborn']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"noindex","subproblems":[],"grids":[]}