{"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":"8a4bb245-62ea-54b1-9132-a64cb64ecbc5","task_key":"default--v0~2e1~2e0~5fhf--8a4bb245-62ea-54b1-9132-a64cb64ecbc5","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 8a4bb245-62ea-54b1-9132-a64cb64ecbc5","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import numpy as np\\nimport pandas as pd\\nimport random\\ndef task_func(rows=3, cols=2, min_val=0, max_val=100, seed=0):\\n\",\"complete_prompt\":\"import numpy as np\\nimport pandas as pd\\nimport random\\n\\ndef task_func(rows=3, cols=2, min_val=0, max_val=100, seed=0):\\n    \\\"\\\"\\\"\\n    Creates a matrix of specified dimensions with random integers within a given range,\\n    and then converts it into a pandas DataFrame.\\n    \\n    Parameters:\\n    - rows (int): Number of rows in the matrix. Default is 3.\\n    - cols (int): Number of columns in the matrix. Default is 2.\\n    - min_val (int): Minimum integer value for the random integers. Default is 0.\\n    - max_val (int): Maximum integer value for the random integers. Default is 100.\\n    \\n    Returns:\\n    DataFrame: A pandas DataFrame containing random integers within the specified range.\\n    \\n    Requirements:\\n    - numpy\\n    - pandas\\n    - random\\n\\n    Example:\\n    >>> df = task_func(3, 2, 0, 100)\\n    >>> print(type(df))\\n    <class 'pandas.core.frame.DataFrame'>\\n    >>> print(df.shape)\\n    (3, 2)\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Creates a matrix of specified dimensions with random integers within a given range, and then converts it into a pandas DataFrame.\\nThe function should output with:\\n    DataFrame: A pandas DataFrame containing random integers within the specified range.\\nYou should write self-contained code starting with:\\n```\\nimport numpy as np\\nimport pandas as pd\\nimport random\\ndef task_func(rows=3, cols=2, min_val=0, max_val=100, seed=0):\\n```\",\"libs\":\"['pandas', 'numpy', 'random']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}