{"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":"a6ee06d7-ddf5-58e8-bcdf-b9c8093a8f72","task_key":"default--v0~2e1~2e0~5fhf--a6ee06d7-ddf5-58e8-bcdf-b9c8093a8f72","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf a6ee06d7-ddf5-58e8-bcdf-b9c8093a8f72","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import binascii\\nimport io\\nimport gzip\\ndef task_func(compressed_hex):\\n\",\"complete_prompt\":\"import binascii\\nimport io\\nimport gzip\\n\\ndef task_func(compressed_hex):\\n    \\\"\\\"\\\"\\n    Uncompress a gzip-compressed hexadecimal string and decrypt the result to UTF-8.\\n    \\n    Parameters:\\n    - compressed_hex (str): The gzip-compressed hexadecimal string.\\n    \\n    Returns:\\n    - decoded_string (str): The decoded and decompressed string in UTF-8 format, or an error message.\\n    \\n    Requirements:\\n    - binascii\\n    - io\\n    - gzip\\n    \\n    Example:\\n    >>> task_func('1f8b08000000000002ff0b49494e55560304000000ffff8b202d0b000000')\\n    'Error during decompression: CRC check failed 0xff000000 != 0x41449975'\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Uncompress a gzip-compressed hexadecimal string and decrypt the result to UTF-8.\\nThe function should output with:\\n    decoded_string (str): The decoded and decompressed string in UTF-8 format, or an error message.\\nYou should write self-contained code starting with:\\n```\\nimport binascii\\nimport io\\nimport gzip\\ndef task_func(compressed_hex):\\n```\",\"libs\":\"['io', 'gzip', 'binascii']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}