{"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":"395b86c0-6e3e-51d9-ae98-4147c43f2317","task_key":"default--v0~2e1~2e0~5fhf--395b86c0-6e3e-51d9-ae98-4147c43f2317","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 395b86c0-6e3e-51d9-ae98-4147c43f2317","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import os\\nimport glob\\ndef task_func(directory_path):\\n\",\"complete_prompt\":\"import os\\nimport glob\\n\\ndef task_func(directory_path):\\n    \\\"\\\"\\\"\\n    Reverse the order of words in all the filenames of a directory, where words are separated by periods.\\n    \\n    Parameters:\\n    - directory_path (str): The path to the directory.\\n\\n    Returns:\\n    - new_filenames (list[str]): A list of new filenames after renaming.\\n\\n    Requirements:\\n    - os\\n    - glob\\n\\n    Example:\\n    Given filenames in directory: [\\\"hello.world.txt\\\", \\\"sample.data.csv\\\"]\\n    >>> task_func('/path/to/directory')\\n    [\\\"txt.world.hello\\\", \\\"csv.data.sample\\\"]\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Reverse the order of words in all the filenames of a directory, where words are separated by periods.\\nThe function should output with:\\n    new_filenames (list[str]): A list of new filenames after renaming.\\nYou should write self-contained code starting with:\\n```\\nimport os\\nimport glob\\ndef task_func(directory_path):\\n```\",\"libs\":\"['glob', 'os']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}