{"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":"a3620448-2995-5bb1-b62c-1ad7af14964a","task_key":"default--v0~2e1~2e0~5fhf--a3620448-2995-5bb1-b62c-1ad7af14964a","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf a3620448-2995-5bb1-b62c-1ad7af14964a","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import os\\nimport time\\nOUTPUT_DIR = './output'\\ndef task_func(dataset, filename, output_dir=OUTPUT_DIR):\\n\",\"complete_prompt\":\"import os\\nimport time\\nOUTPUT_DIR = './output'\\n\\n\\ndef task_func(dataset, filename, output_dir=OUTPUT_DIR):\\n    \\\"\\\"\\\"\\n    Writes multiple Pandas DataFrames to a single CSV file, separating each DataFrame by a line of hyphens (\\\"------\\\").\\n\\n    Parameters:\\n    - dataset (list of pd.DataFrame): A list containing the DataFrames to be written to the file.\\n    - filename (str): The name of the file (excluding the path) where the DataFrames will be written.\\n    - output_dir (str, optional): the ouput directory.\\n\\n    Returns:\\n    None: The function writes the DataFrames to a CSV file but does not return any value.\\n\\n    Requirements:\\n    - os\\n    - time\\n\\n    Example:\\n    >>> import pandas as pd\\n    >>> df1 = pd.DataFrame({\\\"A\\\": [1, 2], \\\"B\\\": [3, 4]})\\n    >>> df2 = pd.DataFrame({\\\"D\\\": [5, 6], \\\"E\\\": [7, 8]})\\n    >>> task_func([df1, df2], 'sample.csv')\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Writes multiple Pandas DataFrames to a single CSV file, separating each DataFrame by a line of hyphens (\\\"------\\\").\\nThe function should output with:\\n    None: The function writes the DataFrames to a CSV file but does not return any value.\\nYou should write self-contained code starting with:\\n```\\nimport os\\nimport time\\nOUTPUT_DIR = './output'\\ndef task_func(dataset, filename, output_dir=OUTPUT_DIR):\\n```\",\"libs\":\"['os', 'time']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}