{"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":"10c33acc-540e-5042-96f4-e3408cdab21a","task_key":"default--v0~2e1~2e0~5fhf--10c33acc-540e-5042-96f4-e3408cdab21a","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 10c33acc-540e-5042-96f4-e3408cdab21a","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import pandas as pd\\nimport os\\ndef task_func(original_file_location=\\\"test.xlsx\\\", new_file_location=\\\"new_test.xlsx\\\", sheet_name=\\\"Sheet1\\\"):\\n\",\"complete_prompt\":\"import pandas as pd\\nimport os\\n\\ndef task_func(original_file_location=\\\"test.xlsx\\\", new_file_location=\\\"new_test.xlsx\\\", sheet_name=\\\"Sheet1\\\"):\\n    \\\"\\\"\\\"\\n    Copies data from an Excel spreadsheet into a new Excel file, then reads the new Excel file and returns its contents.\\n\\n    Parameters:\\n    - original_file_location (str): Path to the original Excel file. Defaults to 'test.xlsx'.\\n    - new_file_location (str): Path to save the new Excel file. Defaults to 'new_test.xlsx'.\\n    - sheet_name (str): Name of the sheet to load data from. Defaults to 'Sheet1'.\\n\\n    Returns:\\n    - DataFrame: A pandas DataFrame representing the content of the new Excel file.\\n\\n    Raises:\\n    - FileNotFoundError: If the original Excel file does not exist at the specified path.\\n    - ValueError: If the specified sheet does not exist in the workbook.\\n\\n    Requirements:\\n    - pandas\\n    - os\\n\\n    Example:\\n    >>> file_path, file_new_path, sheet_name = 'test.xlsx', 'new_test.xlsx', 'Sheet1'\\n    >>> create_dummy_excel(file_path, sheet_name)\\n    >>> df = task_func(file_path, file_new_path, sheet_name)\\n    >>> os.remove(file_path)\\n    >>> os.remove(file_new_path)\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Copies data from an Excel spreadsheet into a new Excel file, then reads the new Excel file and returns its contents.\\nThe function should raise the exception for: FileNotFoundError: If the original Excel file does not exist at the specified path. ValueError: If the specified sheet does not exist in the workbook.\\nThe function should output with:\\n    DataFrame: A pandas DataFrame representing the content of the new Excel file.\\nYou should write self-contained code starting with:\\n```\\nimport pandas as pd\\nimport os\\ndef task_func(original_file_location=\\\"test.xlsx\\\", new_file_location=\\\"new_test.xlsx\\\", sheet_name=\\\"Sheet1\\\"):\\n```\",\"libs\":\"['pandas', 'os']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}