{"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":"f5a0ce17-ffaa-55f5-a94b-acca5bf2c026","task_key":"default--v0~2e1~2e0~5fhf--f5a0ce17-ffaa-55f5-a94b-acca5bf2c026","task_revision_id":"2","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf f5a0ce17-ffaa-55f5-a94b-acca5bf2c026","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import random\\nimport seaborn as sns\\nimport numpy as np\\nfrom matplotlib import pyplot as plt\\ndef task_func(length, range_limit=100, seed=0):\\n\",\"complete_prompt\":\"import random\\nimport seaborn as sns\\nimport numpy as np\\nfrom matplotlib import pyplot as plt\\n\\ndef task_func(length, range_limit=100, seed=0):\\n    \\\"\\\"\\\"\\n    Create a list of random numbers, sort them and record the distribution of the numbers in a histogram using \\n    default settings in a deterministic seaborn plot. Return the axes object and the list of random numbers.\\n\\n    Parameters:\\n    length (int): The length of the list of random numbers.\\n    range_limit (int, Optional): The range of the random numbers. Defaults to 100. Must be greater than 1.\\n    seed (int, Optional): The seed value for the random number generator. Defaults to 0.\\n\\n    Returns:\\n    Tuple[matplotlib.axes._axes.Axes, List[int]]: The axes object with the plot and the list of random numbers.\\n\\n    Requirements:\\n    - random\\n    - matplotlib.pyplot\\n    - seaborn\\n    - numpy\\n\\n    Raises:\\n    ValueError: If range_limit is less than or equal to 1.\\n\\n    Example:\\n    >>> import matplotlib.pyplot as plt\\n    >>> ax, data = task_func(1000, 100, 24) # Generate a list of 1000 random numbers between 1 and 100\\n    >>> isinstance(ax, plt.Axes)\\n    True\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Create a list of random numbers, sort them and record the distribution of the numbers in a histogram using default settings in a deterministic seaborn plot. Return the axes object and the list of random numbers.\\nThe function should raise the exception for: ValueError: If range_limit is less than or equal to 1.\\nThe function should output with:\\n    Tuple[matplotlib.axes._axes.Axes, List[int]]: The axes object with the plot and the list of random numbers.\\nYou should write self-contained code starting with:\\n```\\nimport random\\nimport seaborn as sns\\nimport numpy as np\\nfrom matplotlib import pyplot as plt\\ndef task_func(length, range_limit=100, seed=0):\\n```\",\"libs\":\"['numpy', 'matplotlib', 'random', 'seaborn']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"noindex","subproblems":[],"grids":[]}