{"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":"2ff004fd-6c42-5c20-ac4a-639ef42cfd05","task_key":"default--v0~2e1~2e0~5fhf--2ff004fd-6c42-5c20-ac4a-639ef42cfd05","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 2ff004fd-6c42-5c20-ac4a-639ef42cfd05","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import subprocess\\nimport os\\nimport sys\\nimport glob\\ndef task_func(directory_path):\\n\",\"complete_prompt\":\"import subprocess\\nimport os\\nimport sys\\nimport glob\\n\\ndef task_func(directory_path):\\n    \\\"\\\"\\\"\\n    Find and run all .bat files in a given directory, returning their file names and exit codes.\\n\\n    Parameters:\\n    directory_path (str): The path of the directory to search for .bat files.\\n\\n    Returns:\\n    list of tuples: A list where each tuple contains the file name and its exit code. \\n                    The exit code is None if the file could not be executed.\\n\\n    Requirements:\\n    - subprocess\\n    - os\\n    - sys\\n    - glob\\n\\n    Example:\\n    >>> task_func(\\\"path/to/directory\\\")\\n    [(\\\"file1.bat\\\", 0), (\\\"file2.bat\\\", 1)]\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Find and run all .bat files in a given directory, returning their file names and exit codes.\\nThe function should output with:\\n    list of tuples: A list where each tuple contains the file name and its exit code.\\n    The exit code is None if the file could not be executed.\\nYou should write self-contained code starting with:\\n```\\nimport subprocess\\nimport os\\nimport sys\\nimport glob\\ndef task_func(directory_path):\\n```\",\"libs\":\"['glob', 'subprocess', 'os', 'sys']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}