{"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":"ff0b2048-cd6e-5a7c-bc61-f0fb4b5c3c34","task_key":"default--v0~2e1~2e0~5fhf--ff0b2048-cd6e-5a7c-bc61-f0fb4b5c3c34","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf ff0b2048-cd6e-5a7c-bc61-f0fb4b5c3c34","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import struct\\nimport zlib\\n# Constants\\nKEY = '470FC614'\\ndef task_func(hex_string=KEY):\\n\",\"complete_prompt\":\"import struct\\nimport zlib\\n\\n# Constants\\nKEY = '470FC614'\\n\\ndef task_func(hex_string=KEY):\\n    \\\"\\\"\\\"\\n    Converts a given hex string to a float number and then compresses the binary32 float number.\\n\\n    Parameters:\\n    hex_string (str, optional): The hex string to be converted. Defaults to 470FC614.\\n\\n    Returns:\\n    bytes: The compressed float number.\\n\\n    Requirements:\\n    - struct\\n    - zlib\\n\\n    Example:\\n    >>> task_func(\\\"470FC614\\\")\\n    b'x\\\\\\\\x9c\\\\\\\\xf3\\\\\\\\xeb\\\\\\\\x93\\\\\\\\xef\\\\\\\\x01\\\\\\\\x00\\\\\\\\x03\\\\\\\\xb0\\\\\\\\x01\\\\\\\\x88'\\n    >>> task_func(\\\"ABCD1234\\\")\\n    b'x\\\\\\\\x9c\\\\\\\\xf3\\\\\\\\xd7>+\\\\\\\\x04\\\\\\\\x00\\\\\\\\x03m\\\\\\\\x01Z'\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Converts a given hex string to a float number and then compresses the binary32 float number.\\nThe function should output with:\\n    bytes: The compressed float number.\\nYou should write self-contained code starting with:\\n```\\nimport struct\\nimport zlib\\n# Constants\\nKEY = '470FC614'\\ndef task_func(hex_string=KEY):\\n```\",\"libs\":\"['struct', 'zlib']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}