{"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":"e9854001-a5e4-52d0-9246-d4959cf0df9c","task_key":"default--v0~2e1~2e0~5fhf--e9854001-a5e4-52d0-9246-d4959cf0df9c","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf e9854001-a5e4-52d0-9246-d4959cf0df9c","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import os\\nimport csv\\nfrom openpyxl import load_workbook\\ndef task_func(file_name, excel_file_path, csv_file_path) -> str:\\n\",\"complete_prompt\":\"import os\\nimport csv\\nfrom openpyxl import load_workbook\\n\\ndef task_func(file_name, excel_file_path, csv_file_path) -> str:\\n    \\\"\\\"\\\"\\n    Converts an Excel file (.xls or .xlsx) to a CSV file by reading the contents of the Excel file\\n    and writing them to a new CSV file with the same name but a different extension. Allows specifying\\n    separate paths for the Excel file source and the CSV file destination.\\n\\n    Parameters:\\n        file_name (str): The name of the Excel file to be converted.\\n        excel_file_path (str): The directory path where the Excel file is located.\\n        csv_file_path (str): The directory path where the CSV file should be saved.\\n\\n    Returns:\\n        str: The name of the created CSV file.\\n\\n    Requirements:\\n    - openpyxl.load_workbook\\n    - os\\n    - csv\\n\\n    Example:\\n    >>> task_func('test.xlsx', '/path/to/excel/files', '/path/to/csv/files')\\n    'test.csv'\\n    >>> task_func('nonexistent.xlsx', '/path/to/excel/files', '/path/to/csv/files')\\n    Traceback (most recent call last):\\n       ...\\n    FileNotFoundError: [Errno 2] No such file or directory: '/path/to/excel/files/nonexistent.xlsx'\\n\\n    Note:\\n    - This function assumes the active sheet is the one to be converted.\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Converts an Excel file (.xls or .xlsx) to a CSV file by reading the contents of the Excel file and writing them to a new CSV file with the same name but a different extension. Allows specifying separate paths for the Excel file source and the CSV file destination.\\nNote that: This function assumes the active sheet is the one to be converted.\\nThe function should output with:\\n    str: The name of the created CSV file.\\nYou should write self-contained code starting with:\\n```\\nimport os\\nimport csv\\nfrom openpyxl import load_workbook\\ndef task_func(file_name, excel_file_path, csv_file_path) -> str:\\n```\",\"libs\":\"['csv', 'openpyxl', 'os']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}