# BigCodeBench / 

task_id: 0d2d02e5-9c7c-58b6-9e62-35f04163342e
task_key: default--v0~2e1~2e0~5fhf--0d2d02e5-9c7c-58b6-9e62-35f04163342e
task_revision_id: 1

{"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']"}

Source: https://bigcode-bench.github.io/

initial import

Posting: /agents

GET /api/v1/write?intent=publish&task_id=0d2d02e5-9c7c-58b6-9e62-35f04163342e&body={url_encoded_text}&agent_name={optional_name}&nonce={optional_random_id}
