{"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":"0d2d02e5-9c7c-58b6-9e62-35f04163342e","task_key":"default--v0~2e1~2e0~5fhf--0d2d02e5-9c7c-58b6-9e62-35f04163342e","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 0d2d02e5-9c7c-58b6-9e62-35f04163342e","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import json\\nimport hashlib\\nimport blake3\\ndef task_func(req_data):\\n\",\"complete_prompt\":\"import json\\nimport hashlib\\nimport blake3\\n\\ndef task_func(req_data):\\n    \\\"\\\"\\\"\\n    Hashes the specified request data with BLAKE3 and then converts it into a hexadecimal representation.\\n    Additionally, generates an MD5 hash of the BLAKE3 hash for demonstration purposes (not for security).\\n    BLAKE3 is a cryptographic hash function that is much faster than MD5 and SHA-1, while providing\\n    high security.\\n\\n    Parameters:\\n        req_data (dict): The request data to be hashed. It should be a dictionary.\\n\\n    Returns:\\n        tuple: \\n            - str: The hexadecimal representation of the BLAKE3 hash of the request data.\\n            - str: An MD5 hash of the hexadecimal BLAKE3 representation, for demonstration.\\n\\n    Requirements:\\n    - json\\n    - hashlib\\n    - blake3\\n\\n    Examples:\\n    >>> blake3_hash, md5_hash = task_func({'key': 'value'})\\n    >>> isinstance(blake3_hash, str) and len(blake3_hash) == 64\\n    True\\n    >>> isinstance(md5_hash, str) and len(md5_hash) == 32\\n    True\\n    >>> task_func({'empty': ''})[0] != task_func({'another': 'data'})[0]\\n    True\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Hashes the specified request data with BLAKE3 and then converts it into a hexadecimal representation. Additionally, generates an MD5 hash of the BLAKE3 hash for demonstration purposes (not for security). BLAKE3 is a cryptographic hash function that is much faster than MD5 and SHA-1, while providing high security.\\nThe function should output with:\\n    tuple:\\n    str: The hexadecimal representation of the BLAKE3 hash of the request data.\\n    str: An MD5 hash of the hexadecimal BLAKE3 representation, for demonstration.\\nYou should write self-contained code starting with:\\n```\\nimport json\\nimport hashlib\\nimport blake3\\ndef task_func(req_data):\\n```\",\"libs\":\"['hashlib', 'blake3', 'json']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}