{"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":"b3a525b6-067b-5ad5-88e6-72b79cb9d85f","task_key":"default--v0~2e1~2e0~5fhf--b3a525b6-067b-5ad5-88e6-72b79cb9d85f","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf b3a525b6-067b-5ad5-88e6-72b79cb9d85f","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"from datetime import datetime\\nimport pytz\\n# Constants\\nDATE_FORMAT = '%Y-%m-%d %H:%M:%S'\\ndef task_func(unix_timestamp, target_timezone):\\n\",\"complete_prompt\":\"from datetime import datetime\\nimport pytz\\n\\n# Constants\\nDATE_FORMAT = '%Y-%m-%d %H:%M:%S'\\n\\n\\ndef task_func(unix_timestamp, target_timezone):\\n    \\\"\\\"\\\"\\n    Converts a Unix timestamp to a formatted date and time string in a specified timezone.\\n\\n    Parameters:\\n    unix_timestamp (int): The Unix timestamp representing the number of seconds since the Unix Epoch (January 1, 1970, 00:00:00 UTC).\\n    target_timezone (str): The string identifier of the target timezone (e.g., 'America/New_York').\\n\\n    Returns:\\n    str: A string representing the date and time in the target timezone, formatted as '%Y-%m-%d %H:%M:%S'.\\n\\n    Requirements:\\n    - datetime.datetime\\n    - pytz\\n\\n    Example:\\n    >>> unix_timestamp = 1609459200\\n    >>> target_timezone = 'America/New_York'\\n    >>> task_func(unix_timestamp, target_timezone)\\n    '2020-12-31 19:00:00'\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Converts a Unix timestamp to a formatted date and time string in a specified timezone.\\nThe function should output with:\\n    str: A string representing the date and time in the target timezone, formatted as '%Y-%m-%d %H:%M:%S'.\\nYou should write self-contained code starting with:\\n```\\nfrom datetime import datetime\\nimport pytz\\n# Constants\\nDATE_FORMAT = '%Y-%m-%d %H:%M:%S'\\ndef task_func(unix_timestamp, target_timezone):\\n```\",\"libs\":\"['pytz', 'datetime']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}