{"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":"3ff3e44f-3349-5333-8e06-504be4a63583","task_key":"default--v0~2e1~2e0~5fhf--3ff3e44f-3349-5333-8e06-504be4a63583","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 3ff3e44f-3349-5333-8e06-504be4a63583","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import numpy as np\\nimport pandas as pd\\ndef task_func(array_length=100):\\n\",\"complete_prompt\":\"import numpy as np\\nimport pandas as pd\\n\\n\\ndef task_func(array_length=100):\\n    '''\\n    Generate two arrays of random numbers of a given length, calculate their mean, median, and standard deviation,\\n    then store these results in a Panda DataFrame 'statistics' with keys 'Array1' and 'Array2'.\\n    Draw a bar chart to compare these statistics with indices 'Mean', 'Median', and 'Standard Deviation'.\\n\\n    Parameters:\\n    - array_length (int, optional): The length of the arrays to be generated. Default is 100.\\n\\n    Returns:\\n    - DataFrame: A pandas DataFrame with the statistics of the arrays.\\n    - Axes: The bar chart plot comparing the statistics.\\n\\n    Requirements:\\n    - numpy\\n    - pandas\\n\\n    Example:\\n    >>> df, ax = task_func(50)\\n    '''\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Generate two arrays of random numbers of a given length, calculate their mean, median, and standard deviation, then store these results in a Panda DataFrame 'statistics' with keys 'Array1' and 'Array2'. Draw a bar chart to compare these statistics with indices 'Mean', 'Median', and 'Standard Deviation'.\\nThe function should output with:\\n    DataFrame: A pandas DataFrame with the statistics of the arrays.\\n    Axes: The bar chart plot comparing the statistics.\\nYou should write self-contained code starting with:\\n```\\nimport numpy as np\\nimport pandas as pd\\ndef task_func(array_length=100):\\n```\",\"libs\":\"['pandas', 'numpy']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}