{"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":"cfb6a37a-5976-5ce9-8a47-4747e9068df5","task_key":"default--v0~2e1~2e0~5fhf--cfb6a37a-5976-5ce9-8a47-4747e9068df5","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf cfb6a37a-5976-5ce9-8a47-4747e9068df5","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import os\\nfrom datetime import datetime\\ndef task_func(filepath: str) -> dict:\\n\",\"complete_prompt\":\"import os\\nfrom datetime import datetime\\n\\ndef task_func(filepath: str) -> dict:\\n    \\\"\\\"\\\"\\n    Determine the size and date of the last modification of a file.\\n\\n    Parameters:\\n    - filepath (str): The path to the file.\\n\\n    Returns:\\n    - dict: A dictionary containing the size (in bytes) and last modification \\n          date of the file in the format '%Y-%m-%d %H:%M:%S'.\\n\\n    Requirements:\\n    - os\\n    - datetime\\n\\n    Example:\\n    >>> task_func('/path/to/file.txt')\\n    {'size': '1024 bytes', 'last_modified': '2022-01-01 12:30:45'}\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Determine the size and date of the last modification of a file.\\nThe function should output with:\\n    dict: A dictionary containing the size (in bytes) and last modification\\n    date of the file in the format '%Y-%m-%d %H:%M:%S'.\\nYou should write self-contained code starting with:\\n```\\nimport os\\nfrom datetime import datetime\\ndef task_func(filepath: str) -> dict:\\n```\",\"libs\":\"['datetime', 'os']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}