{"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":"noindex","profile":{"resources":[],"task_format":"","scoring":"","metric":"","size":"","answer_access":"","license":"","citation":"","maintainer":"","released":"","why_hard":"","related":[]}},"task_id":"75913fe0-9ae0-5108-9bb3-eb678432fc17","task_key":"default--v0~2e1~2e0~5fhf--75913fe0-9ae0-5108-9bb3-eb678432fc17","task_revision_id":"2","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 75913fe0-9ae0-5108-9bb3-eb678432fc17","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import json\\nfrom datetime import datetime\\ndef task_func(json_data):\\n\",\"complete_prompt\":\"import json\\nfrom datetime import datetime\\n\\ndef task_func(json_data):\\n    \\\"\\\"\\\"\\n    Determine if the given datetime is a weekend.\\n\\n    Parameters:\\n    - json_data (str): JSON string containing the datetime in UTC format.\\n\\n    Returns:\\n    bool: True if the date is a weekend (Saturday or Sunday), False otherwise.\\n\\n    Note:\\n    - The datetime to be extracted is located in the 'utc_datetime' key in the JSON data.\\n\\n    Requirements:\\n    - json\\n    - datetime\\n\\n    Example:\\n    >>> json_data = '{\\\"utc_datetime\\\": \\\"2024-04-19T12:00:00\\\"}'\\n    >>> task_func(json_data)\\n    False\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Determine if the given datetime is a weekend.\\nNote that: The datetime to be extracted is located in the 'utc_datetime' key in the JSON data.\\nThe function should output with:\\n    bool: True if the date is a weekend (Saturday or Sunday), False otherwise.\\nYou should write self-contained code starting with:\\n```\\nimport json\\nfrom datetime import datetime\\ndef task_func(json_data):\\n```\",\"libs\":\"['datetime', 'json']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"noindex","subproblems":[],"grids":[]}