{"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":"19a4b39a-ab44-58c6-ab88-903786d02b1d","task_key":"default--v0~2e1~2e0~5fhf--19a4b39a-ab44-58c6-ab88-903786d02b1d","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 19a4b39a-ab44-58c6-ab88-903786d02b1d","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import numpy as np\\nimport pandas as pd\\ndef task_func(rows, columns, seed=None):\\n\",\"complete_prompt\":\"import numpy as np\\nimport pandas as pd\\n\\ndef task_func(rows, columns, seed=None):\\n    \\\"\\\"\\\"\\n    Generate a DataFrame with random values within a specified range.\\n    \\n    This function creates a matrix of given dimensions filled with random values between 0 and 1 and returns it as a Pandas DataFrame. Users have the option to set a random seed for reproducible results.\\n    \\n    Parameters:\\n    - rows (int): The number of rows for the matrix.\\n    - columns (int): The number of columns for the matrix.\\n    - seed (int, optional): The seed for the random number generator. Default is None.\\n    \\n    Returns:\\n    - DataFrame: A Pandas DataFrame containing the generated random values.\\n    \\n    Requirements:\\n    - numpy\\n    - pandas\\n    \\n    Examples:\\n    >>> df = task_func(3, 2, seed=42)\\n    >>> print(df.shape)\\n    (3, 2)\\n    >>> df = task_func(1, 1, seed=24)\\n    >>> print(df.shape)\\n    (1, 1)\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Generate a DataFrame with random values within a specified range. This function creates a matrix of given dimensions filled with random values between 0 and 1 and returns it as a Pandas DataFrame. Users have the option to set a random seed for reproducible results.\\nThe function should output with:\\n    DataFrame: A Pandas DataFrame containing the generated random values.\\nYou should write self-contained code starting with:\\n```\\nimport numpy as np\\nimport pandas as pd\\ndef task_func(rows, columns, seed=None):\\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":[]}